...

/

Service Discovery and Namespaces

Service Discovery and Namespaces

Learn about Service discovery in the context of namespaces.

Every Kubernetes object gets a name in the cluster address space, and we can partition the address space with Namespaces.

What is the cluster address space?

The cluster address space is a DNS domain that we usually call the cluster domain. On most clusters, it’s cluster.local, and object names have to be unique within it. For example, we can only have one Service called cer in the default Namespace, and it will be called cer.default.svc.cluster.local.

Long names like this are called fully qualified domain names (FQDNFQDN stands for Fully Qualified Domain Name, which is a complete domain name that specifies the exact location of a service or pod within the cluster. For example, for Services, the FQDN format is: service-name.namespace.svc.cluster.local), and the format is <object-name>.<namespace>.svc.cluster.local. ...

Access this course and 1400+ top-rated courses and projects.