From 5fea27d2d09b90ae94d4a0ca7b9e88575420fce7 Mon Sep 17 00:00:00 2001 From: karthikk92 <92289639+karthikk92@users.noreply.github.com> Date: Wed, 30 Aug 2023 11:19:18 +0530 Subject: [PATCH] Unity installation changes for central helm (#789) * Updated the unity helm installation changes in document * Updated the unity helm installation changes in document * Addressed review comment * Addressed review comment on gut hub ulr update --- .../docs/csidriver/installation/helm/unity.md | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/content/docs/csidriver/installation/helm/unity.md b/content/docs/csidriver/installation/helm/unity.md index e02aa8ca89..fc3b156c78 100644 --- a/content/docs/csidriver/installation/helm/unity.md +++ b/content/docs/csidriver/installation/helm/unity.md @@ -92,7 +92,7 @@ Install CSI Driver for Unity XT using this procedure. * As a pre-requisite for running this procedure, you must have the downloaded files, including the Helm chart from the source [git repository](https://github.com/dell/csi-unity) with the command ```bash - git clone -b v2.7.0 https://github.com/dell/csi-unity.git + git clone -b v2.8.0 https://github.com/dell/csi-unity.git ``` * In the top-level dell-csi-helm-installer directory, there should be two scripts, `csi-install.sh` and `csi-uninstall.sh`. * Ensure _unity_ namespace exists in Kubernetes cluster. Use the `kubectl create namespace unity` command to create the namespace if the namespace is not present. @@ -107,13 +107,17 @@ Procedure * ArrayId corresponds to the serial number of Unity XT array. * Unity XT Array username must have role as Storage Administrator to be able to perform CRUD operations. * If the user is using a complex K8s version like "v1.24.6-mirantis-1", use this kubeVersion check in helm/csi-unity/Chart.yaml file. - kubeVersion: ">= 1.24.0-0 < 1.28.0-0" + kubeVersion: ">= 1.24.0-0 < 1.29.0-0" -2. Copy the `helm/csi-unity/values.yaml` into a file named `myvalues.yaml` in the same directory of `csi-install.sh`, to customize settings for installation. +2. Get the required values.yaml using the command below: -3. Edit `myvalues.yaml` to set the following parameters for your installation: +```bash +cd dell-csi-helm-installer && wget -O my-unity-settings.yaml -b https://raw.githubusercontent.com/dell/helm-charts/main/charts/csi-unity/values.yaml +``` + +3. Edit `values.yaml` to set the following parameters for your installation: - The following table lists the primary configurable parameters of the Unity XT driver chart and their default values. More detailed information can be found in the [`values.yaml`](https://github.com/dell/csi-unity/blob/master/helm/csi-unity/values.yaml) file in this repository. + The following table lists the primary configurable parameters of the Unity XT driver chart and their default values. More detailed information can be found in the [`values.yaml`](https://github.com/dell/helm-charts/blob/main/charts/csi-unity/values.yaml) file in this repository. | Parameter | Description | Required | Default | | --------- | ----------- | -------- |-------- | @@ -320,6 +324,14 @@ Procedure ------------------------------------------------------ ``` + OR + To install particular version + ```bash + cd dell-csi-helm-installer && wget -O my-unity-settings.yaml -b https://raw.githubusercontent.com/dell/helm-charts/main/charts/csi-unity/values.yaml && + + ./csi-install.sh --namespace unity --values my-unity-settings.yaml --helm-charts-version + ``` + Results: At the end of the script unity-controller Deployment and DaemonSet unity-node will be ready, execute command `kubectl get pods -n unity` to get the status of the pods and you will see the following: @@ -330,7 +342,7 @@ Procedure **Note**: To install nightly or latest csi driver build using bash script use this command: ```bash - /csi-install.sh --namespace unity --values ./myvalues.yaml --version latest + /csi-install.sh --namespace unity --values ./myvalues.yaml --version latest --helm-charts-version ``` 8. You can also install the driver using standalone helm chart by cloning the centralised helm charts and running the helm install command as shown.