Martin Polreich | eef51a1 | 2019-04-17 11:31:01 +0200 | [diff] [blame] | 1 | haproxy: |
| 2 | proxy: |
| 3 | enabled: true |
Martin Polreich | eef51a1 | 2019-04-17 11:31:01 +0200 | [diff] [blame] | 4 | nbproc: 4 |
| 5 | global: |
| 6 | chroot: /var/lib/haproxy |
| 7 | daemon: true |
| 8 | gid: '' |
| 9 | group: haproxy |
| 10 | cpu-map: |
| 11 | - '1 9' |
| 12 | - '2 8' |
| 13 | log: |
| 14 | - '/dev/log local1' |
| 15 | - '/dev/log local2 notice' |
| 16 | log-send-hostname: '' |
| 17 | nbproc: 5 |
| 18 | pidfile: '/var/run/new.pid' |
| 19 | uid: '' |
| 20 | ulimit-n: 12 |
| 21 | user: 'haproxy' |
| 22 | stats: |
| 23 | - 'socket /var/run/new.sock mode 660 level admin' |
| 24 | - 'timeout 60s' |
| 25 | - 'bind-process 2 3' |
| 26 | - 'testing stat' |
| 27 | node: NodeName |
| 28 | description: Description |
| 29 | maxconn: 99999 |
| 30 | maxpipes: 1234 |
| 31 | noepoll: 2345 |
| 32 | nokqueue: 3456 |
| 33 | nopoll: 4567 |
| 34 | nosepoll: 5678 |
| 35 | nosplice: 6789 |
| 36 | spread-checks: 6 |
| 37 | tune_bufsize: 18000 |
| 38 | tune_chksize: 7890 |
| 39 | tune_maxaccept: 8901 |
| 40 | tune_maxpollevents: 9012 |
| 41 | tune_maxrewrite: 2048 |
| 42 | tune_rcvbuf_client: 1245 |
| 43 | tune_rcvbuf_server: 2356 |
| 44 | tune_sndbuf_client: 3467 |
| 45 | tune_sndbuf_server: 4578 |
| 46 | cpu_map: |
| 47 | 1: 0 |
| 48 | 2: 1 |
| 49 | 3: 2 |
| 50 | 4: 3 |
| 51 | stats_bind_process: "1 2" |
| 52 | |
| 53 | # For haproxy/meta/sensu.yml |
| 54 | linux: |
| 55 | network: |
| 56 | fqdn: linux.ci.local |