thanks rata, i read this guide.
the problem is , my service is very well if i access it in the namespace dev.
everything been mentioned in this article is correct in my k8s.
If you try the links that @rata provided, and still can’t get it to work, then consider making a minimal example that you feel comfortable posting here. It should not have to be very big, I’m guessing.
yes, actually, my app has already serviced for my customer for about half a year.
i created a debug image recently , as a debug pod, want to access service in deferent namespaces for debug. unfortunately, this debug pod cannot access those services.
Have you got any Network Policies setup in your cluster that could be blocking the request?
The DNS service is reporting the right IP so that service is visible.
Also, how did you installed and are you using a network overlay (like calico, flannel, etc.) or using kubenet?
Please try that link and tell us more about your installation.
Also, if you create yet another NS, is that isolated from the other two? Can’t it connect to no pod in other NS and vice versa? (Just to understand if there is something special about that NS or if it happens with every NS)