-
Notifications
You must be signed in to change notification settings - Fork 4
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
no ingress, nodePort network access between two deployments running on the same provider #1
Comments
Hairpinning might be a solution here as @chainzero mentioned. Update: Additional interesting point on what hairpin was meant to solve for K8s. Couple of interesting refs on CNI plugin disabling the hairpin traffic: Update 2:
|
ingress accessThis network policy is likely what breaks the communication:
Now that this netpol makes it secure when it comes to the pods deployed within different namespace (you don't want someone poking your internal app's ports from his deployment), the only feasible solution I see would be allowing the ingress communication by permitting the ingress-nginx:
Quick patch:
|
I was unable to reproduce either the The For now, I will close this issue until it can be clearly reproduced under standard networking conditions without any special provider configurations that might contribute to the problem. Regarding the Alternatively, this issue could also be linked to the following Calico bug, which was fixed in version
This fix is not included in Kubespray v2.24.2 but only gets introduced in Kubespray v2.25.0. For the future referenceNext time test two different network layouts when looking at this issue / network policy:
kube-proxy is configured in |
It appears that Akash deployment network policy blocks the ingress & nodePort access between two deployments running on the same provider.
They are accessible when deployments running on different providers.
ingress & nodePorts (
global: true
) are expected to be open even when deployments are running on the same provider.The text was updated successfully, but these errors were encountered: