Jakub Pavlik | ffb8d48 | 2016-01-25 23:06:01 +0100 | [diff] [blame] | 1 | haproxy: |
| 2 | proxy: |
| 3 | enabled: true |
stelucz | 01752fe | 2018-01-26 12:39:23 +0100 | [diff] [blame] | 4 | nbproc: 4 |
Oleg Gelbukh | b9bb39b | 2018-10-17 17:10:16 +0400 | [diff] [blame] | 5 | global: |
| 6 | maxconn: 99999 |
stelucz | 01752fe | 2018-01-26 12:39:23 +0100 | [diff] [blame] | 7 | cpu_map: |
| 8 | 1: 0 |
| 9 | 2: 1 |
| 10 | 3: 2 |
| 11 | 4: 3 |
| 12 | stats_bind_process: "1 2" |
Jakub Pavlik | ffb8d48 | 2016-01-25 23:06:01 +0100 | [diff] [blame] | 13 | listen: |
Dzmitry Stremkouski | 9510dcf | 2018-10-25 17:48:20 +0200 | [diff] [blame] | 14 | 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 Pavlik | ffb8d48 | 2016-01-25 23:06:01 +0100 | [diff] [blame] | 33 | glance_api: |
| 34 | type: openstack-service |
stelucz | 01752fe | 2018-01-26 12:39:23 +0100 | [diff] [blame] | 35 | bind_process: "1 2 3 4" |
Jakub Pavlik | ffb8d48 | 2016-01-25 23:06:01 +0100 | [diff] [blame] | 36 | 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 Dmitriev | 3a1cbfa | 2017-07-06 21:07:27 +0300 | [diff] [blame] | 51 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 |
| 52 | |
| 53 | # For haproxy/meta/sensu.yml |
| 54 | linux: |
| 55 | network: |
| 56 | fqdn: linux.ci.local |