kubernetes-sigs / nfs-ganesha-server-and-external-provisioner

NFS Ganesha Server and Volume Provisioner.
Apache License 2.0
413 stars 140 forks source link

Extremely poor perfomance with WSL2/Docker Desktop/k8s #145

Open McMac opened 4 months ago

McMac commented 4 months ago

Trying to use nfs-ganesha as local RWM storage on Windows 11 + WSL2 + Docker Desktop + Kubernetes.

Using this as values.yaml

persistence:
  enabled: true
  storageClass: "hostpath"
  size: 100Gi

storageClass:
  defaultClass: true

and then launching via helm install nfs-server-provisioner nfs-ganesha-server-and-external-provisioner/nfs-server-provisioner -f storage/values.yaml

Testing this with a local Jenkins pipeline, the runtime goes from roughly a minute up to 19 minutes! Bild

Am I doing something wrong? Are the given parameters incomplete? The exact same config works on Mac + Docker Desktop so I am assuming it is related to WSL2/Win somehow.

Any workarounds? Suggestions? Any updates necessary to nfs ganesha? Parameters? Different default hostpath? Or update to the documentation?

k8s-triage-robot commented 1 month ago

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

k8s-triage-robot commented 1 week ago

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