4.3. 使用 OLM 升级 3scale Operator


要将 3scale Operator 从单一命名空间升级到基于 Operator 部署的所有命名空间中集群范围的安装,您必须从命名空间中删除 3scale Operator,然后在集群中重新安装 Operator。

集群管理员可以使用 Web 控制台从所选命名空间中删除已安装的 Operator。卸载 Operator 不会卸载现有的 3scale 实例。

从命名空间中卸载 3scale Operator 后,您可以使用 OLM 在集群范围模式下安装 Operator。

先决条件

  • 3scale 管理员权限或具有命名空间删除权限的 OpenShift 角色。

流程

  1. 在 OpenShift Container Platform 控制台中,使用具有管理员特权的帐户登录。

    注意

    菜单结构取决于您使用的 OpenShift 版本:

  2. Operators > OperatorHub。此时会显示安装的 Operator 页面。
  3. Filter by name 中输入 3scale 来找到 Operator 并点它。
  4. Operator Details 页面中,从 Actions 下拉菜单中选择 Uninstall Operator,将其从特定命名空间中删除。
  5. 此时会显示 Uninstall Operator? 对话框,提醒您:

    Removing the operator will not remove any of its custom resource definitions or managed resources. If your operator has deployed applications on the cluster or configured off-cluster resources, these will continue to run and need to be cleaned up manually.
    This action removes the operator as well as the Operator deployments and pods, if any. Any operands and resources managed by the operator, including CRDs and CRs, are not removed. The web console enables dashboards and navigation items for some operators. To remove these after uninstalling the operator, you might need to manually delete the operator CRDs.
    Copy to Clipboard Toggle word wrap
  6. 选择 Uninstall。此 operator 会停止运行,并且不再接收更新。
  7. 在 OpenShift Container Platform 控制台中点 Operators > OperatorHub
  8. Filter by keyword 框中,键入 3scale operator 来查找 3scale 运算符。
  9. 点 3scale operator。这时会显示 Operator 信息。
  10. Install。此时会打开 Install Operator 页面。
  11. Install Operator 页面中,在 Update channel 部分选择要更新的频道。
  12. Installation mode 部分中,选择 All namespaces on the cluster(default)。Operator 将在集群中的所有命名空间中可用。
  13. Subscribe.3scale operator 详情页面会显示,您可以查看 Subscription Overview
  14. 确认订阅升级状态显示为 Up to date
  15. 验证是否显示了 3scale operator ClusterServiceVersion(CSV)。

其它资源

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat