1.5. Rolling back an Operator upgrade


To roll back an Operator upgrade, you must perform the steps described in one of the following sections. You can roll back an Operator upgrade by using the CLI or the OpenShift Container Platform web console.

注意

If you are rolling back from RHACS 4.0, you can only roll back to the latest patch release version of RHACS 3.74.

1.5.1. Rolling back an Operator upgrade by using the CLI

You can roll back the Operator version by using command-line interface (CLI) commands.

Procedure

  1. Delete the Operator Lifecycle Manager (OLM) subscription and cluster service version (CSV):

    注意

    If you use Kubernetes, enter kubectl instead of oc.

    1. To delete the OLM subscription, run the following command:

      $ oc -n rhacs-operator delete subscription rhacs-operator

      Example output

      subscription.operators.coreos.com "rhacs-operator" deleted

    2. To delete the CSV, run the following command:

      $ oc -n rhacs-operator delete csv -l operators.coreos.com/rhacs-operator.rhacs-operator

      Example output

      clusterserviceversion.operators.coreos.com "rhacs-operator.v4.8.4" deleted

  2. Install the previous version of the RHACS Operator:

    1. In the OpenShift web console, click OperatorHub.
    2. Search for Advanced Cluster Security for Kubernetes.
    3. Select and install the previous version of the Operator.

      注意

      Installing the previous Operator version rolls back RHACS to the same version as the Operator.

You can roll back the Operator version by using the OpenShift Container Platform web console.

Prerequisites

  • You have access to an OpenShift Container Platform cluster web console using an account with cluster-admin permissions.

Procedure

  1. In the OpenShift web console, click Operators Installed Operators.
  2. From the list of projects, select rhacs-operator.
  3. Locate the Advanced Cluster Security for Kubernetes Operator:

    1. Click the overflow menu kebab Uninstall Operator.

      The uninstall Operator dialog is displayed.

    2. Ensure that the Delete all operand instances for this operator checkbox is clear to avoid uninstallation of Red Hat Advanced Cluster Security for Kubernetes (RHACS).
    3. Click Uninstall.
  4. Install the previous version of RHACS Operator:

    1. In the OpenShift web console, click OperatorHub.
    2. Search for Advanced Cluster Security for Kubernetes.
    3. Select and install the previous version of the Operator.

      注意

      Installing the previous Operator version rolls back RHACS to the same version as the Operator.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部