Service IPs are virtual and can't be pinged.
When you create a service with a single port, a few iptables
rules get added to each cluster node. When processes running
inside pods on those nodes try to connect to the service IP and
port, the network packet's destination address is changed to the
IP of one of the pods (the destination port is also changed to the
service's target port).
That's why ping can't help you debug services. Try connecting to one of the pod's directly (instead going through the service). If you're able to connect to all the pods, connecting through the service IP should work, too. If not, double check you're connecting to the correct service port.
On 03. 03. 2017 22:06, Vignesh M.P.N. wrote: