Skip to main content
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

使用 tridentctl 升级

您可以使用 tridentctl 轻松升级现有 Trident 安装。

关于此任务

卸载和重新安装 Trident 相当于升级。卸载 Trident 时,不会删除 Trident 部署使用的 Persistent Volume Claim (PVC) 和 Persistent Volume (PV)。已配置的 PV 将在 Trident 脱机时保持可用,Trident 将在恢复联机后为在此期间创建的任何 PVC 配置卷。

开始之前

在使用 `tridentctl`进行升级之前,请先"选择升级方法"审核。

步骤
  1. 在 `tridentctl`中运行卸载命令,以删除与 Trident 关联的所有资源,但 CRD 和相关对象除外。

    ./tridentctl uninstall -n <namespace>
  2. 重新安装 Trident。请参见 "使用 tridentctl 安装 Trident"

重要说明 不要中断升级过程。确保安装程序运行完成。