Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding helm-charts-version flag #1059

Merged
merged 3 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -346,14 +346,15 @@ CRDs should be configured during replication prepare stage with repctl as descri

8. Install the driver using `csi-install.sh` bash script by running
```bash
cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml
cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml --helm-charts-version <version>
```
9. Or you can also install the driver using standalone helm chart using the command
```bash
helm install --values my-powermax-settings.yaml --namespace powermax powermax ./csi-powermax
```

*Note:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powermax/blob/main/dell-csi-helm-installer/csi-install.sh#L52) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powermax` directory if it was cloned before.
- For detailed instructions on how to run the install scripts, see the readme document in the dell-csi-helm-installer folder.
- There are a set of samples provided [here](#sample-values-file) to help you configure the driver with reverse proxy
- This script also runs the verify.sh script in the same directory. You will be prompted to enter the credentials for each of the Kubernetes nodes. The `verify.sh` script needs the credentials to check if the iSCSI initiators have been configured on all nodes. You can also skip the verification step by specifying the `--skip-verify-node` option
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,12 @@ CRDs should be configured during replication prepare stage with repctl as descri

8. Install the driver using `csi-install.sh` bash script by running
```bash
./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml
./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml --helm-charts-version <version>
```
- After that the driver should be installed, you can check the condition of driver pods by running `kubectl get all -n csi-powerstore`

*NOTE:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powerstore/blob/main/dell-csi-helm-installer/csi-install.sh#L13) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powerstore` directory if it was cloned before.
- For detailed instructions on how to run the install scripts, refer to the readme document in the dell-csi-helm-installer folder.
- By default, the driver scans available SCSI adapters and tries to register them with the storage array under the SCSI hostname using `node.nodeNamePrefix` and the ID read from the file pointed to by `node.nodeIDPath`. If an adapter is already registered with the storage under a different hostname, the adapter is not used by the driver.
- A hostname the driver uses for registration of adapters is in the form `<nodeNamePrefix>-<nodeID>-<nodeIP>`. By default, these are csi-node and the machine ID read from the file `/etc/machine-id`.
Expand Down
3 changes: 2 additions & 1 deletion content/docs/deployment/helm/drivers/upgrade/powermax.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ You can upgrade CSI Driver for Dell PowerMax using Helm or Dell CSM Operator.
3. Run the `csi-install` script with the option _\-\-upgrade_ by running:
```bash

cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml --upgrade
cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml --upgrade --helm-charts-version <version>
```

*NOTE:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powermax/blob/main/dell-csi-helm-installer/csi-install.sh#L52) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powermax` directory if it was cloned before.
- If you are upgrading from a driver version that was installed using Helm v2, ensure that you install Helm3 before installing the driver.
- To update any installation parameter after the driver has been installed, change the `my-powermax-settings.yaml` file and run the install script with the option _\-\-upgrade_, for example:
```bash
Expand Down
5 changes: 3 additions & 2 deletions content/docs/deployment/helm/drivers/upgrade/powerstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ Note: While upgrading the driver via helm, controllerCount variable in myvalues.
6. Run the `csi-install` script with the option _\-\-upgrade_ by running:
```bash

./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml --upgrade
./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml --upgrade --helm-charts-version <version>
```

*NOTE:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powerstore/blob/main/dell-csi-helm-installer/csi-install.sh#L13) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powerstore` directory if it was cloned before.

## Upgrade using Dell CSM Operator:
**Note:** Upgrading the Operator does not upgrade the CSI Driver.
Expand Down
3 changes: 2 additions & 1 deletion content/v1/csidriver/installation/helm/powermax.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,14 +346,15 @@ CRDs should be configured during replication prepare stage with repctl as descri

8. Install the driver using `csi-install.sh` bash script by running
```bash
cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml
cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml --helm-charts-version <version>
```
9. Or you can also install the driver using standalone helm chart using the command
```bash
helm install --values my-powermax-settings.yaml --namespace powermax powermax ./csi-powermax
```

*Note:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powermax/blob/main/dell-csi-helm-installer/csi-install.sh#L52) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powermax` directory if it was cloned before.
- For detailed instructions on how to run the install scripts, see the readme document in the dell-csi-helm-installer folder.
- There are a set of samples provided [here](#sample-values-file) to help you configure the driver with reverse proxy
- This script also runs the verify.sh script in the same directory. You will be prompted to enter the credentials for each of the Kubernetes nodes. The `verify.sh` script needs the credentials to check if the iSCSI initiators have been configured on all nodes. You can also skip the verification step by specifying the `--skip-verify-node` option
Expand Down
3 changes: 2 additions & 1 deletion content/v1/csidriver/installation/helm/powerstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,12 @@ CRDs should be configured during replication prepare stage with repctl as descri

8. Install the driver using `csi-install.sh` bash script by running
```bash
./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml
./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml --helm-charts-version <version>
```
- After that the driver should be installed, you can check the condition of driver pods by running `kubectl get all -n csi-powerstore`

*NOTE:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powerstore/blob/main/dell-csi-helm-installer/csi-install.sh#L13) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powerstore` directory if it was cloned before.
- For detailed instructions on how to run the install scripts, refer to the readme document in the dell-csi-helm-installer folder.
- By default, the driver scans available SCSI adapters and tries to register them with the storage array under the SCSI hostname using `node.nodeNamePrefix` and the ID read from the file pointed to by `node.nodeIDPath`. If an adapter is already registered with the storage under a different hostname, the adapter is not used by the driver.
- A hostname the driver uses for registration of adapters is in the form `<nodeNamePrefix>-<nodeID>-<nodeIP>`. By default, these are csi-node and the machine ID read from the file `/etc/machine-id`.
Expand Down
3 changes: 2 additions & 1 deletion content/v1/csidriver/upgradation/drivers/powermax.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ You can upgrade CSI Driver for Dell PowerMax using Helm or Dell CSM Operator.
3. Run the `csi-install` script with the option _\-\-upgrade_ by running:
```bash

cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml --upgrade
cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml --upgrade --helm-charts-version <version>
```

*NOTE:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powermax/blob/main/dell-csi-helm-installer/csi-install.sh#L52) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powermax` directory if it was cloned before.
- If you are upgrading from a driver version that was installed using Helm v2, ensure that you install Helm3 before installing the driver.
- To update any installation parameter after the driver has been installed, change the `my-powermax-settings.yaml` file and run the install script with the option _\-\-upgrade_, for example:
```bash
Expand Down
4 changes: 3 additions & 1 deletion content/v1/csidriver/upgradation/drivers/powerstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ Note: While upgrading the driver via helm, controllerCount variable in myvalues.
6. Run the `csi-install` script with the option _\-\-upgrade_ by running:
```bash

./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml --upgrade
./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml --upgrade --helm-charts-version <version>
```
*NOTE:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powerstore/blob/main/dell-csi-helm-installer/csi-install.sh#L13) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powerstore` directory if it was cloned before.


## Upgrade using Dell CSM Operator:
Expand Down
3 changes: 2 additions & 1 deletion content/v2/csidriver/installation/helm/powermax.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,14 +321,15 @@ CRDs should be configured during replication prepare stage with repctl as descri

8. Install the driver using `csi-install.sh` bash script by running
```bash
cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml
cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml --helm-charts-version <version>
```
9. Or you can also install the driver using standalone helm chart using the command
```bash
helm install --values my-powermax-settings.yaml --namespace powermax powermax ./csi-powermax
```

*Note:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powermax/blob/main/dell-csi-helm-installer/csi-install.sh#L52) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powermax` directory if it was cloned before.
- For detailed instructions on how to run the install scripts, see the readme document in the dell-csi-helm-installer folder.
- There are a set of samples provided [here](#sample-values-file) to help you configure the driver with reverse proxy
- This script also runs the verify.sh script in the same directory. You will be prompted to enter the credentials for each of the Kubernetes nodes. The `verify.sh` script needs the credentials to check if the iSCSI initiators have been configured on all nodes. You can also skip the verification step by specifying the `--skip-verify-node` option
Expand Down
3 changes: 2 additions & 1 deletion content/v2/csidriver/installation/helm/powerstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,12 @@ CRDs should be configured during replication prepare stage with repctl as descri

8. Install the driver using `csi-install.sh` bash script by running
```bash
./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml
./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml --helm-charts-version <version>
```
- After that the driver should be installed, you can check the condition of driver pods by running `kubectl get all -n csi-powerstore`

*NOTE:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powerstore/blob/main/dell-csi-helm-installer/csi-install.sh#L13) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powerstore` directory if it was cloned before.
- For detailed instructions on how to run the install scripts, refer to the readme document in the dell-csi-helm-installer folder.
- By default, the driver scans available SCSI adapters and tries to register them with the storage array under the SCSI hostname using `node.nodeNamePrefix` and the ID read from the file pointed to by `node.nodeIDPath`. If an adapter is already registered with the storage under a different hostname, the adapter is not used by the driver.
- A hostname the driver uses for registration of adapters is in the form `<nodeNamePrefix>-<nodeID>-<nodeIP>`. By default, these are csi-node and the machine ID read from the file `/etc/machine-id`.
Expand Down
3 changes: 2 additions & 1 deletion content/v2/csidriver/upgradation/drivers/powermax.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ You can upgrade CSI Driver for Dell PowerMax using Helm or Dell CSI Operator.
3. Run the `csi-install` script with the option _\-\-upgrade_ by running:
```bash

cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml --upgrade
cd ../dell-csi-helm-installer && ./csi-install.sh --namespace powermax --values ./my-powermax-settings.yaml --upgrade --upgrade --helm-charts-version
```

*NOTE:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powermax/blob/main/dell-csi-helm-installer/csi-install.sh#L52) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powermax` directory if it was cloned before.
- If you are upgrading from a driver version that was installed using Helm v2, ensure that you install Helm3 before installing the driver.
- To update any installation parameter after the driver has been installed, change the `my-powermax-settings.yaml` file and run the install script with the option _\-\-upgrade_, for example:
```bash
Expand Down
5 changes: 3 additions & 2 deletions content/v2/csidriver/upgradation/drivers/powerstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ Note: While upgrading the driver via helm, controllerCount variable in myvalues.
6. Run the `csi-install` script with the option _\-\-upgrade_ by running:
```bash

./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml --upgrade
./csi-install.sh --namespace csi-powerstore --values ./my-powerstore-settings.yaml --upgrade --helm-charts-version <version>
```

*NOTE:*
- The parameter `--helm-charts-version` is optional and if you do not specify the flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powerstore/blob/main/dell-csi-helm-installer/csi-install.sh#L13) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powerstore` directory if it was cloned before.

## Upgrade using Dell CSM Operator:
**Note:** Upgrading the Operator does not upgrade the CSI Driver.
Expand Down
Loading