maglev: healthchecker: transition-history: 5 # netns: dataplane # run probes inside a named network namespace healthchecks: http-check: type: http port: 80 params: path: / host: www.example.com response-code: "200-301" interval: 5s fast-interval: 1s timeout: 3s rise: 2 fall: 6 tcp-ssl-check: type: tcp port: 443 params: ssl: true server-name: www.example.com interval: 10s fast-interval: 1s timeout: 3s rise: 2 fall: 6 backends: web-1: address: 192.0.2.10 healthcheck: http-check web-2: address: 192.0.2.11 healthcheck: http-check web-3: address: 192.0.2.12 healthcheck: http-check frontends: http-vip: description: "HTTP VIP" address: 192.0.2.1 protocol: tcp port: 80 pools: - name: primary backends: web-1: { weight: 10 } web-2: {} - name: fallback backends: web-3: {}