Self-hosting Kubernetes Cluster on DELL R930 Servers.
I am using Helm 2 install stable/redis-ha, and it works fine.
But when I change the Helm 3, with same arguments, it faced:
MountVolume.SetUp failed for volume "pvc-d7ffe33c-d796-11e9-8568-801844f0932c" :
mount failed: exit status 32
Mounting command: systemd-run
Mounting arguments:
--description=Kubernetes transient mount for /var/lib/kubelet/pods/d802cecd-d796-11e9-8568-801844f0932c/volumes/kubernetes.io~nfs/pvc-d7ffe33c-d796-11e9-8568-801844f0932c
--scope
-- mount -t nfs 192.168.1.99:/mnt/data/super-kubernetes/my-space/data-redis-ha-server-0 /var/lib/kubelet/pods/d802cecd-d796-11e9-8568-801844f0932c/volumes/kubernetes.io~nfs/pvc-d7ffe33c-d796-11e9-8568-801844f0932c
Output:
Running scope as unit: run-r717513c4480b481ea2e4f0e3486caaeb.scope
mount.nfs:
access denied by server while mounting 192.168.1.99:/mnt/data/super-kubernetes/my-space/data-redis-ha-server-0
The PV and PVC was successful created on my FreeNAS just like I am using Helm 2.
I am not sure if this a Helm 3 problem, but I works fine with Helm 2.
I thought the key point maybe access denied by server while mounting ...,
I had check the NFS services, and found that /mnt/data/super-kubernetes/my-space/data-redis-ha-server-0 did not exist at all.
Maybe the freenas-provisioner are not compatible with Helm 3?
Output of
helm version
:Output of
kubectl version
:Cloud Provider/Platform (AKS, GKE, Minikube etc.):
I am using Helm 2 install stable/redis-ha, and it works fine. But when I change the Helm 3, with same arguments, it faced:
The PV and PVC was successful created on my FreeNAS just like I am using Helm 2. I am not sure if this a Helm 3 problem, but I works fine with Helm 2. I thought the key point maybe
access denied by server while mounting ...
, I had check the NFS services, and found that/mnt/data/super-kubernetes/my-space/data-redis-ha-server-0
did not exist at all.Maybe the freenas-provisioner are not compatible with Helm 3?