Michel Nederlof | 14da709 | 2018-03-12 22:46:36 +0100 | [diff] [blame^] | 1 | haproxy: |
2 | proxy: | ||||
3 | enabled: true | ||||
4 | mode: tcp | ||||
5 | logging: syslog | ||||
6 | max_connections: 1024 | ||||
7 | listen: | ||||
8 | nova_metadata_api: | ||||
9 | binds: | ||||
10 | - address: 127.0.0.1 | ||||
11 | port: 8775 | ||||
12 | format: end | ||||
13 | options: | ||||
14 | - httpchk | ||||
15 | - httpclose | ||||
16 | - httplog | ||||
17 | rate_limit: | ||||
18 | duration: 900s | ||||
19 | enabled: true | ||||
20 | requests: 125 | ||||
21 | track: content | ||||
22 | servers: | ||||
23 | - host: 127.0.0.1 | ||||
24 | name: ctl01 | ||||
25 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 | ||||
26 | port: 8775 | ||||
27 | - host: 127.0.0.1 | ||||
28 | name: ctl02 | ||||
29 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 | ||||
30 | port: 8775 | ||||
31 | - host: 127.0.0.1 | ||||
32 | name: ctl03 | ||||
33 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 | ||||
34 | port: 8775 | ||||
35 | type: http | ||||
36 | |||||
37 | # For haproxy/meta/sensu.yml | ||||
38 | linux: | ||||
39 | network: | ||||
40 | fqdn: linux.ci.local |