blob: 578f07c2e710452ec1ff4ea55e4bdd143fa221a1 [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"
Martin Polreichf7ff4752019-10-14 13:13:41 +020013 timeout:
14 connect: 5000ms
15 client: 50000ms
16 server: 50000ms
Jakub Pavlikffb8d482016-01-25 23:06:01 +010017 listen:
Dzmitry Stremkouski9510dcf2018-10-25 17:48:20 +020018 glance_registry:
19 binds:
20 - address: 192.168.2.11
21 port: 9191
22 ssl:
23 enabled: true
24 pem_file: /etc/haproxy/ssl/all.pem
25 http_request:
26 - action: set-header X-Forwarded-Proto https
27 mode: http
28 options:
29 - httpchk GET /
30 - httplog
31 - httpclose
32 servers:
33 - host: 127.0.0.1
34 name: ctl01
35 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
36 port: 9191
Jakub Pavlikffb8d482016-01-25 23:06:01 +010037 glance_api:
38 type: openstack-service
stelucz01752fe2018-01-26 12:39:23 +010039 bind_process: "1 2 3 4"
Jakub Pavlikffb8d482016-01-25 23:06:01 +010040 binds:
41 - address: 127.0.0.1
42 port: 9292
43 servers:
44 - name: ctl01
45 host: 127.0.0.1
46 port: 9292
47 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
48 - name: ctl02
49 host: 127.0.0.1
50 port: 9292
51 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
52 - name: ctl03
53 host: 127.0.0.1
54 port: 9292
Dennis Dmitriev3a1cbfa2017-07-06 21:07:27 +030055 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
56
57# For haproxy/meta/sensu.yml
58linux:
59 network:
60 fqdn: linux.ci.local