Make pod DNS name resolvable in Kubernetes cluster
问题 Setup The pods of the deployment named frontend are exposed via a service named frontend. NAME READY STATUS RESTARTS AGE po/frontend-b48b88789-dcxs6 1/1 Running 0 2h NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE deploy/frontend 1 1 1 1 2h NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE svc/frontend ClusterIP 10.106.243.125 <none> 80/TCP 2h Problem Querying via busybox the DNS name for the service frontend returns the services ip address. Querying via busybox the DNS name for the pod frontend