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

PV detach from shutdown node #359

Open
lavalex opened this issue Dec 10, 2024 · 3 comments
Open

PV detach from shutdown node #359

lavalex opened this issue Dec 10, 2024 · 3 comments

Comments

@lavalex
Copy link

lavalex commented Dec 10, 2024

Hello,

When node goes down, pod is deployed on another node, but NFS mount stays "attached" to the failed node. Is it expected to happen?

Thanks.

@niranjandarshann
Copy link

@lavalex Yes, it’s expected that NFS mounts stay attached when a node fails.

@niranjandarshann
Copy link

If a node goes down unexpectedly, Kubernetes does not immediately clean up or forcefully unmount the NFS volume.
The PV remains "attached" to the failed node until Kubernetes detects the failure.

@niranjandarshann
Copy link

One Approach that is common check persistentVolumeReclaimPolicy in pv.yaml and check it should be Retain i think this may fix it. As this approach is actively taken and work for majority of the people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants