local-path-provisioner icon indicating copy to clipboard operation
local-path-provisioner copied to clipboard

Volume not provisioned when binding type is set to `Immediate`

Open roshanirathi opened this issue 1 year ago • 3 comments

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

roshanirathi avatar Feb 22 '24 15:02 roshanirathi