Update & Rollback

This feature lets you upgrade your Edge Agent deployments directly from Portainer, without the need to log into the remote environments and manually update.

To view your currently scheduled updates or schedule a new update process, from the menu expand Environment-related then select Update & Rollback.

Here you will see a list of your pending and completed updates and rollbacks, including schedule time, edge groups included in the schedule, the create date of the schedule, and status indicators to show the amount of environments in each state for the update or rollback. You can edit or remove schedules using the respective icons to the right of each schedule.

Clicking on the name of a schedule will take you to a details view of that schedule. In this view you can click on the arrow next to each individual environment to display details on the status of that environment in the schedule.

Schedule an update

To add a new update schedule, click the Add update & rollback schedule button, then fill out the form.

To schedule an update, Portainer must have a snapshot of all the environments you wish to upgrade.

Field/Option
Overview

Name

Enter a name for the scheduled update.

Groups

Select the Edge Group(s) containing the Edge devices you want to update. You can configure these groups under Edge Groups.

Version

Ensure the Update tab is selected, then select the version you want to upgrade to from the dropdown.

Schedule date & time

Select a date and time to schedule the update. When upgrading from a version prior to 2.17, this field will be unavailable and the upgrade will take place immediately on creation of the schedule.

Registry

If needed, you can select the registry to pull the updated Portainer Agent and portainer-updater images from. This functionality is useful if you are running in an airgapped environment.

Agent Image

If you need to use a different name for the Portainer Agent image you can specify it here.

Updater Image

If you need to use a different name for the portainer-updater image you can specify it here.

When you're ready, click Create Schedule to schedule the update. You will be returned to the Update & Rollback page where you can check the status of your scheduled update.

Schedule a rollback

To schedule the rollback of an update, click the Add update & rollback schedule button, then fill out the form.

To schedule a rollback, Portainer must have a snapshot of all the environments you wish to roll back.

Field/Option
Overview

Name

Enter a name for the scheduled rollback.

Group

Select the Edge Group(s) containing the Edge devices you want to roll back. You can configure these groups under Edge Groups.

Version

Ensure the Rollback tab is selected, then select the version you want to roll back to from the dropdown. This dropdown is only available when multiple rollback versions are available.

Schedule date & time

Select a date and time to schedule the rollback.

Registry

If needed, you can select the registry to pull the Portainer Agent and portainer-updater images from. This functionality is useful if you are running in an airgapped environment.

Agent Image

If you need to use a different name for the Portainer Agent image you can specify it here.

Updater Image

If you need to use a different name for the portainer-updater image you can specify it here.

When you're ready, click Create Schedule to schedule the rollback. You will be returned to the Update & Rollback page where you can check the status of your scheduled rollback.

Last updated

Was this helpful?