New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cilium v1.15.4 network ping fails metallb's LoadBalancer, curl LoadBalancer can pass #32411
Comments
|
Is this the same as #14118 ? |
Interesting. I tried this with a regular ClusterIP SVC and ping fails the same while curl works:
UPD: Nevermind. TIL kubernetes services can’t be pinged. |
ping svcIP will not work with kube-proxy ipvs mode |
After changing the mode ipvs to iptables, ping also fails.
|
Is this a self-managed MetalLB installation, or the one installed as part of the Cilium BGP control plane? Either way, I would not expect pinging service IPs to work, ever. |
Is there an existing issue for this?
What happened?
[root@node1 metallb]# curl -I 172.27.0.7
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 08 May 2024 02:19:02 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/8.2.7
[root@node1 metallb]# ping 172.27.0.7
PING 172.27.0.7 (172.27.0.7) 56(84) bytes of data.
From 172.27.0.7 icmp_seq=1 Destination Port Unreachable
From 172.27.0.7 icmp_seq=2 Destination Port Unreachable
From 172.27.0.7 icmp_seq=3 Destination Port Unreachable
From 172.27.0.7 icmp_seq=4 Destination Port Unreachable
From 172.27.0.7 icmp_seq=5 Destination Port Unreachable
From 172.27.0.7 icmp_seq=6 Destination Port Unreachable
From 172.27.0.7 icmp_seq=7 Destination Port Unreachable
From 172.27.0.7 icmp_seq=8 Destination Port Unreachable
From 172.27.0.7 icmp_seq=9 Destination Port Unreachable
^C
--- 172.27.0.7 ping statistics ---
9 packets transmitted, 0 received, +9 errors, 100% packet loss, time 8225ms
[root@node1 metallb]# kubectl get svc -n nginx
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
nginx-service LoadBalancer 10.233.12.235 172.27.0.7 80:32022/TCP 16h
[root@node1 metallb]#
Cilium Version
v1.15.4
Kernel Version
[root@localhost ~]# cat /etc/redhat-release
Rocky Linux release 9.2 (Blue Onyx)
[root@localhost ~]# uname -r
5.14.0-284.11.1.el9_2.x86_64
Kubernetes Version
kubectl version:v1.29.4
Regression
No response
Sysdump
No response
Relevant log output
Anything else?
No response
Cilium Users Document
Code of Conduct
The text was updated successfully, but these errors were encountered: