kube-dns

From wikieduonline
Jump to navigation Jump to search

kubectl -n kube-system -l=k8s-app=kube-dns get pods
NAME                      READY   STATUS    RESTARTS   AGE
coredns-f47955f89-7ntw4   0/1     Pending   0          3h37m
coredns-f47955f89-sl79r   0/1     Pending   0          3h37m
kubectl -n kube-system -l=k8s-app=kube-dns get pods
NAME                      READY   STATUS    RESTARTS   AGE
coredns-f47955f89-d95dd   1/1     Running   0          45h
coredns-f47955f89-w746j   1/1     Running   0          45h
kubectl -n kube-system describe svc kube-dns
kubectl -n kube-system get endpoints kube-dns

Related[edit]

See also[edit]

  • https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
  • Advertising: