Skip to content

Instantly share code, notes, and snippets.

@enisoc
Last active December 2, 2016 20:37
Show Gist options
  • Save enisoc/5cc11b467e9e6b68ce09f1d6e23d8961 to your computer and use it in GitHub Desktop.
Save enisoc/5cc11b467e9e6b68ce09f1d6e23d8961 to your computer and use it in GitHub Desktop.
kubectl describe pod web-2
Name: web-2
Namespace: default
Node: kubernetes-minion-group-yl0d/10.128.0.5
Start Time: Fri, 02 Dec 2016 11:53:58 -0800
Labels: app=nginx
Status: Running
IP: 10.244.8.5
Controllers: StatefulSet/web
Containers:
nginx:
Container ID: docker://124ff292444dae1e0ea440cfe7834e61ece2c7b3b4d4a42c19d01db5eaa3c347
Image: gcr.io/google_containers/nginx-slim:0.8
Image ID: docker://sha256:18ea23a675dae45702b278215a4b6d20583a907a98b2b82d2af709c3ba86c76a
Port: 80/TCP
Requests:
cpu: 100m
State: Running
Started: Fri, 02 Dec 2016 12:01:32 -0800
Ready: True
Restart Count: 0
Volume Mounts:
/usr/share/nginx/html from www (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-nmzqy (ro)
Environment Variables: <none>
Conditions:
Type Status
Initialized True
Ready True
PodScheduled True
Volumes:
www:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: www-web-2
ReadOnly: false
default-token-nmzqy:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-nmzqy
QoS Class: Burstable
Tolerations: <none>
Events:
FirstSeen LastSeen Count From SubObjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
8m 8m 1 {default-scheduler } Normal Scheduled Successfully assigned web-2 to kubernetes-minion-group-yl0d
6m 6m 1 {kubelet kubernetes-minion-group-yl0d} Warning FailedMount Unable to mount volumes for pod "web-2_default(10863ca9-b8c9-11e6-aa17-42010a800002)": timeout expired waiting for volumes to attach/mount for pod "web-2"/"default". list of unattached/unmounted volumes=[www]
6m 6m 1 {kubelet kubernetes-minion-group-yl0d} Warning FailedSync Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "web-2"/"default". list of unattached/unmounted volumes=[www]
8m 3m 10 {attachdetach } Warning FailedMount Failed to attach volume "pvc-61045ddc-b8c7-11e6-bee7-42010a800002" on node "kubernetes-minion-group-yl0d" with: googleapi: Error 400: The disk resource 'kubernetes-dynamic-pvc-61045ddc-b8c7-11e6-bee7-42010a800002' is already being used by 'kubernetes-minion-group-c4x6'
3m 3m 1 {kubelet kubernetes-minion-group-yl0d} Warning FailedSync Error syncing pod, skipping: network is not ready: [Kubenet does not have netConfig. This is most likely due to lack of PodCIDR]
3m 3m 2 {kubelet kubernetes-minion-group-yl0d} Warning FailedSync Error syncing pod, skipping: network is not ready: [Kubenet does not have netConfig. This is most likely due to lack of PodCIDR]
1m 1m 1 {kubelet kubernetes-minion-group-yl0d} spec.containers{nginx} Normal Pulled Container image "gcr.io/google_containers/nginx-slim:0.8" already present on machine
1m 1m 1 {kubelet kubernetes-minion-group-yl0d} spec.containers{nginx} Normal Created Created container with docker id 124ff292444d; Security:[seccomp=unconfined]
1m 1m 1 {kubelet kubernetes-minion-group-yl0d} spec.containers{nginx} Normal Started Started container with docker id 124ff292444d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment