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