The installation is based on k3s on a bare metal debian instance.
export INSTALL_K3S_VERSION=v1.18.8+k3s1; curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --disable traefik" sh
The installation of kong ingress was done according to the file https://bit.ly/k4k8s with a few adoptions:
spec: containers: - env: - name: KONG_TRUSTED_IPS value: 0.0.0.0/0,::/0 - name: KONG_REAL_IP_RECURSIVE value: "on"
I deployed the echo service and configured a route accordingly. However, the ip address is still not the external one.
Also the variable “kong.client.get_forwarded_ip()” is 10.42.0.1 in the serverless function context.
What did I miss here? I haven’t found more information on that topic. Any help is appreciated, as knowing the ip is crutial for the application due to geolocation features (currencies, etc.).