strong-musician-9792
05/15/2024, 6:41 AMlocal-path-provisioner
deployed on a single node Talos cluster. I now run my first test using the pod-with-local-volume example. The claim is deployed, leading to a succesfully provisioned volume. (see screenshot).
When looking on my node, the folder is indeed created:
$ talosctl -n 172.16.20.20 list -d 3 -l /var/storage/disk1
NODE MODE UID GID SIZE(B) LASTMOD NAME
172.16.20.20 drwxr-xr-x 0 0 77 May 15 08:15:56 .
172.16.20.20 drwxrwxrwx 0 0 6 May 15 08:15:56 pvc-55e00b90-5b03-4fe4-aa9f-1278d241dbd1_default_local-path-pvc
But the nginx pod remains in state ContainerCreating
. Checking via kubectl describe pods
, I get this as message for my test pod:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 4s default-scheduler Successfully assigned default/testpod to cloud.home.[masked]
Warning FailedMount 1s (x4 over 4s) kubelet MountVolume.NewMounter initialization failed for volume "pvc-55e00b90-5b03-4fe4-aa9f-1278d241dbd1" : path "/var/storage/disk1/pvc-55e00b90-5b03-4fe4-aa9f-1278d241dbd1_default_local-path-pvc" does not exist
What am I missing here?