Skip to content

Instantly share code, notes, and snippets.

@Javlopez
Created November 13, 2020 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Javlopez/5f45050a12dfa1bab0564e4f27a176ac to your computer and use it in GitHub Desktop.
Save Javlopez/5f45050a12dfa1bab0564e4f27a176ac to your computer and use it in GitHub Desktop.
/blog/production on master !14 ?33 ─────────────────────────────────────────────────────────────────────────────────────── ✔ at kubernetes.siclo.com ○ at 11:08:42
╰─ kubectl get po -n blog
NAME READY STATUS RESTARTS AGE
blog-7cb6487f7-8m726 0/1 ContainerCreating 0 30m
╭─ ~blog/production on master !14 ?33 ─────────────────────────────────────────────────────────────────────────────────────── ✔ at kubernetes.siclo.com ○ at 11:20:50
╰─ kubectl get events --sort-by=.metadata.creationTimestamp -n blog
LAST SEEN TYPE REASON OBJECT MESSAGE
60m Warning FailedMount pod/blog-9f4d899f8-gkm9k Unable to attach or mount volumes: unmounted volumes=[wp-data], unattached volumes=[wp-data config default-token-bm6r8]: timed out waiting for the condition
44m Warning FailedMount pod/blog-9f4d899f8-gkm9k MountVolume.SetUp failed for volume "pvc-699f4e22-a532-11ea-8fc7-12aff0746b6d" : HTTP error 500
30m Normal ScalingReplicaSet deployment/blog Scaled up replica set blog-7cb6487f7 to 1
30m Normal SuccessfulCreate replicaset/blog-7cb6487f7 Created pod: blog-7cb6487f7-8m726
30m Normal Scheduled pod/blog-7cb6487f7-8m726 Successfully assigned blog/blog-7cb6487f7-8m726 to ip-172-20-38-192.ec2.internal
3m48s Warning FailedMount pod/blog-7cb6487f7-8m726 MountVolume.SetUp failed for volume "pvc-699f4e22-a532-11ea-8fc7-12aff0746b6d" : rpc error: code = NotFound desc = Volume id pvc-699f4e22-a532-11ea-8fc7-12aff0746b6d not found
10m Warning FailedMount pod/blog-7cb6487f7-8m726 Unable to attach or mount volumes: unmounted volumes=[wp-data], unattached volumes=[wp-data config default-token-bm6r8]: timed out waiting for the condition
19m Warning FailedMount pod/blog-7cb6487f7-8m726 Unable to attach or mount volumes: unmounted volumes=[wp-data], unattached volumes=[default-token-bm6r8 wp-data config]: timed out waiting for the condition
7m47s Warning FailedMount pod/blog-7cb6487f7-8m726 Unable to attach or mount volumes: unmounted volumes=[wp-data], unattached volumes=[config default-token-bm6r8 wp-data]: timed out waiting for the condition
╭─ ~blog/production on master !14 ?33 ─────────────────────────────────────────────────────────────────────────────────────── ✔ at kubernetes.siclo.com ○ at 11:20:54
╰─ kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
blog-staging Pending wordpress-sc 93d
╭─ ~blog/production on master !14 ?33 ─────────────────────────────────────────────────────────────────────────────────────── ✔ at kubernetes.siclo.com ○ at 11:21:04
╰─ kubectl get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
pvc-699f4e22-a532-11ea-8fc7-12aff0746b6d 20Gi RWX Delete Bound blog/blog dynamic-storage-class 163d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment