<p>I am using Kubernetes Service of type Cluster IP, which will expose a deployment. 
In my container I want to use the Service IP (cluster IP). Is there any way I can get the IP Address inside the Pod/container? </p>

<p>Is it possible to get the cluster IP from Service name?</p>

Karthik
<p>Yes, via the <a href="https://kubernetes.io/docs/concepts/services-networking/service/#discovering-services" rel="nofollow noreferrer">environment-level service discovery</a> mechanism. Note, however that any service that you want to access like this must be created <strong>before</strong> the pod itself has been launched, otherwise the environment variables are not populated.</p>
