Skip to content

Instantly share code, notes, and snippets.

@mborsz
Created June 13, 2019 07:27
Show Gist options
  • Save mborsz/3020c369d4ca38803307b50539b1695d to your computer and use it in GitHub Desktop.
Save mborsz/3020c369d4ca38803307b50539b1695d to your computer and use it in GitHub Desktop.
$ kubectl describe pods -n kube-system coredns-5b969f4c88-hlccw
Name: coredns-5b969f4c88-hlccw
Namespace: kube-system
Priority: 2000000000
PriorityClassName: system-cluster-critical
Node: e2e-test-maciejborsz-minion-heapster/10.40.0.3
Start Time: Wed, 12 Jun 2019 12:20:04 +0200
Labels: k8s-app=kube-dns
pod-template-hash=5b969f4c88
Annotations: seccomp.security.alpha.kubernetes.io/pod: docker/default
Status: Running
IP: 10.64.1.136
Controlled By: ReplicaSet/coredns-5b969f4c88
Containers:
coredns:
Container ID: docker://e98193281c6ce625ca912337e26dfab9e8925e3ea153b7a8195535809575ea58
Image: k8s.gcr.io/coredns:1.3.1
Image ID: docker-pullable://k8s.gcr.io/coredns@sha256:02382353821b12c21b062c59184e227e001079bb13ebd01f9d3270ba0fcbf1e4
Ports: 53/UDP, 53/TCP, 9153/TCP
Host Ports: 0/UDP, 0/TCP, 0/TCP
Args:
-conf
/etc/coredns/Corefile
State: Running
Started: Wed, 12 Jun 2019 17:46:13 +0200
Last State: Terminated
Reason: OOMKilled
Exit Code: 137
Started: Wed, 12 Jun 2019 12:20:05 +0200
Finished: Wed, 12 Jun 2019 17:46:11 +0200
Ready: True
Restart Count: 1
Limits:
memory: 170Mi
Requests:
cpu: 100m
memory: 70Mi
Liveness: http-get http://:8080/health delay=60s timeout=5s period=10s #success=1 #failure=5
Readiness: http-get http://:8080/health delay=0s timeout=1s period=10s #success=1 #failure=3
Environment: <none>
Mounts:
/etc/coredns from config-volume (ro)
/var/run/secrets/kubernetes.io/serviceaccount from coredns-token-6nhhc (ro)
Conditions:
Type Status
Initialized True
Ready True
ContainersReady True
PodScheduled True
Volumes:
config-volume:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: coredns
Optional: false
coredns-token-6nhhc:
Type: Secret (a volume populated by a Secret)
SecretName: coredns-token-6nhhc
Optional: false
QoS Class: Burstable
Node-Selectors: beta.kubernetes.io/os=linux
Tolerations: CriticalAddonsOnly
node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events: <none>
$ kubectl logs -n kube-system coredns-5b969f4c88-hlccw -p
.:53
2019-06-12T10:20:05.941Z [INFO] CoreDNS-1.3.1
2019-06-12T10:20:05.941Z [INFO] linux/amd64, go1.11.4, 6b56a9c
CoreDNS-1.3.1
linux/amd64, go1.11.4, 6b56a9c
2019-06-12T10:20:05.942Z [INFO] plugin/reload: Running configuration MD5 = 983e0715b6345402acc1b47b2543ece7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment