Skip to content

Instantly share code, notes, and snippets.

@pingles
Last active December 6, 2016 19:53
Show Gist options
  • Save pingles/2ffd1451f8486e5114b03961fba42ff9 to your computer and use it in GitHub Desktop.
Save pingles/2ffd1451f8486e5114b03961fba42ff9 to your computer and use it in GitHub Desktop.
FirstSeen LastSeen Count From SubobjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
2m 2m 2 {default-scheduler } Warning FailedScheduling [SchedulerPredicates failed due to PersistentVolumeClaim is not bound: "demo-storage-claim", which is unexpected., SchedulerPredicates failed due to PersistentVolumeClaim is not bound: "demo-storage-claim", which is unexpected., SchedulerPredicates failed due to PersistentVolumeClaim is not bound: "demo-storage-claim", which is unexpected.]
2m 2m 1 {default-scheduler } Normal Scheduled Successfully assigned storage-demo to ip-172-20-11-154.eu-west-1.compute.internal
2m 2m 2 {controller-manager } Warning FailedMount Failed to attach volume "pvc-3f2b2bd1-bbed-11e6-aa3d-0675daf36109" on node "ip-172-20-11-154.eu-west-1.compute.internal" with: Error attaching EBS volume: IncorrectState: vol-bd50263f is not 'available'.
status code: 400, request id:
13s 13s 1 {kubelet ip-172-20-11-154.eu-west-1.compute.internal} Warning FailedMount Unable to mount volumes for pod "storage-demo_default(3f50ef79-bbed-11e6-aa3d-0675daf36109)": timeout expired waiting for volumes to attach/mount for pod "storage-demo"/"default". list of unattached/unmounted volumes=[myvolume]
13s 13s 1 {kubelet ip-172-20-11-154.eu-west-1.compute.internal} Warning FailedSync Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "storage-demo"/"default". list of unattached/unmounted volumes=[myvolume]
---
kind: "PersistentVolumeClaim"
apiVersion: "v1"
metadata:
name: "demo-storage-claim"
annotations:
volume.beta.kubernetes.io/storage-class: "ssd"
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: "5Gi"
---
kind: Pod
apiVersion: v1
metadata:
name: storage-demo
spec:
containers:
- name: ubuntu
image: ubuntu
volumeMounts:
- mountPath: "/mnt"
name: myvolume
volumes:
- name: myvolume
persistentVolumeClaim:
claimName: demo-storage-claim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment