blob: 8480b038cce9f74297fc7cf9c0ab2a7c81104c53 [file] [log] [blame]
Jakub Pavlikffb8d482016-01-25 23:06:01 +01001haproxy:
2 proxy:
3 enabled: true
4 mode: tcp
5 logging: syslog
6 max_connections: 1024
stelucz01752fe2018-01-26 12:39:23 +01007 nbproc: 4
Oleg Gelbukhb9bb39b2018-10-17 17:10:16 +04008 global:
9 maxconn: 99999
stelucz01752fe2018-01-26 12:39:23 +010010 cpu_map:
11 1: 0
12 2: 1
13 3: 2
14 4: 3
15 stats_bind_process: "1 2"
Jakub Pavlikffb8d482016-01-25 23:06:01 +010016 listen:
Dzmitry Stremkouski9510dcf2018-10-25 17:48:20 +020017 glance_registry:
18 binds:
19 - address: 192.168.2.11
20 port: 9191
21 ssl:
22 enabled: true
23 pem_file: /etc/haproxy/ssl/all.pem
24 http_request:
25 - action: set-header X-Forwarded-Proto https
26 mode: http
27 options:
28 - httpchk GET /
29 - httplog
30 - httpclose
31 servers:
32 - host: 127.0.0.1
33 name: ctl01
34 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
35 port: 9191
Jakub Pavlikffb8d482016-01-25 23:06:01 +010036 glance_api:
37 type: openstack-service
stelucz01752fe2018-01-26 12:39:23 +010038 bind_process: "1 2 3 4"
Jakub Pavlikffb8d482016-01-25 23:06:01 +010039 binds:
40 - address: 127.0.0.1
41 port: 9292
42 servers:
43 - name: ctl01
44 host: 127.0.0.1
45 port: 9292
46 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
47 - name: ctl02
48 host: 127.0.0.1
49 port: 9292
50 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
51 - name: ctl03
52 host: 127.0.0.1
53 port: 9292
Dennis Dmitriev3a1cbfa2017-07-06 21:07:27 +030054 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
55
56# For haproxy/meta/sensu.yml
57linux:
58 network:
59 fqdn: linux.ci.local