How to access the cluster IP from one pod to another pod in aws EKS

1/17/2020

I am new to AWS EKS and k8s. I am trying to implement the hyperledger network into aws eks. however into that I need to connect pods each other. When I am trying to ping from one pod to another one its not working.

Pods specification: AWS EKS cluster with 2 worker node and pods are in LInux.

How to ping from one pod clusterIP to another one?

-- Abhirock
aws-eks
kubernetes

1 Answer

1/17/2020

Kubernetes service IPs are virtual IPs. You cannot ping to kubernetes service IPs as there is no endpoint for the IP that can reply to the ICMP ping message. You can only connect to one of the backing pods of the service with ip:port combination.

-- Shashank V
Source: StackOverflow