Operator
To Upgrade the Operator, follow the instructions available here.
Upgrading Drivers with Dell CSM Operator
You can update CSI Drivers installed by the Dell CSM Operator like any Kubernetes resource:
- Get the driver-object details using kubectl command:
kubectl get csm -n powermax
As of CSI PowerMax v2.14.0, the csi reverse proxy configuration and connectivity information has been migrated from a ConfigMap to a Secret. If the powermax-creds secret format was not previously updated, reference Step 2 in CSI Driver installation steps.
Set the authSecret to the name of the secret created, powermax-creds. Also, set X_CSI_REVPROXY_USE_SECRET: true in your CSM file to use the new secret configuration.
Note: The powermax-reverseproxy-config remains for backward compatibility only. Use of the powermax-creds Secret, as outlined above, is recommended.
If you would like to continue using the powemax-reverseproxy-config ConfigMap, set X_CSI_REVPROXY_USE_SECRET: false in your CSM file, and skip the creation of this Secret.
Additionally, the powermax-array-config is deprecated and can be deleted. Its values have been migrated to Powermax sample.
To continue using powermax-array-config, follow Step 3 in the CSI Driver installation steps. If not using it, add values to X_CSI_MANAGED_ARRAYS, X_CSI_POWERMAX_PORTGROUPS, and X_CSI_TRANSPORT_PROTOCOL in the sample yaml.
Note: powermax-array-config is kept for backward compatibility only.
- Use the object name in the kubectl edit command:
kubectl edit csm powermax -n powermax
Modify the installation as needed, typically updating driver versions, sidecars, and environment variables.
- Refer how to upgrade guide if you have more questions
Supported modifications
- Changing environment variable values for driver.
- Upgrading the
spec.version.
Starting from CSM version 1.16, users can utilize the
In addition, the introduction of spec.version parameter for automatic image management. No ConfigMap or custom registry configuration needed. For more details click on Advanced Image Configuration Options section.
spec.version enables streamlined, one-click upgrades and supports Operator-managed version transitions, simplifying the overall lifecycle management of the CSM drivers and modules.
NOTES:
-
When upgrading the CSI driver from CSM 1.15 to CSM 1.16, the
spec.versionfield must be added as part of the CSM 1.16 upgrade process.spec: version: v1.16.1
Warning
Don’t update the original CustomResource manifest file with kubectl apply -f. It can overwrite important annotations and cause failures.