Interview Prep/Kubernetes/Services, DNS, Ingress and NetworkPolicy

The Ingress shows an empty `ADDRESS` column and DNS automation never creates the record.

IntermediateTroubleshootingServices, DNS, Ingress and NetworkPolicy
Answer

Likely causes → No controller has reconciled the Ingress: wrong IngressClass, controller not installed, or the controller's own LoadBalancer Service is stuck Pending, so it has no address to publish.

Diagnose →

kubectl get ingress -A
kubectl get svc -n ingress-nginx ingress-nginx-controller
kubectl describe ingress shop -n shop | sed -n '/Events/,$p'

Fix → Install or fix the controller and its LoadBalancer Service; set the correct ingressClassName. external-dns creates the record once the status address is set.

Prevent → Cluster bootstrap test that creates a dummy Ingress and waits for an address.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Services, DNS, Ingress and NetworkPolicy