# Installation with Helm 3 Follow this guide to install the NFS Driver for Kubernetes. ## Prerequisites - [Install Helm 3](https://helm.sh/docs/intro/quickstart/#install-helm) ## Install via `helm install` ``` $ cd charts/latest $ helm install csi-driver-nfs ./csi-driver-nfs -n kube-system ``` ## Install via Helm repository ``` $ helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts $ helm install --name csi-driver-nfs csi-driver-nfs/csi-driver-nfs --namespace kube-system ``` ### Search for available versions ``` $ helm search repo -l csi-driver-nfs ``` ### Install a specific verison ``` https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts --version v2.0.0 ``` ## Chart configuration The following table lists the configurable parameters of the latest NFS CSI Driver chart and their default values. | Parameter | Description | Default | |---------------------------------------------------|------------------------------------------------------------|-------------------------------------------------------------------| | `image.nfs.repository` | csi-driver-nfs docker image | mcr.microsoft.com/k8s/csi/nfs-csi | | `image.nfs.tag` | csi-driver-nfs docker image tag | latest | | `image.nfs.pullPolicy` | csi-driver-nfs image pull policy | IfNotPresent | | `image.csiProvisioner.repository` | csi-provisioner docker image | mcr.microsoft.com/oss/kubernetes-csi/csi-provisioner | | `image.csiProvisioner.tag` | csi-provisioner docker image tag | v1.4.0 | | `image.csiProvisioner.pullPolicy` | csi-provisioner image pull policy | IfNotPresent | | `image.livenessProbe.repository` | liveness-probe docker image | mcr.microsoft.com/oss/kubernetes-csi/livenessprobe | | `image.livenessProbe.tag` | liveness-probe docker image tag | v1.1.0 | | `image.livenessProbe.pullPolicy` | liveness-probe image pull policy | IfNotPresent | | `image.nodeDriverRegistrar.repository` | csi-node-driver-registrar docker image | mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar | | `image.nodeDriverRegistrar.tag` | csi-node-driver-registrar docker image tag | v1.2.0 | | `image.nodeDriverRegistrar.pullPolicy` | csi-node-driver-registrar image pull policy | IfNotPresent | | `serviceAccount.create` | whether create service account of csi-nfs-controller | true | | `rbac.create` | whether create rbac of csi-nfs-controller | true | | `controller.replicas` | the replicas of csi-nfs-controller | 2 | ## Troubleshooting If there are some errors when using helm to install, follow the steps to debug: 1. Add `--wait -v=5 --debug` in `helm install` command. 2. Then the error pods can be located. 3. Use `kubectl describe` to acquire more info. 4. Check the related resource of the pod, such as serviceaacount, rbac, etc.