Skip to content

Instantly share code, notes, and snippets.

@nrb
Last active Apr 8, 2020
Embed
What would you like to do?
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 3m3s default-scheduler persistentvolumeclaim "mysql-pv-claim" not found
Normal Scheduled 3m2s default-scheduler Successfully assigned wordpress/wordpress-mysql-7f7dc5d664-zcddj to kind-worker
Normal SuccessfulAttachVolume 3m2s attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-dbbba746-15b9-468f-bad3-999a553150a9"
Warning FailedMount 59s kubelet, kind-worker Unable to attach or mount volumes: unmounted volumes=[mysql-persistent-storage], unattached volumes=[mysql-persistent-storage default-token-g4nz6]: timed out waiting for the condition
Warning FailedMount 45s (x9 over 2m54s) kubelet, kind-worker MountVolume.SetUp failed for volume "pvc-dbbba746-15b9-468f-bad3-999a553150a9" : kubernetes.io/csi: mounter.SetupAt failed: rpc error: code = NotFound desc = volume id 4aac69c2-79c6-11ea-aa02-72e36b574bfb does not exist in the volumes list
% k get pvc -n wordpress
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
mysql-pv-claim Bound pvc-dbbba746-15b9-468f-bad3-999a553150a9 20Gi RWO csi-hostpath-sc 5m50s
wp-pv-claim Bound pvc-4cb14a92-1a1e-41fa-8186-b422eef9faf8 20Gi RWO csi-hostpath-sc 5m50s
% k get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
pvc-4cb14a92-1a1e-41fa-8186-b422eef9faf8 20Gi RWO Delete Bound wordpress/wp-pv-claim csi-hostpath-sc 6m23s
pvc-dbbba746-15b9-468f-bad3-999a553150a9 20Gi RWO Delete Bound wordpress/mysql-pv-claim csi-hostpath-sc 6m23s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment