local-path-provisioner
local-path-provisioner copied to clipboard
Volume not provisioned when binding type is set to `Immediate`
PVC is in pending state with error - configuration error, no node was specified
. This behaviour is seen only when binding type is set to Immediate
. Volume gets provisioned when set to WaitForFirstConsumer
.
As per what I have read online, the reason for this is PodSecurityPolicy was not updated to use local-path. But since PSP is deprecated, what is the alternative solution for it?
I tried adding namespace labels for ns in which the LPP was deployed and also for the ns in which the PVC was deployed, but that didn't work out.
Versions used: LPP - 0.25.0 k8s - 1.28.5