I had build a cluster to two machines, one master and one minion. Now I had pulled two containers and are working fine. Now I accessed one container and tried to ping the other container IP but the ping command is not supported in the container. I want to add the ping into the container.
Kindly help me out
Regards,
Jason
If you're okay with the ICMP flowing next to your production container, add that helper container as a sidecar.
Finally, if you really need to ping from the IP address of your production container, you'll have to make sure it exists inside the container one way or another. Either build a new image to add the tool, or (given your container is based off of some Linux distribution) execute apt-get or similar package management command to install ping directly inside the container. The latter will taint your container though until it dies.
These days, it's often easier to fire off an HTTP request (such as through curl), so maybe that's another option for you.
--
You received this message because you are subscribed to a topic in the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubernetes-users/FhK6B_E8npc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.