Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume not provisioned when binding type is set to Immediate #386

Closed
roshanirathi opened this issue Feb 22, 2024 · 5 comments
Closed

Volume not provisioned when binding type is set to Immediate #386

roshanirathi opened this issue Feb 22, 2024 · 5 comments
Labels

Comments

@roshanirathi
Copy link

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

@shkatara
Copy link

Hi Roshni,
I am also getting the same issue. Did you have any luck so far ?

@MisderGAO
Copy link

Hello,
Same issue for me.
community k8s 1.28.7

@roshanirathi
Copy link
Author

Adding node-affinity in persistent volume spec is one way to get it working.
But then it negates the entire point of dynamic provisioning.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label May 31, 2024
Copy link

github-actions bot commented Jun 5, 2024

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants