在kube-system命名空间下,可以查看到CoreDNS相关Pod: # kubectl -nkube-system get po -l k8s-app=kube-dns NAME READY STATUS RESTARTS AGE coredns-84f6584c85-5rmgq 1/1 Running 0 41h coredns-84f6584c85-rs4n6 1/1 Running 0 41h 作为集群内部DNS服务器,CoreDNS会将Service域名与Service的IP记录起来