Access service on kuberntes using hostname instead of ip Address Access service on kuberntes using hostname instead of ip Address kubernetes kubernetes

Access service on kuberntes using hostname instead of ip Address


If I understand your question correctly, You want to access your service from within your cluster via host name and not via IP ( Assuming service is of type NodePort). If yes have you considered looking up the Kubernetes documentation on DNS for Services and Pods?