Update README.md

This commit is contained in:
Andy Zhang 2021-01-06 19:45:48 +08:00 committed by GitHub
parent 7d2f222a81
commit 5686d3e46a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,33 +4,27 @@ Follow this guide to install the NFS Driver for Kubernetes.
## Prerequisites ## Prerequisites
- [Install Helm 3](https://helm.sh/docs/intro/quickstart/#install-helm) - [install Helm Client 3.0+ ](https://helm.sh/docs/intro/quickstart/#install-helm)
## Install via `helm install` ## Install latest CSI Driver via `helm install`
```console
$ cd $GOPATH/src/github.com/kubernetes-csi/csi-driver-nfs/charts/latest
$ helm package csi-driver-nfs
$ helm install csi-driver-nfs csi-driver-nfs-latest.tgz --namespace kube-system
``` ```
$ cd charts/latest
$ helm install csi-driver-nfs ./csi-driver-nfs -n kube-system
```
## Install via Helm repository
``` ### Install a specific version
$ helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts Specify the version of the chart to be installed using the `--version` parameter.
$ helm install --name csi-driver-nfs csi-driver-nfs/csi-driver-nfs --namespace kube-system ```console
helm install --name csi-driver-nfs csi-driver-nfs/csi-driver-nfs --namespace kube-system --version v0.2.0
``` ```
### Search for available versions ### Search for available versions
``` ```console
$ helm search repo -l csi-driver-nfs $ helm search repo -l csi-driver-nfs
``` ```
### Install a specific version
```
https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts --version v2.0.0
```
## Chart configuration ## Chart configuration
The following table lists the configurable parameters of the latest NFS CSI Driver chart and their default values. The following table lists the configurable parameters of the latest NFS CSI Driver chart and their default values.