Upgrading Alauda DevOps Connectors Operator
This document provides instructions for upgrading the Alauda DevOps Connectors Operator to a newer version using the Marketplace/OperatorHub interface in your cluster. The upgrade process is designed to be straightforward while ensuring minimal disruption to existing resources.
TOC
Upgrade OverviewBefore You BeginUpgrade ProcessUsingMarketplace/OperatorHubPost-Upgrade StepsRollback ProcedureTroubleshootingNext StepsUpgrade Overview
Upgrading the Alauda DevOps Connectors Operator allows you to access new features, bug fixes, and improvements to its components. The Alauda DevOps Connectors Operator handles the upgrade of all components according to your configuration.
Before You Begin
Before upgrading the Alauda DevOps Connectors Operator, ensure you:
- Have administrative access to your cluster
- Review the release notes for the new version to understand any breaking changes
- Verify that your existing Connector components configurations are compatible with the new version
- Confirm that all current components are in a ready state
Upgrade Process
Using Marketplace/OperatorHub
-
Access the
Marketplace/OperatorHub- Log in to your cluster's management console
- Navigate to the
MarketplaceorOperatorHubsection
-
Locate the
Alauda DevOps ConnectorsOperator- Search for
Alauda DevOps Connectorsin the search bar - Click on the
Alauda DevOps Connectorscard
- Search for
-
View Available Versions
- On the
Alauda DevOps ConnectorsOperator details page, you'll see information about the currently installed version - The interface will indicate if a newer version is available
- You can click different
Channelsto view all available versions
- On the
-
Initiate the Upgrade
- If the target version is in a different
Channel, switch to the correspondingChannelin theSubscriptionfirst - If the current
Channelhas a newer version available, you will see a prompt:- New Version Detected
- To upgrade only the current Operator, click
Confirmto upgrade.
- To upgrade only the current Operator, click
- New Version Detected
- If the target version is in a different
-
Configure Upgrade Settings (if applicable)
- Some upgrades may present configuration options
- In most cases, the default settings will preserve your existing configuration
-
Confirm and Start the Upgrade
- Click
Confirmto begin the process - Review the upgrade details and confirm your selection
- The system will update the
Alauda DevOps ConnectorsOperator while maintaining your custom resources
- Click
-
Monitor the Upgrade
- The upgrade progress will be displayed in the
OperatorHubinterface - You can also check the status in the
connectors-operatornamespace:When all pods are inRunningstate, the operator upgrade is complete. The operator will then automatically upgrade components such asConnectorCore,ConnectorsGit,ConnetorsOCI, etc. - Check the components upgrade status:
When all components and pods are in
Readystate, the components upgrade is complete.
- The upgrade progress will be displayed in the
-
Verify the Upgrade
- Check that the
Alauda DevOps ConnnectorsOperator version has been updated:When theVERSIONmatches the new version, the upgrade is complete. - Verify that all Connector components are functioning correctly
- Check that the
Post-Upgrade Steps
After the upgrade completes successfully:
-
Verify Component Status
- Check that all Connectors components have been updated:
- Check that all Connectors components have been updated:
-
Test Functionality
- Run a job using connector csi or deploy an app pulling the image through oci connector to verify that the system is working correctly
- Ensure that all existing integrations continue to function
-
Update Custom Resources if Needed
- If the new version introduces changes to CRDs, you may need to update your custom resources
- Refer to the release notes for specific migration steps
Rollback Procedure
If you encounter issues with the new version, you can roll back to the previous version:
- Return to the
Marketplace/OperatorHubinterface - Select the
Alauda DevOps ConnectorsOperator Uninstallthe current version- Choose the previous version from the version list
- Follow the installation process for that version
Downgrading may require additional steps to ensure compatibility of your resources with the older version.
This depends on the differences between the version you upgraded from and the version you upgraded to. If the differences are large, you may need to manually migrate resources.
Troubleshooting
If you encounter issues during or after the upgrade:
-
Check the
Alauda DevOps ConnectorsOperator pod logs: -
Verify the status of Connector resource, i.e. ConnectorCore:
Next Steps
After successfully upgrading the Alauda DevOps Connectors Operator:
- Explore new features introduced in the latest version
- Consider enabling additional components that may be available in the new version