'preserving source ip in kubernetes external traffic policy cluster
I have one master and three worker nodes in my k8s setup which uses externalTrafficPolicy: Cluster and type: NodePort so that external packet coming on master node can be forward to destination pod irrespective of node. But in this case, I loose source IP due to SNAT. Is there a way to preserve the source IP till the packet reaches to its destination pod. I do not want to use load balancer in my setup. Is there any option in kube-proxy to achieve this? Or any other workaround?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
