https://rancher.com/ logo
Title
m

mysterious-shoe-77682

08/30/2022, 4:04 PM
Im having trouble in an RKE cluster with a NodePort using
spec.externalTrafficPolicy
set to
Local
. I have the pod running on each node with a DaemonSet, and when
Local
is set, it seems all packets are dropped. Things work with
Cluster
, but the source IP is NATed, which we dont want. Any ideas as to where I should look first?
e

enough-xylophone-4568

08/31/2022, 6:34 PM
Mmh, it works on my side. I use it for my ingress controllers to preserve source IP
m

mysterious-shoe-77682

08/31/2022, 6:40 PM
If you dont mind sharing, what is your k8s version? Ive tried 1.21.7 and 1.22.4.
e

enough-xylophone-4568

08/31/2022, 6:41 PM
1.20.8, we'll move to 1.21.12 in the few next days
running RKE1, we use canal CNI
m

mysterious-shoe-77682

08/31/2022, 6:54 PM
Thanks. Canal here too.