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
DSR mode is not working with Rocky / RHEL 9 if using kube-router v2.2.0 and v2.2.1.
In the kube-router logs: E1020 08:05:55.567390 372833 service_endpoints_sync.go:60] Error setting up IPVS services for service external IP's and load balancer IP's: failed to setup DSR endpoint 30.0.0.1: unable to setup DSR receiver inside pod: failed to prepare endpoint 192.168.6.78 to do DSR due to: rpc error: code = Unavailable desc = name resolver error: produced zero addresses
DSR is working successfully with kube-router v2.1.3 with Rocky Linux 9.4. Error above occurs with kube-router v2.2.0 and v2.2.1. I believe a change between kube-router v2.1.3 and v2.2.0 created this incompatibility for DSR. I also tested DSR with Ubuntu 24.04 & kube-router v2.2.x in the same cluster and it does not have such issue.
What did you expect to happen?
DSR mode enabled without errors for RHEL and its clones.
How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:
Install kubeadm k8s cluster without kube-proxy and with cri-o runtime.
This appears to have happened when we switch grpc implementations from grpc.DialContext() to grpc.NewClient(). This fundamentally changed the resolver from the passthrough resolver to the dns resolver.
What happened?
DSR mode is not working with Rocky / RHEL 9 if using kube-router v2.2.0 and v2.2.1.
In the kube-router logs:
E1020 08:05:55.567390 372833 service_endpoints_sync.go:60] Error setting up IPVS services for service external IP's and load balancer IP's: failed to setup DSR endpoint 30.0.0.1: unable to setup DSR receiver inside pod: failed to prepare endpoint 192.168.6.78 to do DSR due to: rpc error: code = Unavailable desc = name resolver error: produced zero addresses
DSR is working successfully with kube-router v2.1.3 with Rocky Linux 9.4. Error above occurs with kube-router v2.2.0 and v2.2.1. I believe a change between kube-router v2.1.3 and v2.2.0 created this incompatibility for DSR. I also tested DSR with Ubuntu 24.04 & kube-router v2.2.x in the same cluster and it does not have such issue.
What did you expect to happen?
DSR mode enabled without errors for RHEL and its clones.
How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:
--runtime-endpoint=unix:///run/crio/crio.sock
/var/run/docker.sock
with/run/crio/crio.sock
in volumeMounts and volumes configurationreplace with:
System Information (please complete the following information)
kube-router --version
): v2.2.0 and v2.2.1kubectl version
) : k8s: v1.31.1, CRI-O: 1.31.1The text was updated successfully, but these errors were encountered: