kube-dns
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
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]
dnsPolicy
[1]kubectl get events -A
:kube-system 9m44s Warning FailedMount pod/kube-dns-85df8994db-v8qdg MountVolume.SetUp failed for volume "kube-dns-config" : failed to sync configmap cache: timed out waiting for the condition
system:kube-dns
kubectl get endpoints -A
See also[edit]
kube-system:
kubectl get pods -n kube-system
, kube-dns, aws-nodekube-dns
,kube-system
Namespace- CoreDNS,
kube-dns
, Know how to configure and use CoreDNS,Corefile
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: