HTTP backend consistency
167-http-backend-consistency.yaml
Security
What this example does
HTTP backend consistency.
Checks and behavior
- Requires successful checks from both backends; not byte-for-byte response equality.
Replace example.com, documentation IPs, secrets and thresholds before production use.
YAML configuration
# Requires successful checks from both backends; not byte-for-byte response equality.
name: HTTP backend consistency
url: https://api.example.com/health
execution:
retries: 1
success_required: 2
backends:
- name: backend-a
resolve: {api.example.com: 192.0.2.10}
- name: backend-b
resolve: {api.example.com: 192.0.2.11}
tests:
status: {allow: [200]}
monitoring: {output: nagios, on_failure: critical}