Advertisement
Guest User

KongIngress

a guest
Mar 7th, 2019
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.04 KB | None | 0 0
  1. apiVersion: configuration.konghq.com/v1
  2. kind: KongIngress
  3. metadata:
  4.   name: kong-custom-ingress
  5. upstream:
  6.   hash_on: none
  7.   hash_fallback: none
  8.   healthchecks:
  9.     active:
  10.       concurrency: 10
  11.       healthy:
  12.         http_statuses:
  13.        - 200
  14.         - 302
  15.         interval: 0
  16.         successes: 0
  17.       http_path: "/"
  18.       timeout: 1
  19.       unhealthy:
  20.         http_failures: 0
  21.         http_statuses:
  22.        - 429
  23.         interval: 0
  24.         tcp_failures: 0
  25.         timeouts: 0
  26.     passive:
  27.       healthy:
  28.         http_statuses:
  29.        - 200
  30.         successes: 0
  31.       unhealthy:
  32.         http_failures: 0
  33.         http_statuses:
  34.        - 429
  35.         - 503
  36.         tcp_failures: 0
  37.         timeouts: 0
  38.     slots: 10
  39. proxy:
  40.   protocol: https
  41.   path: /
  42.   connect_timeout: 10000
  43.   retries: 10
  44.   read_timeout: 10000
  45.   write_timeout: 10000
  46. route:
  47.   methods:
  48.  - POST
  49.   - PUT
  50.   - DELETE
  51.   - PATCH
  52.   - GET
  53.   - OPTIONS
  54.   regex_priority: 0
  55.   strip_path: true
  56.   preserve_host: true
  57.   protocols:
  58.  - http
  59.   - https
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement