Skip to content

Commit

Permalink
CSI-Powerstore: Update helm-installation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
satyakonduri committed Aug 10, 2022
1 parent 1a303c2 commit 68621cb
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions content/docs/csidriver/installation/helm/powerstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,22 @@ Use [v5.0.x](https://github.com/kubernetes-csi/external-snapshotter/tree/v5.0.1/
- [quay.io/k8scsi/csi-snapshotter:v4.0.x](https://quay.io/repository/k8scsi/csi-snapshotter?tag=v4.0.0&tab=tags)
- The CSI external-snapshotter sidecar is still installed along with the driver and does not involve any extra configuration.

## Volume Health Monitoring
#### Installation example

You can install CRDs and default snapshot controller by running these commands:
```bash
git clone https://github.com/kubernetes-csi/external-snapshotter/
cd ./external-snapshotter
git checkout release-<your-version>
kubectl kustomize client/config/crd | kubectl create -f -
kubectl -n kube-system kustomize deploy/kubernetes/snapshot-controller | kubectl create -f -
```

*NOTE:*
- It is recommended to use 5.0.x version of snapshotter/snapshot-controller.
- The CSI external-snapshotter sidecar is installed along with the driver and does not involve any extra configuration.

### Volume Health Monitoring

Volume Health Monitoring feature is optional and by default this feature is disabled for drivers when installed via helm.
To enable this feature, add the below block to the driver manifest before installing the driver. This ensures to install external
Expand Down Expand Up @@ -148,22 +163,6 @@ node:
# Default value: None
enabled: false
```

#### Installation example

You can install CRDs and default snapshot controller by running following commands:
```bash
git clone https://github.com/kubernetes-csi/external-snapshotter/
cd ./external-snapshotter
git checkout release-<your-version>
kubectl kustomize client/config/crd | kubectl create -f -
kubectl -n kube-system kustomize deploy/kubernetes/snapshot-controller | kubectl create -f -
```

*NOTE:*
- It is recommended to use 5.0.x version of snapshotter/snapshot-controller.
- The CSI external-snapshotter sidecar is installed along with the driver and does not involve any extra configuration.

### (Optional) Replication feature Requirements

Applicable only if you decided to enable the Replication feature in `values.yaml`
Expand Down Expand Up @@ -197,10 +196,10 @@ CRDs should be configured during replication prepare stage with repctl as descri
NFSv4 ACls are supported for NFSv4 shares on NFSv4 enabled NAS servers only. POSIX ACLs are not supported and only POSIX mode bits are supported for NFSv3 shares.

Add more blocks similar to above for each PowerStore array if necessary.
5. Create storage classes using ones from `samples/storageclass` folder as an example and apply them to the Kubernetes cluster by running `kubectl create -f <path_to_storageclass_file>`
5. Create the secret by running ```kubectl create secret generic powerstore-config -n csi-powerstore --from-file=config=secret.yaml```
6. Create storage classes using ones from `samples/storageclass` folder as an example and apply them to the Kubernetes cluster by running `kubectl create -f <path_to_storageclass_file>`

> If you do not specify `arrayID` parameter in the storage class then the array that was specified as the default would be used for provisioning volumes.
6. Create the secret by running ```kubectl create secret generic powerstore-config -n csi-powerstore --from-file=config=secret.yaml```
7. Copy the default values.yaml file `cd dell-csi-helm-installer && cp ../helm/csi-powerstore/values.yaml ./my-powerstore-settings.yaml`
8. Edit the newly created values file and provide values for the following parameters `vi my-powerstore-settings.yaml`:

Expand Down

0 comments on commit 68621cb

Please sign in to comment.