Alauda DevOps Pipelines
OperatorThis document provides instructions for upgrading the Alauda DevOps Pipelines
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 Tekton resources.
Upgrading the Alauda DevOps Pipelines
Operator allows you to access new features, bug fixes, and improvements to the Tekton ecosystem. The Alauda DevOps Pipelines
Operator handles the upgrade of all Tekton components (Pipelines, Triggers, Hub, etc.) according to your configuration.
Before upgrading the Alauda DevOps Pipelines
Operator, ensure you:
Marketplace
/OperatorHub
Access the Marketplace
/OperatorHub
Marketplace
or OperatorHub
sectionLocate the Alauda DevOps Pipelines
Operator
Alauda DevOps Pipelines
in the search barAlauda DevOps Pipelines
cardView Available Versions
Alauda DevOps Pipelines
Operator details page, you'll see information about the currently installed versionChannels
to view all available versionsInitiate the Upgrade
Channel
, switch to the corresponding Channel
in the Subscription
firstChannel
has a newer version available, you will see a prompt:
Confirm
to upgrade.Configure Upgrade Settings (if applicable)
Confirm and Start the Upgrade
Confirm
to begin the processAlauda DevOps Pipelines
Operator while maintaining your custom resourcesMonitor the Upgrade
OperatorHub
interfacetekton-operator
namespace:
Running
state, the operator upgrade is complete.
The operator will then automatically upgrade components such as Pipelines
, Triggers
, Hub
, Chains
, etc.Ready
state, the components upgrade is complete.Verify the Upgrade
Alauda DevOps Pipelines
Operator version has been updated:
VERSION
matches the new version, the upgrade is complete.kubectl
CLIYou can also upgrade the Alauda DevOps Pipelines
Operator using the command line interface. This method is useful for automation or when you prefer CLI-based operations.
Check Current Subscription
Switch to Target Channel
<target-channel>
with the desired channel (e.g., pipelines-4.1
, latest
).Wait for UpgradePending State
UpgradePending
:
state: UpgradePending
in the output.Approve the InstallPlan
When the subscription is in UpgradePending
state, find the corresponding InstallPlan:
Approve the InstallPlan by setting the approved
field to true
:
Replace <installplan-name>
with the actual InstallPlan name from the previous step.
Monitor the Upgrade Progress
Watch the subscription status until it becomes ready:
Check the operator pods status:
Wait until all pods are in Running
state.
Verify the Upgrade
Monitor Component Upgrades
Ready
state.The CLI upgrade process follows the same underlying mechanism as the GUI method. The main difference is that you manually control the channel switching and InstallPlan approval steps.
After the upgrade completes successfully:
Verify Component Status
Test Functionality
Update Custom Resources if Needed
If you encounter issues with the new version, you can roll back to the previous version:
Marketplace
/OperatorHub
interfaceAlauda DevOps Pipelines
OperatorUninstall
the current versionDowngrading 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.
If you encounter issues during or after the upgrade:
Check the Alauda DevOps Pipelines
Operator pod logs:
Verify the status of your Tekton resources:
Ensure that all components have the expected status:
After successfully upgrading the Alauda DevOps Pipelines
Operator: