Skip to content

Instantly share code, notes, and snippets.

@krx252525
Created August 29, 2017 16:27
Show Gist options
  • Save krx252525/30981cd32ad46990aa76f662571d3a10 to your computer and use it in GitHub Desktop.
Save krx252525/30981cd32ad46990aa76f662571d3a10 to your computer and use it in GitHub Desktop.
kubectl describe pods --namespace kube-system kube-dns-v19-2510715403-76tn3
Name: kube-dns-v19-2510715403-76tn3
Namespace: kube-system
Node: ip-xx-xx-xx-x.ec2.internal/xx.xx.xx.xx
Start Time: Mon, 14 Aug 2017 09:25:46 +0100
Labels: k8s-app=kube-dns
kubernetes.io/cluster-service=true
pod-template-hash=2510715403
version=v19
Status: Running
IP: 10.2.58.93
Controllers: ReplicaSet/kube-dns-v19-2510715403
Containers:
kubedns:
Container ID: docker://919d5c5bc99a817284ecf35afdc08f1dc36a06834bf02f78f531cb48e448f243
Image: gcr.io/google_containers/kubedns-amd64:1.9
Image ID: docker-pullable://gcr.io/google_containers/kubedns-amd64@sha256:3d3d67f519300af646e00adcf860b2f380d35ed4364e550d74002dadace20ead
Ports: 10053/UDP, 10053/TCP, 10055/TCP
Args:
--dns-port=10053
--domain=cluster.local.
Limits:
memory: 170Mi
Requests:
cpu: 100m
memory: 70Mi
State: Running
Started: Mon, 14 Aug 2017 09:25:49 +0100
Ready: True
Restart Count: 0
Liveness: http-get http://:8080/healthz-kubedns delay=60s timeout=5s period=10s #success=1 #failure=5
Readiness: http-get http://:8081/readiness delay=3s timeout=5s period=10s #success=1 #failure=3
Volume Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-xk7bd (ro)
Environment Variables:
PROMETHEUS_PORT: 10055
dnsmasq:
Container ID: docker://cc70313ea405831e5c3fcc92f40d911afcebad308a07671611d42b462679c513
Image: gcr.io/google_containers/kube-dnsmasq-amd64:1.4
Image ID: docker-pullable://gcr.io/google_containers/kube-dnsmasq-amd64@sha256:a722df15c0cf87779aad8ba2468cf072dd208cb5d7cfcaedd90e66b3da9ea9d2
Ports: 53/UDP, 53/TCP
Args:
--cache-size=1000
--log-facility=-
--no-resolv
--server=127.0.0.1#10053
Requests:
cpu: 150m
memory: 10Mi
State: Running
Started: Mon, 14 Aug 2017 09:25:50 +0100
Ready: True
Restart Count: 0
Liveness: http-get http://:8080/healthz-dnsmasq delay=60s timeout=5s period=10s #success=1 #failure=5
Volume Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-xk7bd (ro)
Environment Variables: <none>
dnsmasq-metrics:
Container ID: docker://95ed3da1bdce3253d7bbf62f76e6203ffee86d3c65708a42c47c0f4945adfd4f
Image: gcr.io/google_containers/dnsmasq-metrics-amd64:1.0
Image ID: docker-pullable://gcr.io/google_containers/dnsmasq-metrics-amd64@sha256:4063e37fd9b2fd91b7cc5392ed32b30b9c8162c4c7ad2787624306fc133e80a9
Port: 10054/TCP
Args:
--logtostderr
--v=2
Requests:
memory: 10Mi
State: Running
Started: Mon, 14 Aug 2017 09:25:52 +0100
Ready: True
Restart Count: 0
Liveness: http-get http://:10054/metrics delay=60s timeout=5s period=10s #success=1 #failure=5
Volume Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-xk7bd (ro)
Environment Variables: <none>
healthz:
Container ID: docker://42d7b8d016b6f7142fa59afb90fa5f57a4141a629a466c18811209c82e7c705b
Image: gcr.io/google_containers/exechealthz-amd64:1.2
Image ID: docker-pullable://gcr.io/google_containers/exechealthz-amd64@sha256:503e158c3f65ed7399f54010571c7c977ade7fe59010695f48d9650d83488c0a
Port: 8080/TCP
Args:
--cmd=nslookup kubernetes.default.svc.cluster.local 127.0.0.1 >/dev/null
--cmd=nslookup kubernetes.default.svc.cluster.local 127.0.0.1:10053 >/dev/null
--port=8080
--quiet
--url=/healthz-dnsmasq
--url=/healthz-kubedns
Limits:
memory: 50Mi
Requests:
cpu: 10m
memory: 50Mi
State: Running
Started: Mon, 14 Aug 2017 09:25:53 +0100
Ready: True
Restart Count: 0
Volume Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-xk7bd (ro)
Environment Variables: <none>
Conditions:
Type Status
Initialized True
Ready True
PodScheduled True
Volumes:
default-token-xk7bd:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-xk7bd
QoS Class: Burstable
Tolerations: <none>
No events.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment