Upgrade Guide
This guide provides instructions for upgrading the Scality CSI Driver for S3 to newer versions.
Prerequisites
Before upgrading, ensure all requirements outlined in the Prerequisites guide are met for the target version.
Pre-Upgrade Steps
Step 1. Set namespace variable:
Set the namespace where the driver is currently installed:
1 |
|
Step 2. Check current installation:
1 2 3 4 5 |
|
Step 3. Review changes:
Check the Release Notes for version-specific changes and breaking changes.
Step 4. Dry run upgrade (recommended):
1 2 3 4 5 6 |
|
Upgrade Options
Warning
If any application pods using the S3 buckets as filesystems are restarted during the upgrade they will lose access to the buckets. Once the upgrade is complete, the application pods will automatically regain access to the buckets.
Choose one of the following upgrade options:
Option A: Upgrade with Default Values
For installations using existing configuration:
1 2 3 4 |
|
Option B: Upgrade with Custom Values
For installations with custom configuration file:
1 2 3 4 |
|
Post-Upgrade Verification
Step 1. Check upgrade status:
1 |
|
Step 2. Verify pods are running:
1 |
|
Step 3. Check driver version:
1 |
|
Rollback (If Needed)
Warning
If any application pods using the S3 buckets as filesystems are restarted during the rollback they will lose access to the buckets. Once the rollback is complete, the application pods will automatically regain access to the buckets.
If issues occur after upgrade you can rollback to the previous version using the following steps:
1 2 3 4 5 |
|
Troubleshooting
These are quick checks to verify the upgrade was successful. For detailed troubleshooting, refer to the troubleshooting guide.
Check pod status:
The driver pod should be in a Running
state.
1 |
|
Check CSI driver registration:
1 |
|