Upgrading the agent relay running as a container
You can upgrade agent relays that are running as containers by preparing a backup and using helm upgrade.
Before you begin
Procedure
-
Prepare a backup:
- Cancel or wait for all running deployment processes to complete.
-
Set the agent relay statefulset resource to
0to stop the agent relay. -
Back up the
confPersistent Volume. -
Scale the agent relay statefulset resource back to
1to restart the agent relay.
- Perform a Helm upgrade on the agent relay.
-
Verify that deployment processes operate correctly.
If issues arise, proceed to the rollback steps.
-
Roll back the upgrade, if required:
- Cancel or wait for all running deployment processes to complete.
-
Set the agent relay statefulset resource to
0to stop the agent relay. -
Restore the
confdirectory backup to the Persistent Volume. - Perform a Helm rollback to the previous revision of the agent relay.
-
Set the agent relay statefulset to
1and verify that your deployment processes operate correctly after the rollback.