adamant-kite-43734
06/19/2023, 1:20 PMbroad-needle-89667
06/19/2023, 1:21 PMAttachVolume.Attach failed for volume "pvc-07efc3d5-a236-4cd6-a7f3-58101c7f9839" : timed out waiting for external-attacher of <http://hostpath.csi.k8s.io|hostpath.csi.k8s.io> CSI driver to attach volume
proud-jewelry-46860
06/20/2023, 10:58 PMdeploy.sh
per instructions in that repo; I followed that document down to checking for the file I created in /csi-data-dir
in the pod.
The first two helm charts are because I found https://github.com/k3s-io/k3s/pull/6459 which says that k3s was going to document that, but I couldn't spot the actual document…broad-needle-89667
06/21/2023, 8:01 AMbroad-needle-89667
06/21/2023, 8:02 AMapiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
kind: StorageClass
metadata:
name: fast
provisioner: <http://hostpath.csi.k8s.io|hostpath.csi.k8s.io>
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
broad-needle-89667
06/21/2023, 8:02 AMbroad-needle-89667
06/21/2023, 8:04 AMproud-jewelry-46860
06/22/2023, 12:03 AMEvents:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 3m23s default-scheduler 0/1 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod..
Normal Scheduled 3m22s default-scheduler Successfully assigned default/web-0 to desktop-tf26i3i
Warning FailedAttachVolume 82s attachdetach-controller AttachVolume.Attach failed for volume "pvc-ab193fda-c5e6-4681-b7e2-d0105e97984d" : timed out waiting for external-attacher of <http://hostpath.csi.k8s.io|hostpath.csi.k8s.io> CSI driver to attach volume 1086d863-108f-11ee-b431-ba2fa997ebdf
Warning FailedMount 79s kubelet Unable to attach or mount volumes: unmounted volumes=[www], unattached volumes=[kube-api-access-242z2 www]: timed out waiting for the condition
But the PVC looks like it got something:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ExternalProvisioning 56s persistentvolume-controller waiting for a volume to be created, either by external provisioner "<http://hostpath.csi.k8s.io|hostpath.csi.k8s.io>" or manually created by system administrator
Normal Provisioning 56s hostpath.csi.k8s.io_csi-snapshotter-0_7c4d9356-8aaf-4646-b02e-943f015037dc External provisioner is provisioning volume for claim "default/www-web-0"
Normal ProvisioningSucceeded 55s hostpath.csi.k8s.io_csi-snapshotter-0_7c4d9356-8aaf-4646-b02e-943f015037dc Successfully provisioned volume pvc-ab193fda-c5e6-4681-b7e2-d0105e97984d
(And yes, the PV appears to be bound.)proud-jewelry-46860
06/22/2023, 12:03 AMbroad-needle-89667
06/26/2023, 3:22 PMbroad-needle-89667
06/26/2023, 3:25 PMproud-jewelry-46860
06/26/2023, 3:58 PMbroad-needle-89667
06/27/2023, 8:35 AM