This message was deleted.
# k3s
a
This message was deleted.
c
https://github.com/k3s-io/k3s/discussions/2997 Set the
externalTrafficPolicy: Local
on the traefik service
note that this just get the original IP in to traefik, from there you would need to read from the
X-Forwarded-For
or
X-Real-IP
header on the request. It is NOT possible to get the original IP on the packets that hit the service behind the ingress, as the connection is terminated by the ingress controller.
b
I can't figure out where to insert this line. I don't have traefik in the Services
c
you appear to be on the local cluster, which does not have traefik installed. You said you’re using traefik. are you sure about that?
you’re not supposed to put workloads on the local cluster. Did you want to provision a downstream k3s cluster?