You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed one different behavior when eBPF is enabled, when ippool natOutgoing set to false connection to kubernetes api through serviceIP starts timing out from pods wanting to use it, since there is no iptables rule sending service ip out to correct node.
How does this work in eBPF mode ?
I am forced to enable outgoing nat to solve this issue, is this a bug or expected behavior?
@ehsan310 Are your API servers on a different network,not reachable without MASQ or overlay?
since there is no iptables rule sending service ip out to correct node.
Destination IP is changed to whatever the service is translated to and then the packet is sent out. It must be routeable. It could be that kube-proxy does the MASQ on its own based on your cluster configuration, i.e. it knows that the traffic is leaving the pod network, and calico ebpf does not do it because it does not have that configuration - nat outgoing serves that purpose.
service ip is advertised via bgp and calico, there is no overlay network and I have a flat networking peered with ToR.
also kube-proxy is disable and DS is removed , all old iptable rules are also removed. so it's only calico handling the traffic.
Node to Node Mesh is also disabled.
that also make sense based on what you said , because we have separate mgmt and pod/service traffic network and k8s api is listening on mgmt network , so this is expected.
Noticed one different behavior when eBPF is enabled, when ippool natOutgoing set to false connection to kubernetes api through serviceIP starts timing out from pods wanting to use it, since there is no iptables rule sending service ip out to correct node.
How does this work in eBPF mode ?
I am forced to enable outgoing nat to solve this issue, is this a bug or expected behavior?
Originally posted by @ehsan310 in #8812 (comment)
The text was updated successfully, but these errors were encountered: