From 4d7723333ccf815394fafa9232d72bf8f9d1b438 Mon Sep 17 00:00:00 2001 From: HarishH-DELL <109663924+HarishH-DELL@users.noreply.github.com> Date: Tue, 29 Aug 2023 18:57:27 +0530 Subject: [PATCH] Helm changes and Operator upgrade changes (#795) --- content/docs/csidriver/features/powerscale.md | 2 +- .../csidriver/installation/helm/isilon.md | 15 ++++++++--- .../csidriver/upgradation/drivers/isilon.md | 25 ++++++++----------- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/content/docs/csidriver/features/powerscale.md b/content/docs/csidriver/features/powerscale.md index 7b5f7bea5e..0e0b943b8b 100644 --- a/content/docs/csidriver/features/powerscale.md +++ b/content/docs/csidriver/features/powerscale.md @@ -21,7 +21,7 @@ You can use existing volumes from the PowerScale array as Persistent Volumes in 1. Open your volume in One FS, and take a note of volume-id. 2. Create PersistentVolume and use this volume-id as a volumeHandle in the manifest. Modify other parameters according to your needs. -3. In the following example, the PowerScale cluster accessZone is assumed as 'System', storage class as 'isilon', cluster name as 'pscale-cluster' and volume's internal name as 'isilonvol'. The volume-handle should be in the format of =_=_==_=_==_=_= +3. In the following example, the PowerScale cluster accessZone is assumed as 'System', storage class as 'isilon', cluster name as 'pscale-cluster' and volume's internal name as 'isilonvol'. The volume-handle should be in the format of =_=_==_=_==_=_= 4. If Quotas are enabled in the driver, it is required to add the Quota ID to the description of the NFS export in this format: `CSI_QUOTA_ID:sC-kAAEAAAAAAAAAAAAAQEpVAAAAAAAA` 5. Quota ID can be identified by querying the PowerScale system. diff --git a/content/docs/csidriver/installation/helm/isilon.md b/content/docs/csidriver/installation/helm/isilon.md index c33e09fec4..4b7175dcc5 100644 --- a/content/docs/csidriver/installation/helm/isilon.md +++ b/content/docs/csidriver/installation/helm/isilon.md @@ -108,13 +108,13 @@ CRDs should be configured during replication prepare stage with repctl as descri **Steps** -1. Run `git clone -b v2.7.0 https://github.com/dell/csi-powerscale.git` to clone the git repository. +1. Run `git clone -b v2.8.0 https://github.com/dell/csi-powerscale.git` to clone the git repository. 2. Ensure that you have created the namespace where you want to install the driver. You can run `kubectl create namespace isilon` to create a new one. The use of "isilon" as the namespace is just an example. You can choose any name for the namespace. 3. Collect information from the PowerScale Systems like IP address, IsiPath, username, and password. Make a note of the value for these parameters as they must be entered in the *secret.yaml*. -4. Copy *the helm/csi-isilon/values.yaml* into a new location with name say *my-isilon-settings.yaml*, to customize settings for installation. +4. Download `wget -O my-isilon-settings.yaml -b csi-isilon-2.8.0 https://raw.githubusercontent.com/dell/helm-charts/main/charts/csi-isilon/values.yaml` into `cd ../dell-csi-helm-installer` to customize settings for installation. 5. Edit *my-isilon-settings.yaml* to set the following parameters for your installation: The following table lists the primary configurable parameters of the PowerScale driver Helm chart and their default values. More detailed information can be - found in the [`values.yaml`](https://github.com/dell/csi-powerscale/blob/master/helm/csi-isilon/values.yaml) file in this repository. + found in the [`values.yaml`](https://github.com/dell/helm-charts/blob/main/charts/csi-isilon/values.yaml) file in this repository. | Parameter | Description | Required | Default | | --------- | ----------- | -------- |-------- | @@ -228,7 +228,14 @@ Create isilon-creds secret using the following command: 8. Install the driver using `csi-install.sh` bash script by running ```bash - cd ../dell-csi-helm-installer && ./csi-install.sh --namespace isilon --values ../helm/my-isilon-settings.yaml + cd dell-csi-helm-installer && wget -O my-isilon-settings.yaml -b csi-isilon-2.8.0 https://raw.githubusercontent.com/dell/helm-charts/main/charts/csi-isilon/values.yaml && + ./csi-install.sh --namespace isilon --values my-isilon-settings.yaml + ``` + OR + To install particular version + ```bash + cd dell-csi-helm-installer && wget -O my-isilon-settings.yaml -b https://raw.githubusercontent.com/dell/helm-charts/main/charts/csi-isilon/values.yaml && + ./csi-install.sh --namespace isilon --values my-isilon-settings.yaml --helm-charts-version ``` (assuming that the current working directory is 'helm' and my-isilon-settings.yaml is also present under 'helm' directory) diff --git a/content/docs/csidriver/upgradation/drivers/isilon.md b/content/docs/csidriver/upgradation/drivers/isilon.md index 62c6673523..b0e0945416 100644 --- a/content/docs/csidriver/upgradation/drivers/isilon.md +++ b/content/docs/csidriver/upgradation/drivers/isilon.md @@ -8,30 +8,25 @@ Description: Upgrade PowerScale CSI driver --- You can upgrade the CSI Driver for Dell PowerScale using Helm or Dell CSI Operator. -## Upgrade Driver from version 2.6.1 to 2.7.0 using Helm +## Upgrade Driver from version 2.7.0 to 2.8.0 using Helm **Note:** While upgrading the driver via helm, controllerCount variable in myvalues.yaml can be at most one less than the number of worker nodes. **Steps** -1. Clone the repository using `git clone -b v2.7.0 https://github.com/dell/csi-powerscale.git`, copy the helm/csi-isilon/values.yaml into a new location with a custom name say _my-isilon-settings.yaml_, to customize settings for installation. Edit _my-isilon-settings.yaml_ as per the requirements. +1. Clone the repository using `git clone -b v2.8.0 https://github.com/dell/csi-powerscale.git`, + and `cd csi-powerscale ` clone the helm repository using `git clone -b csi-isilon-2.8.0 https://github.com/dell/helm-charts` + 2. Change to directory dell-csi-helm-installer to install the Dell PowerScale `cd dell-csi-helm-installer` 3. Upgrade the CSI Driver for Dell PowerScale using following command: ```bash - - ./csi-install.sh --namespace isilon --values ./my-isilon-settings.yaml --upgrade + wget -O my-isilon-settings.yaml -b csi-isilon-2.8.0 https://raw.githubusercontent.com/dell/helm-charts/main/charts/csi-isilon/values.yaml + ``` + Edit the _my-isilon-settings.yaml_ as per the requirements. - -## Upgrade using Dell CSI Operator: -**Notes:** -1. While upgrading the driver via operator, replicas count in sample CR yaml can be at most one less than the number of worker nodes. -2. Upgrading the Operator does not upgrade the CSI Driver. - -To upgrade the driver: - -1. Please upgrade the Dell CSI Operator by following [here](./../operator). -2. Once the operator is upgraded, to upgrade the driver, refer [here](./../../../installation/operator/#update-csi-drivers). - + ```bash + ./csi-install.sh --namespace isilon --values ./my-isilon-settings.yaml --upgrade + ```