From f70ee1063d12272456d2329f45a3a153ff67fe9c Mon Sep 17 00:00:00 2001 From: Joshua Moody Date: Mon, 15 Jun 2020 18:41:08 -0700 Subject: [PATCH] Add noresvport to the nfs mount options This makes the nfs client use a new src port for each tcp reconnect. This way after a crash the faulty connection isn't kept alive in the connection cache (nat). This should allow to resolve the cluster ip to the new destination pod ip. Signed-off-by: Joshua Moody --- examples/rwx/02-longhorn-nfs-provisioner.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/rwx/02-longhorn-nfs-provisioner.yaml b/examples/rwx/02-longhorn-nfs-provisioner.yaml index fe6c7ae..e60e9e0 100644 --- a/examples/rwx/02-longhorn-nfs-provisioner.yaml +++ b/examples/rwx/02-longhorn-nfs-provisioner.yaml @@ -167,3 +167,4 @@ metadata: provisioner: nfs.longhorn.io mountOptions: - "vers=4.1" + - "noresvport"