skip to content
Alvin Lucillo

Check search domains

/ 1 min read

To see the search domains that you can use to resolve pods and services in the cluster, shell into a pod and look for /etc/resolv.conf values.

k exec po/po1 -it -- cat /etc/resolv.conf

You’ll see domains such as cluster.local.