Skip to content

Instantly share code, notes, and snippets.

@gerred
Created June 7, 2018 15:32
Show Gist options
  • Save gerred/7745b48b2b1782dec3129a36314ef46d to your computer and use it in GitHub Desktop.
Save gerred/7745b48b2b1782dec3129a36314ef46d to your computer and use it in GitHub Desktop.
apiVersion: configuration.konghq.com/v1
kind: KongIngress
metadata:
name: configuration-demo
upstream:
hash_on: none
hash_fallback: none
healthchecks:
active:
concurrency: 10
healthy:
http_statuses:
- 200
- 302
interval: 0
successes: 0
http_path: "/"
timeout: 1
unhealthy:
http_failures: 0
http_statuses:
- 429
interval: 0
tcp_failures: 0
timeouts: 0
passive:
healthy:
http_statuses:
- 200
successes: 0
unhealthy:
http_failures: 0
http_statuses:
- 429
- 503
tcp_failures: 0
timeouts: 0
slots: 10
proxy:
path: /
connect_timeout: 10000
retries: 10
read_timeout: 10000
write_timeout: 10000
route:
methods:
- POST
- GET
regex_priority: 0
strip_path: false
preserve_host: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment