Kong — IP Restriction plugin within kubernetes

curl -i https://example.com/foo
curl -i $PROXY_IP/foo
  1. Add externalTrafficPolicy: Local —within the manifest.
externalTrafficPolicy: Local
- name:  REAL_IP_HEADERvalue: X-Forwarded-For- name: KONG_TRUSTED_IPSvalue: 0.0.0.0/0,::/0- name: KONG_REAL_IP_RECURSIVEvalue: "on"

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Joshua Callis

Joshua Callis

Converted DevOps Engineer, Previously a Senior Software Engineer.