...

/

Testing Peer Discovery

Testing Peer Discovery

Understand how DNS hostnames and DNS subdomains work with StatefulSets.

We know that pairing a headless Service with a StatefulSet creates DNS SRV records for each StatefulSet Pod that matches the Service’s label selector. We already have a headless Service and three StatefulSet Pods running, so we should have three DNS SRV records – one for each Pod.

How DNS hostnames subdomains work with StatefulSets

All Kubernetes objects get a name within the cluster address space. We can specify a custom address space when we build our ...