Looks like the proper way to ensure single-pod access to volume is using a new ReadWriteOncePod access mode introduced here in Kubernetes 1.22
It would be nice to have this supported in local-path-provisioner
Now I'm getting this error:
The PersistentVolumeClaim "workdir-pvc-tmp" is invalid: spec.accessModes:
Unsupported value: "ReadWriteOncePod":
supported values: "ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce"
Looks like the proper way to ensure single-pod access to volume is using a new
ReadWriteOncePodaccess mode introduced here in Kubernetes 1.22It would be nice to have this supported in
local-path-provisionerNow I'm getting this error: