You can schedule automatic or manual upgrade policies to update the version of your OpenShift Dedicated clusters. Upgrading OpenShift Dedicated clusters can be done through the OpenShift Cluster Manager (OCM) or the OCM CLI.

Understanding OpenShift Dedicated cluster upgrades

When upgrades are made available for your OpenShift Dedicated cluster, you can upgrade to the newest version through the OpenShift Cluster Manager (OCM) or the OCM CLI. You can set your upgrade policies on existing clusters or during cluster creation, and upgrades can be scheduled to occur automatically or manually.

Red Hat Site Reliability Engineers (SRE) will provide a curated list of available versions for your OpenShift Dedicated clusters. For each cluster you will be able to review the full list of available releases, as well as the corresponding release notes. OCM will enable installation of clusters at the latest supported versions, and upgrades can be canceled at any time.

You can also set a grace period for how long PodDisruptionBudget protected workloads are respected during upgrades. After this grace period, any workloads protected by PodDisruptionBudget that have not been successfully drained from a node, will be forcibly deleted.

All Kubernetes objects and PVs in each OpenShift Dedicated cluster are backed up as part of the OpenShift Dedicated service. Application and application data backups are not a part of the OpenShift Dedicated service. Ensure you have a backup policy in place for your applications and application data prior to scheduling upgrades.

Automatic upgrades

Upgrades can be scheduled to occur automatically on a day and time specified by the cluster owner or administrator. Upgrades occur on a weekly basis, unless an upgrade is unavailable for that week.

Automatic upgrade policies are optional and if they are not set, the upgrade policies default to manual.

Manual upgrades

If you opt for manual upgrades, you are responsible for updating your cluster. If your cluster version falls too far behind, it will transition to a limited support status. For more information on OpenShift life cycle policies, see OpenShift Dedicated update life cycle.

Upgrade notifications

From the OCM console you can view your cluster’s history from the Overview tab. The Upgrade states can be viewed in the service log under the Cluster history heading.

Every change of state also triggers an email notification to the cluster owner and subscribed users. You will receive email notifications for the following events:

  • An upgrade has been scheduled.

  • An upgrade has started.

  • An upgrade has completed.

  • An upgrade has been canceled.

For automatic upgrades, you will also receive email notifications before the upgrade occurs based on the following cadence:

  • 2 week notice

  • 1 week notice

  • 1 day notice

Automatically upgrading your cluster through OCM

You can use the OpenShift Cluster Manager (OCM) to automatically upgrade your OpenShift Dedicated cluster on a weekly basis. Based on upstream changes, there might be times when no updates are released. Therefore, no upgrade occurs for that week.

Procedure
  1. From OCM, select your cluster from the clusters list.

  2. Click the Upgrade settings tab to access the upgrade operator.

  3. To schedule automatic upgrades, select Automatic.

  4. Specify the day of the week and the time you want your cluster to upgrade.

  5. Click Save.

  6. Optional: Set a grace period for Node draining by selecting a designated amount of time from the drop down list. A 1 hour grace period is set by default.

  7. To edit an existing automatic upgrade policy, edit the preferred day or start time from the Upgrade Settings tab. Click Save.

  8. To cancel an automatic upgrade policy, switch the upgrade method to manual from the Upgrade Settings tab. Click Save.

On the Upgrade settings tab, the Upgrade status box indicates that an upgrade is scheduled. The date and time of the next scheduled update is listed.

Manually upgrading your cluster through OCM

You can use the OpenShift Cluster Manager (OCM) to manually upgrade your OpenShift Dedicated cluster.

Procedure
  1. From OCM, select your cluster from the clusters list.

  2. Click the Upgrade settings tab to access the upgrade operator. You can also update your cluster from the Overview tab by clicking Update next to the cluster version under the Details heading.

  3. Click Update in the Update Status box.

  4. Select the version you want to upgrade your cluster to. Recommended cluster upgrades will be notated in the UI. To learn more about each available upgrade version, click View release notes.

  5. Click Next.

  6. To schedule your upgrade:

    • Click Upgrade now to upgrade within the next hour.

    • Click Schedule a different time and specify the date and time that you want the cluster to upgrade.

  7. Click Next.

  8. Review the upgrade policy and click Confirm upgrade.

  9. A confirmation appears when the cluster upgrade has been scheduled. Click Close.

  10. Optional: Set a grace period for Node draining by selecting a designated amount of time from the drop down list. A 1 hour grace period is set by default.

From the Overview tab, next to the cluster version, the UI notates that the upgrade has been scheduled. Click View details to view the upgrade details. If you need to cancel the scheduled upgrade, you can click Cancel this upgrade from the View Details pop-up.

The same upgrade details are available on the Upgrade settings tab under the Upgrade status box. If you need to cancel the scheduled upgrade, you can click Cancel this upgrade from the Upgrade status box.

In the event that a CVE or other critical issue to OpenShift Dedicated is found, all clusters are upgraded within 48 hours of the fix being released. You are notified when the fix is available and informed that the cluster will be automatically upgraded at your latest preferred start time before the 48 hour window closes. You can also upgrade manually at any time before the automatic upgrade starts.