Kubernetes 101 : Troubleshooting kubernetes services
Services don't use the "ICMP" protocol, that the "ping" command uses.
To be able to troubleshoot services, we use tools that work with the applications they "represent".
If we have "nginx" pods for example, we could use the "telnet" or "netcat" programs for example as shown below:
Remark:
We get the service-ip and the port-number from the above command "kubectl get svc".
Comments