-
Notifications
You must be signed in to change notification settings - Fork 252
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
Remount when connection lost #674
Comments
@barthofu have you tried there is an NFS mount option that you can use to remount the NFS share when the server is unavailable and then recovers. The option is called hard and it makes the NFS client keep retrying the NFS server indefinitely until it becomes available again. Here's an example command to mount an NFS share with the hard option:
|
I think unless you specify Edit: In a much older issue from the kubernetes repo (which I assume is a different implementantion from the csi-driver one), someone mentioned they fixed their problem by using a different NFS server image: kubernetes/kubernetes#75918 (comment) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Is your feature request related to a problem?/Why is this needed
Hello, i don't really know if it's an intended or normal behavior but each time i'm losing my NFS connection and then get it back up, it won't remount the disks in my pods.
I'm then in the obligation of restarting the pods...
Would it be possible to automate the NFS remount into the pod?
The text was updated successfully, but these errors were encountered: