Last active
December 6, 2016 19:53
-
-
Save pingles/2ffd1451f8486e5114b03961fba42ff9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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