Thank you Sharma .
The post help to find the
/var/vcap/packages/kubernetes/bin/kubectl get all --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system pod/coredns-95489c5c9-2k9lx 0/1 ContainerCreating 0 31m
kube-system pod/coredns-95489c5c9-2s5pd 1/1 Running 0 31m
kube-system pod/coredns-95489c5c9-jfk4m 1/1 Running 0 31m
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default service/kubernetes ClusterIP 172.30.161.1 <none> 443/TCP 60m
kube-system service/kube-dns ClusterIP 172.30.161.2 <none> 53/UDP,53/TCP 31m
NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE
kube-system deployment.apps/coredns 2/3 3 2 31m
NAMESPACE NAME DESIRED CURRENT READY AGE
kube-system replicaset.apps/coredns-95489c5c9 3 3 2 31m
/var/vcap/packages/kubernetes/bin/kubectl describe pod coredns-95489c5c9-2k9lx -n kube-system
Name: coredns-95489c5c9-2k9lx
Namespace: kube-system
Priority: 2000000000
PriorityClassName: system-cluster-critical
Node: 4af86293-823e-44b9-b8a3-f1ad640d655b/172.11.1.5
Start Time: Thu, 03 Oct 2019 09:38:35 +0000
Labels: k8s-app=kube-dns
pod-template-hash=95489c5c9
Annotations: seccomp.security.alpha.kubernetes.io/pod: docker/default
Status: Pending
IP:
Controlled By: ReplicaSet/coredns-95489c5c9
Containers:
coredns:
Container ID:
Image: vmware/coredns:1.3.1
Image ID:
Ports: 53/UDP, 53/TCP, 9153/TCP
Host Ports: 0/UDP, 0/TCP, 0/TCP
Args:
-conf
/etc/coredns/Corefile
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Limits:
memory: 170Mi
Requests:
cpu: 100m
memory: 70Mi
Liveness: http-get http://:8080/health delay=60s timeout=5s period=10s #success=1 #failure=5
Environment: <none>
Mounts:
/etc/coredns from config-volume (ro)
/var/run/secrets/kubernetes.io/serviceaccount from coredns-token-mx9mx (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
config-volume:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: coredns
Optional: false
coredns-token-mx9mx:
Type: Secret (a volume populated by a Secret)
SecretName: coredns-token-mx9mx
Optional: false
QoS Class: Burstable
Node-Selectors: <none>
Tolerations: CriticalAddonsOnly
node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 32m default-scheduler Successfully assigned kube-system/coredns-95489c5c9-2k9lx to 4af86293-823e-44b9-b8a3-f1ad640d655b
Warning FailedCreatePodSandBox 16s (x8 over 28m) kubelet, 4af86293-823e-44b9-b8a3-f1ad640d655b Failed create pod sandbox: rpc error: code = DeadlineExceeded desc = context deadline exceeded
Normal SandboxChanged 16s (x8 over 28m) kubelet, 4af86293-823e-44b9-b8a3-f1ad640d655b Pod sandbox changed, it will be killed and re-created.