Main Menu

Search

Friday, June 7, 2024

KUBERNETES - How Does Services in Kubernetes Naming Format Look Like?

In Kubernetes, services are assigned a DNS A record in the format of svc-name.service-namespace.svc.cluster.local. This name resolves to the cluster IP of the Service. 

For e.g. if you have a service named tomcatappsvc in tomcat-ns namespace, the service DNS name format would be tomcatappsvc.tomcat-ns.svc.cluster.local


No comments:

Post a Comment