-
Notifications
You must be signed in to change notification settings - Fork 324
container to container communication through service #2056
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
Comments
Hi elkh510, AKS bot here 👋 I might be just a bot, but I'm told my suggestions are normally quite good, as such:
|
Triage required from @Azure/aks-pm |
Action required from @Azure/aks-pm |
Hi @elkh510 , If this is still happening can you confirm that name resolution is working for the service (assuming you're not using svc ip) and that iptables rules are correctly translating service to pod?
|
hi @joaguas
yes
|
Hi @elkh510 Based on your pod ip I assume this is a kubenet cluster? Do you know how old the cluster is? There was a typo we fixed and rolled out in early Jan that was preventing proper network hairpinning. Check /etc/cni/net.d/10-containerd.conflist. If the typo is there (promisMode, should be promiscMode) then you can do a node image upgrade to pick up the latest image with the fix. |
hi @eriksywu |
closing since the fix is rolled out |
to clarify - this is not related to kubernetes/kubernetes#94754 |
What happened:
if we have a pod that has two containers (like a client and a server) and the client tries to connect to the server through the service, the client will get an error and won't be able to connect. if the client tries to connect to the server via localhost, everything works as expected.
the bug has been reproduced on aks v1.19.3.
on aks v1.18.10 the error is not reproducible
What you expected to happen:
if we have a pod that has two containers (like a client and a server) and the client tries to connect to the server through the service, the client can success connect to server.
How to reproduce it (as minimally and precisely as possible):
deploy test deployment. can be found at this link
from client try to curl(telnet) server via service
Anything else we need to know?:
maybe related to
kubernetes/kubernetes#94754
kubernetes/kubernetes#95409
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.4/+bug/1899690
Environment:
The text was updated successfully, but these errors were encountered: