blob: 7281769236778bf82e8df970e19e370fe2f04281 [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
8 cpu_map:
9 1: 0
10 2: 1
11 3: 2
12 4: 3
13 stats_bind_process: "1 2"
Jakub Pavlikffb8d482016-01-25 23:06:01 +010014 listen:
Dzmitry Stremkouski9510dcf2018-10-25 17:48:20 +020015 glance_registry:
16 binds:
17 - address: 192.168.2.11
18 port: 9191
19 ssl:
20 enabled: true
21 pem_file: /etc/haproxy/ssl/all.pem
22 http_request:
23 - action: set-header X-Forwarded-Proto https
24 mode: http
25 options:
26 - httpchk GET /
27 - httplog
28 - httpclose
29 servers:
30 - host: 127.0.0.1
31 name: ctl01
32 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
33 port: 9191
Jakub Pavlikffb8d482016-01-25 23:06:01 +010034 glance_api:
35 type: openstack-service
stelucz01752fe2018-01-26 12:39:23 +010036 bind_process: "1 2 3 4"
Jakub Pavlikffb8d482016-01-25 23:06:01 +010037 binds:
38 - address: 127.0.0.1
39 port: 9292
40 servers:
41 - name: ctl01
42 host: 127.0.0.1
43 port: 9292
44 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
45 - name: ctl02
46 host: 127.0.0.1
47 port: 9292
48 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
49 - name: ctl03
50 host: 127.0.0.1
51 port: 9292
Dennis Dmitriev3a1cbfa2017-07-06 21:07:27 +030052 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
53
54# For haproxy/meta/sensu.yml
55linux:
56 network:
57 fqdn: linux.ci.local