Update README.md
This commit is contained in:
parent
7d2f222a81
commit
5686d3e46a
@ -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.
|
||||||
@ -60,4 +54,4 @@ 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.
|
1. Add `--wait -v=5 --debug` in `helm install` command.
|
||||||
2. Then the error pods can be located.
|
2. Then the error pods can be located.
|
||||||
3. Use `kubectl describe` to acquire more info.
|
3. Use `kubectl describe` to acquire more info.
|
||||||
4. Check the related resource of the pod, such as serviceaacount, rbac, etc.
|
4. Check the related resource of the pod, such as serviceaacount, rbac, etc.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user