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