Service Discovery and Namespaces
Learn about Service discovery in the context of namespaces.
We'll cover the following...
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 (<object-name>.<namespace>.svc.cluster.local
. ...