diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rollbacks.md b/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rollbacks.md index 40d343e15d2..38f344862b8 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rollbacks.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rollbacks.md @@ -35,7 +35,7 @@ title: 回滚 1. 在左侧导航栏中,点击 **Rancher 备份 > 还原**。 :::note - 如果 Rancher Backups 应用不可见,你需要到**应用 & 应用市场**的 Charts 页面中安装应用。详情请参见[此处](../../../pages-for-subheaders/helm-charts-in-rancher.md#charts)。 + 如果 Rancher Backups 应用不可见,你需要到 **Apps** 的 Charts 页面中安装应用。详情请参见[此处](../../../pages-for-subheaders/helm-charts-in-rancher.md#charts)。 ::: diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/installation-and-upgrade/resources/update-rancher-certificate.md b/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/installation-and-upgrade/resources/update-rancher-certificate.md index 7697cd29286..d883819a34e 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/installation-and-upgrade/resources/update-rancher-certificate.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/installation-and-upgrade/resources/update-rancher-certificate.md @@ -58,6 +58,25 @@ kubectl -n cattle-system create secret generic tls-ca \ ### 3. 重新配置 Rancher 部署 +如果证书源保持不变(例如,`secret`),请按照步骤 3a 中的步骤操作。 + +但是,如果证书源发生变化(例如,`letsEncrypt` 更改为 `secret`),请按照 3b 中的步骤操作。 + +#### 3a. 重新部署 Rancher pod + +当证书源保持不变,但需要更新 CA 证书时,需要执行此步骤。 + +在这种情况下,由于 `tls-ca` secret 在启动时由 Rancher pod 读取,因此你需要重新部署 Rancher pod。 + +你可以运行以下命令重新部署 Rancher pod: +```bash +kubectl rollout restart deploy/rancher -n cattle-system +``` + +修改完成后,访问 `https:///v3/settings/cacerts`,验证该值是否与先前写入 `tls-ca` Secret 中的 CA 证书匹配。在所有重新部署的 Rancher pod 启动之前,CA `cacerts` 值可能不会更新。 + +#### 3b. 更新 Rancher 的 Helm 值 + 如果证书源有更改,则需要执行此步骤。如果你的 Rancher 之前使用默认的自签名证书 (`ingress.tls.source=rancher`) 或 Let's Encrypt (`ingress.tls.source=letsEncrypt`) 证书,并且现在正在使用由私有 CA (`ingress.tls.source=secret`) 签名的证书。 以下步骤更新了 Rancher Chart 的 Helm 值,因此 Rancher pod 和 ingress 会使用在步骤 1 和 2 中创建的新私有 CA 证书。 @@ -103,7 +122,7 @@ privateCA: true #### 可使用的方法 -- 方法 1(最简单的方法):在轮换证书后将所有集群连接到 Rancher。适用于更新 Rancher 部署(步骤 3)后立即执行的情况。 +- 方法 1(最简单的方法):在轮换证书后将所有集群连接到 Rancher。适用于更新或重新部署 Rancher 部署(步骤 3)后立即执行的情况。 - 方法 2:适用于集群与 Rancher 失去连接,但所有集群都启用了 [Authorized Cluster Endpoint](../../../how-to-guides/new-user-guides/manage-clusters/access-clusters/authorized-cluster-endpoint) (ACE) 的情况。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/quick-start-guides/deploy-rancher-manager/prime.md b/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/quick-start-guides/deploy-rancher-manager/prime.md new file mode 100644 index 00000000000..58c804d413d --- /dev/null +++ b/i18n/zh/docusaurus-plugin-content-docs/current/getting-started/quick-start-guides/deploy-rancher-manager/prime.md @@ -0,0 +1,7 @@ +--- +title: Rancher Prime +--- + +Rancher v2.7 引入了 Rancher Prime,这是一款专注于安全性的 Rancher 产品。Rancher Prime 是使用相同源代码构建的新版 Rancher。使用 Rancher Prime,安装 asset 会托管在由 Rancher 管理的安全可信镜像仓库中。 + +要开始使用 Rancher Prime,请[转到此页面](https://www.rancher.com/quick-start)并填写表格。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/cis-scan-guides/install-rancher-cis-benchmark.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/cis-scan-guides/install-rancher-cis-benchmark.md index 996cc907e21..7afde5809b2 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/cis-scan-guides/install-rancher-cis-benchmark.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/cis-scan-guides/install-rancher-cis-benchmark.md @@ -4,7 +4,7 @@ title: 安装 Rancher CIS Benchmark 1. 在左上角,单击 **☰ > 集群管理**。 1. 在**集群**页面上,转到要安装 CIS Benchmark 的集群,然后单击 **Explore**。 -1. 在左侧导航栏中,单击**应用 & 应用市场 > Charts**。 +1. 在左侧导航栏中,单击 **Apps > Charts**。 1. 单击 **CIS Benchmark**。 1. 单击**安装**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/cis-scan-guides/uninstall-rancher-cis-benchmark.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/cis-scan-guides/uninstall-rancher-cis-benchmark.md index 4205d654324..83d36169627 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/cis-scan-guides/uninstall-rancher-cis-benchmark.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/cis-scan-guides/uninstall-rancher-cis-benchmark.md @@ -2,7 +2,7 @@ title: 卸载 Rancher CIS Benchmark --- -1. 在**集群**仪表板中,单击左侧导航的**应用 & 应用市场 > 已安装的应用**。 +1. 在**集群**仪表板中,单击左侧导航的 **Apps > Installed Apps**。 1. 前往 `cis-operator-system` 命名空间,并选中 `rancher-cis-benchmark-crd` 和 `rancher-cis-benchmark` 旁边的框。 1. 单击**删除**并确认**删除**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/istio-setup-guide/enable-istio-in-cluster.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/istio-setup-guide/enable-istio-in-cluster.md index c44447ac47c..39c9bdee036 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/istio-setup-guide/enable-istio-in-cluster.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/istio-setup-guide/enable-istio-in-cluster.md @@ -13,7 +13,7 @@ title: 1. 在集群中启用 Istio 1. 点击 **☰ > 集群管理**。 1. 转到要启用 Istio 的位置,然后单击 **Explore**。 -1. 单击**应用 & 应用市场**。 +1. 单击 **Apps**。 1. 单击 **Chart**。 1. 单击 **Istio**。 1. 如果你还没有安装 Monitoring 应用,系统会提示你安装 rancher-monitoring。你也可以选择在 Rancher-monitoring 安装上设置选择器或抓取配置选项。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/enable-monitoring.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/enable-monitoring.md index 997a94916f5..48402a1a277 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/enable-monitoring.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/enable-monitoring.md @@ -29,7 +29,7 @@ rkeEtcd: # 设置资源限制和请求 -安装 `rancher-monitoring` 时可以配置资源请求和限制。要从 Rancher UI 配置 Prometheus 资源,请单击左上角的**应用 & 应用市场 > 监控**。 +安装 `rancher-monitoring` 时可以配置资源请求和限制。要从 Rancher UI 配置 Prometheus 资源,请单击左上角的 **Apps > Monitoring**。 有关默认限制的更多信息,请参阅[此页面](../../../reference-guides/monitoring-v2-configuration/helm-chart-options.md#配置资源限制和请求)。 @@ -52,7 +52,7 @@ rkeEtcd: - 将 `ca`、`cert` 和 `key` 文件添加到密文中。 1. 在左上角,单击 **☰ > 集群管理**。 1. 在**集群**页面上,转到要启用 Monitoring 以与 SSL 一起使用的集群,然后单击 **Explore**。 -1. 单击**应用 & 应用市场 > Chart**。 +1. 单击 **Apps > Charts**。 1. 单击 **Monitoring**。 1. 根据你是否已安装 Monitoring,单击**安装**或**更新**。 1. 选中**在安装前自定义 Helm 选项**,然后单击**下一步**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/prometheus-federator-guides/uninstall-prometheus-federator.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/prometheus-federator-guides/uninstall-prometheus-federator.md index 0184308ff14..c6b04a736bb 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/prometheus-federator-guides/uninstall-prometheus-federator.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/prometheus-federator-guides/uninstall-prometheus-federator.md @@ -4,7 +4,7 @@ title: 卸载 Prometheus Federator 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 -1. 在左侧导航栏中,点击**应用 & 应用市场**。 +1. 在左侧导航栏中,点击 **Apps**。 1. 点击**已安装的应用**。 1. 转到 `cattle-monitoring-system` 命名空间并选中 `rancher-monitoring-crd` 和 `rancher-monitoring`。 1. 单击**删除**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/uninstall-monitoring.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/uninstall-monitoring.md index 79fa5d6a9f9..06845311909 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/uninstall-monitoring.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/advanced-user-guides/monitoring-alerting-guides/uninstall-monitoring.md @@ -4,7 +4,7 @@ title: 卸载 Monitoring 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 -1. 在左侧导航栏中,点击**应用 & 应用市场**。 +1. 在左侧导航栏中,点击 **Apps**。 1. 点击**已安装的应用**。 1. 转到 `cattle-monitoring-system` 命名空间并选中 `rancher-monitoring-crd` 和 `rancher-monitoring`。 1. 单击**删除**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-cluster-templates.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-cluster-templates.md index 289e5a4a173..aab31875ab2 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-cluster-templates.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-cluster-templates.md @@ -24,7 +24,7 @@ RKE2 集群模板的示例仓库在[这里](https://github.com/rancher/cluster-t ## 向 Rancher 添加集群模板 -在本节中,你将学习如何将集群模板添加到`本地`集群的 Chart 仓库列表中。这样,当用户安装新的 Kubernetes 集群时,Rancher 将提供集群模板的选项。 +在本节中,你将学习如何将集群模板添加到 `local` 集群的 Chart 仓库列表中。这样,当用户安装新的 Kubernetes 集群时,Rancher 将提供集群模板的选项。 :::note 先决条件: @@ -37,16 +37,16 @@ RKE2 集群模板的示例仓库在[这里](https://github.com/rancher/cluster-t 1. 复刻仓库。 1. 可选:通过编辑 `values.yaml` 文件来编辑集群选项。有关编辑文件的帮助,请参阅集群模板的 Helm Chart 自述文件。 1. 将 Chart 仓库添加到 Rancher。点击 **☰ > 集群管理**。 -1. 转到`本地`集群并单击 **Explore**。 -1. 在左侧导航栏中,单击**应用 & 应用市场 > Chart 仓库。** +1. 转到 `local` 集群并单击 **Explore**。 +1. 在左侧导航栏中,单击 **Apps > Chart Repositories**。 1. 点击**创建**。 1. 输入集群模板仓库的名称。 1. 点击**包含 Helm Chart 定义的 Git 仓库**。 1. 在 **Git 仓库 URL**字段,输入仓库的 URL,例如,`https://github.com/rancher/cluster-template-examples.git`。 -1. 在**Git 分支**字段,输入要用作模板源的分支。Rancher 的示例仓库使用了 `main` 分支。 +1. 在 **Git 分支**字段,输入要用作模板源的分支。Rancher 的示例仓库使用了 `main` 分支。 1. 点击**创建**。 -**结果**:集群模板可从 Rancher 的`本地`集群中的**应用 & 应用市场**获得。现在,你可以使用模板来部署集群。 +**结果**:集群模板可从 Rancher `local` 集群中的 **Apps** 获得。现在,你可以使用模板来部署集群。 :::note 受限管理员访问: @@ -73,7 +73,7 @@ RKE2 集群模板的示例仓库在[这里](https://github.com/rancher/cluster-t ## 更新使用集群模板创建的集群 -如果集群所用的模板有了新版本,你可以使用**应用 & 应用市场 > 已安装的应用**页面中的模板更新集群。 +如果集群所用的模板有了新版本,你可以使用 **Apps > Installed Apps** 页面中的模板更新集群。 ## 使用 Fleet 从模板部署集群 @@ -97,13 +97,13 @@ RKE2 集群模板的示例仓库在[这里](https://github.com/rancher/cluster-t ## 卸载集群模板 1. 点击 **☰ > 集群管理**。 -1. 前往`本地`集群并单击**应用 & 应用市场 > Chart 仓库**。 +1. 前往 `local` 集群并单击 **Apps > Chart Repositories**。 1. 转到集群模板的 Chart 仓库,然后单击 **⋮ > 删除。** 1. 确认删除。 **结果**:集群模板已卸载。此操作不会影响使用集群模板创建的现有集群。 -能够访问`本地`集群的管理员还可以前往**应用 & 应用市场 > 已安装的应用**页面,通过集群模板来移除已部署的集群。 +能够访问 `local` 集群的管理员还可以前往 **Apps > Installed Apps** 页面,通过集群模板来移除已部署的集群。 ## 配置选项 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-rancher.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-rancher.md index 26a37bf5500..f4f717312fe 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-rancher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-rancher.md @@ -28,7 +28,7 @@ Rancher 必须是 2.5.0 或更高版本。 1. 在左上角,单击 **☰ > 集群管理**。 1. 在**集群**页面上,转到 `local` 集群并单击 **Explore**。Rancher Server 运行在 `local` 集群中。 -1. 单击**应用 & 应用市场 > Chart**。 +1. 单击 **Apps > Charts**。 1. 点击 **Rancher 备份**。 1. 单击**安装**。 1. 配置默认存储位置。如需获取帮助,请参见[存储配置](../../../reference-guides/backup-restore-configuration/storage-configuration.md)。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps.md index 897ebd36a58..4bfb7b0bdc0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps.md @@ -25,7 +25,7 @@ title: 多集群应用 1. 在左上角,单击 **☰ > 全局设置**。 1. 单击**功能开关**。 -1. 转到`旧版应用`功能开关并单击**激活**。 +1. 转到 `Legacy` 功能开关并单击**激活**。 ## 启动多集群应用 @@ -146,7 +146,7 @@ Rancher 允许你选择**项目**或**集群**的角色选项。Rancher 将允 :::note 先决条件: -`旧版应用`功能开关已启用。 +`Legacy` 功能开关已启用。 ::: @@ -162,7 +162,7 @@ Rancher 允许你选择**项目**或**集群**的角色选项。Rancher 将允 :::note 先决条件: -`旧版应用`功能开关已启用。 +`Legacy` 功能开关已启用。 ::: diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-cluster-setup/rke2-for-rancher.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-cluster-setup/rke2-for-rancher.md index 6d55d78088a..52128abb76d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-cluster-setup/rke2-for-rancher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-cluster-setup/rke2-for-rancher.md @@ -43,7 +43,7 @@ tls-san: 之后,运行安装命令并启用和启动 RKE2: ``` -curl -sfL https://get.rke2.io | INSTALL_RKE2_CHANNEL=v1.20 sh - +curl -sfL https://get.rke2.io | sh - systemctl enable rke2-server.service systemctl start rke2-server.service ``` diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/configure-out-of-tree-vsphere.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/configure-out-of-tree-vsphere.md index 430d08fc1e6..b1f584639a0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/configure-out-of-tree-vsphere.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/configure-out-of-tree-vsphere.md @@ -34,7 +34,7 @@ Kubernetes 版本必须为 1.19 或更高版本。 1. 点击 **☰ > 集群管理**。 1. 转到将安装 vSphere CPI 插件的集群,然后单击 **Explore**。 -1. 单击**应用 & 应用市场 > Chart**。 +1. 单击 **Apps > Charts**。 1. 单击 **vSphere CPI**。 1. 填写所需的 vCenter 详细信息。 1. vSphere CPI 使用 vSphere CSI 驱动所需的 ProviderID 来初始化所有节点。在使用以下命令安装 CSI 驱动之前,检查是否所有节点都使用 ProviderID 进行了初始化: @@ -47,7 +47,7 @@ Kubernetes 版本必须为 1.19 或更高版本。 1. 点击 **☰ > 集群管理**。 1. 转到将安装 vSphere CSI 插件的集群,然后单击 **Explore**。 -1. 单击**应用 & 应用市场 > Chart**。 +1. 单击 **Apps > Charts**。 1. 单击 **vSphere CSI**。 1. 单击**安装**。 1. 填写所需的 vCenter 详细信息。在**功能**选项卡中,将**启用 CSI 迁移**设置为 **false**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree.md index 54dfe617868..6d0b408f1dd 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree.md @@ -58,7 +58,7 @@ chmod +x taints.sh 1. 点击 **☰ > 集群管理**。 1. 转到将安装 vSphere CPI chart 的集群,然后单击 **Explore**。 -1. 单击**应用 & 应用市场 > Chart**。 +1. 单击 **Apps > Charts**。 1. 单击 **vSphere CPI**。 1. 单击**安装**。 1. 填写所需的 vCenter 详细信息,然后单击**安装**。 @@ -75,7 +75,7 @@ kubectl describe nodes | grep "ProviderID" 1. 点击 **☰ > 集群管理**。 1. 转到将安装 vSphere CSI chart 的集群,然后单击 **Explore**。 -1. 单击**应用 & 应用市场 > Chart**。 +1. 单击 **Apps > Charts**。 1. 单击 **vSphere CSI**。 1. 单击**安装**。 1. 填写所需的 vCenter 详细信息,然后单击**安装**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-resources-setup/kubernetes-and-docker-registries.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-resources-setup/kubernetes-and-docker-registries.md index 4d355a7fc2e..cf35ca3d921 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-resources-setup/kubernetes-and-docker-registries.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-resources-setup/kubernetes-and-docker-registries.md @@ -56,7 +56,7 @@ Deployment 使用 Kubernetes 镜像仓库密文向私有 Docker 镜像仓库进 1. 在左上角,单击下拉菜单中的 **☰ > 全局设置**。 1. 单击**功能开关**。 -1. 转到`旧版应用`功能开关并单击**激活**。 +1. 转到 `Legacy` 功能开关并单击**激活**。 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要添加镜像仓库的集群,然后单击 **Explore**。 1. 在左侧导航中,单击**存储 > 密文**或**更多资源 > 核心 > 密文**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-resources-setup/secrets.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-resources-setup/secrets.md index 79e2e607709..de23af260b9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-resources-setup/secrets.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/kubernetes-resources-setup/secrets.md @@ -53,10 +53,10 @@ title: 密文 1. 在左上角,单击下拉菜单中的 **☰ > 全局设置**。 1. 单击**功能开关**。 -1. 转到`旧版应用`功能开关并单击**激活**。 +1. 转到 `Legacy` 功能开关并单击**激活**。 1. 点击左上角下拉菜单中的 **☰ > 集群管理**。 1. 转到你创建的集群,然后单击 **Explore**。 -1. 单击**旧版 > 项目**。 +1. 单击 **Legacy > 项目**。 1. 在顶部导航栏中进行过滤,从而仅查看一个项目。 1. 在左侧导航栏中,单击**密文**。 1. 单击**添加密文**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/configuration-options/install-istio-on-rke2-cluster.md b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/configuration-options/install-istio-on-rke2-cluster.md index 235626a0234..aabe0e791b2 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/configuration-options/install-istio-on-rke2-cluster.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/configuration-options/install-istio-on-rke2-cluster.md @@ -2,7 +2,7 @@ title: 在 RKE2 集群上安装 Istio 的其他步骤 --- -通过**应用 & 应用市场**页面安装或升级 Istio Helm Chart 时: +通过 **Apps** 页面安装或升级 Istio Helm Chart 时: 1. 如果要安装 Chart,请单击**在安装前自定义 Helm 选项**,然后单击**下一步**。 1. 你将看到配置 Istio Helm Chart 的选项。在**组件**选项卡上,选中**启用 CNI** 旁边的框。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/configuration-options/pod-security-policies.md b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/configuration-options/pod-security-policies.md index bdbaace0657..2ceed9acdce 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/configuration-options/pod-security-policies.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/configuration-options/pod-security-policies.md @@ -33,7 +33,7 @@ Istio CNI 插件不再要求每个应用 pod 具有特权 `NET_ADMIN` 容器。 ### 2. 启用 CNI -通过**应用 & 应用市场**安装或升级 Istio 时: +通过 **Apps** 安装或升级 Istio 时: 1. 单击**组件**。 2. 选中**启用 CNI**旁边的框。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/cpu-and-memory-allocations.md b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/cpu-and-memory-allocations.md index 9166ca58f50..3a19c21dcc5 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/cpu-and-memory-allocations.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/cpu-and-memory-allocations.md @@ -38,7 +38,7 @@ Kubernetes 中的资源请求指的是,除非该节点至少具有指定数量 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 -1. 在左侧导航栏中,点击**应用 & 应用市场**。 +1. 在左侧导航栏中,点击 **Apps**。 1. 点击**已安装的应用**。 1. 转到 `istio-system` 命名空间。在某个 Istio 工作负载中(例如 `rancher-istio`),点击**⋮ > 编辑/升级**。 1. 点击**升级**,然后通过更改 values.yaml 或添加[覆盖文件](../../pages-for-subheaders/configuration-options.md#覆盖文件)来编辑基本组件。有关编辑覆盖文件的更多信息,请参阅[本节](cpu-and-memory-allocations.md#编辑覆盖文件)。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/disable-istio.md b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/disable-istio.md index 6d06b0f29c6..66e0b1eb9b1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/disable-istio.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/istio/disable-istio.md @@ -10,7 +10,7 @@ title: 禁用 Istio 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 -1. 在左侧导航栏中,单击**应用 & 应用市场 > 已安装的应用**。 +1. 在左侧导航栏中,单击 **Apps > Installed Apps**。 1. 在 `istio-system` 命名空间中,转到 `rancher-istio` 并单击 **⋮ > 删除**。 1. 删除 `rancher-istio` 后,选择 `istio-system` 命名空间中所有剩余的应用,然后单击**删除**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/longhorn.md b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/longhorn.md index ead5a6e4ad1..ea34d0938ae 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/longhorn.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/longhorn.md @@ -25,7 +25,7 @@ Longhorn 是免费的开源软件。Longhorn 最初由 Rancher Labs 开发,现 1. 满足所有[安装要求](https://longhorn.io/docs/latest/deploy/install/#installation-requirements)。 1. 转到要安装 Longhorn 的集群。 -1. 单击**应用 & 应用市场**。 +1. 单击 **Apps**。 1. 单击 **Chart**。 1. 点击 **Longhorn**。 1. 可选:要自定义初始设置,请单击 **Longhorn 默认设置**并编辑配置。如需自定义设置的帮助,请参阅 [Longhorn 文档](https://longhorn.io/docs/latest/references/settings/)。 @@ -42,7 +42,7 @@ Longhorn 是免费的开源软件。Longhorn 最初由 Rancher Labs 开发,现 ### 从 Rancher UI 卸载 Longhorn -1. 转到安装了 Longhorn 的集群,然后单击**应用 & 应用市场**。 +1. 转到安装了 Longhorn 的集群,然后单击 **Apps**。 1. 点击**已安装的应用**。 1. 转到 `longhorn-system` 命名空间并选中 `longhorn` 和 `longhorn-crd` 应用程序旁边的框。 1. 单击**删除**并确认**删除**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/neuvector.md b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/neuvector.md index 37b0aa65327..2ef47543b38 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/neuvector.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/neuvector.md @@ -6,17 +6,17 @@ title: NeuVector 集成 [NeuVector 5.x](https://open-docs.neuvector.com/) 是一个开源的,以容器为中心的安全应用程序,Rancher 2.6.5 现已集成 NeuVector。NeuVector 在运行时为关键应用程序和数据提供实时的合规、可见和保护功能。NeuVector 提供具有 CIS Benchmark 和漏洞扫描的防火墙、容器进程/文件系统监控和安全审计。有关 Rancher 安全性的更多信息,请参阅[安全文档](../pages-for-subheaders/rancher-security.md)。 -NeuVector 可以通过 Helm Chart 启用。你可以在**应用 & 应用市场**或 Rancher UI 中的**集群工具**中安装该 Chart。安装 Helm Chart 后,用户可以轻松地[在 Rancher 中部署和管理 NeuVector 集群](https://open-docs.neuvector.com/deploying/rancher#deploy-and-manage-neuvector-through-rancher-apps-marketplace)。 +NeuVector 可以通过 Helm Chart 启用。你可以在 **Apps** 或 Rancher UI 中的 **Cluster Tools** 中安装该 Chart。安装 Helm Chart 后,用户可以轻松地[在 Rancher 中部署和管理 NeuVector 集群](https://open-docs.neuvector.com/deploying/rancher#deploy-and-manage-neuvector-through-rancher-apps-marketplace)。 ### 使用 Rancher 安装 NeuVector Harvester Helm Chart 用于管理 Rancher 中 NeuVector UI 的访问,用户可以在 Rancher 中直接跳转,然后部署和管理 NeuVector 集群。 -**通过"应用 & 应用市场"导航并安装 NeuVector Chart**: +**通过 "Apps" 导航并安装 NeuVector Chart**: 1. 点击 **☰ > 集群管理**。 1. 在 Clusters 页面上,转到要部署 NeuVector 的集群,然后单击 **Explore**。 -1. 转到 **应用 & 应用市场 > Charts**,然后从 Chart 仓库中安装 **NeuVector**。 +1. 转到 **Apps > Charts**,然后从 Chart 仓库中安装 **NeuVector**。 1. 不同的集群类型需要不同的容器运行时。配置 Helm Chart 值时,转到**容器运行时**,然后根据集群类型选择运行时。最后,再次单击**安装**。 以下是一些例子: @@ -47,10 +47,10 @@ Harvester Helm Chart 用于管理 Rancher 中 NeuVector UI 的访问,用户可 ### 从 Rancher UI 卸载 NeuVector -**通过"应用 & 应用市场"卸载**: +**通过 "Apps" 卸载**: 1. 点击 **☰ > 集群管理**。 -1. 在**应用 & 应用市场**下,点击**已安装的应用**。 +1. 在 **Apps** 下,点击 **Installed Apps**。 1. 在 `cattle-neuvector-system` 下,选择 NeuVector 应用程序(如果需要,还可以选择相关的 CRD),然后单击**删除**。 **通过集群工具卸载**: @@ -114,7 +114,7 @@ NeuVector 安全解决方案包含四种类型的安全容器,分别是 Contro 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 -1. 在左侧导航栏中,点击**应用 & 应用市场**。 +1. 在左侧导航栏中,点击 **Apps**。 1. 安装(或升级到)NeuVector 版本 `100.0.1+up2.2.2`。 - 在 **编辑选项** > **其它配置**下,选中复选框来启用 **Pod 安全策略**(无需其他配置): @@ -149,7 +149,7 @@ kubectl patch cronjob neuvector-updater-pod -n cattle-neuvector-system --patch ' 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 -1. 在左侧导航栏中,点击**应用 & 应用市场**。 +1. 在左侧导航栏中,点击 **Apps**。 1. 安装(或升级到)NeuVector 版本 `100.0.1+up2.2.2`。 - 在 **编辑选项** > **其它配置**下,选中复选框来启用 **Pod 安全策略**。请注意,对于 `Manager runAsUser ID`、`Scanner runAsUser ID` 和 `Updater runAsUser ID`,你还必须输入大于 `0` 的值: diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/opa-gatekeeper.md b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/opa-gatekeeper.md index 7a5e79904d7..41c91274c66 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/opa-gatekeeper.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/opa-gatekeeper.md @@ -35,13 +35,13 @@ Rancher 2.5 改进了 OPA Gatekeeper 应用。无法从 Rancher 2.4 升级到 Ra ::: -你可以在**应用 & 应用市场**页面安装 OPA Gatekeeper Helm Chart。 +你可以在 **Apps** 页面安装 OPA Gatekeeper Helm Chart。 ### 启用 OPA Gatekeeper 1. 在左上角,单击 **☰ > 集群管理**。 1. 在**集群**页面中,转到要启用 OPA Gatekeeper 的集群,然后单击 **Explore**。 -1. 在左侧导航栏中,点击**应用 & 应用市场**。 +1. 在左侧导航栏中,点击 **Apps**。 1. 点击 **Charts** 并点击 **OPA Gatekeeper**。 1. 单击**安装**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/rancher-extensions.md b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/rancher-extensions.md index 8cacedcf342..6a52bd81edb 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/rancher-extensions.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integrations-in-rancher/rancher-extensions.md @@ -4,7 +4,7 @@ title: Rancher 扩展 Rancher v2.7.0 引入了**扩展(Extension)**的新功能。扩展允许用户、开发人员、合作伙伴和客户扩展和增强 Rancher Manager UI。此外,用户可以独立于 Rancher Manager 版本对其 UI 功能进行更改和增强。有了扩展,用户能够在 Rancher 之上进行构建,从而更好地根据环境进行定制。用户还可以更新到新版本以及回滚到以前的版本。 -扩展是只能在集群中安装一次的 Helm Chart。因此,这些 Chart 已经过简化,并与 **Apps & Marketplace** 下列出的常规 Helm Chart 分开。 +扩展是只能在集群中安装一次的 Helm Chart。因此,这些 Chart 已经过简化,并与 **Apps** 下列出的常规 Helm Chart 分开。 内置的 Rancher Manager 扩展示例包括 Fleet、Explorer 和 Harvester。使用可手动添加的 Extensions API 的其他扩展示例包括 Kubewarden 和 Elemental。 @@ -16,7 +16,7 @@ Rancher v2.7.0 引入了**扩展(Extension)**的新功能。扩展允许用 1. 点击 **Configuration** 下的 **☰ > Extensions**。 -2. 如果它尚未安装到 **Apps & Marketplace** 中,则你必须通过单击 **Enable** 按钮启用扩展 operator。 +2. 如果它尚未安装到 **Apps** 中,则你必须通过单击 **Enable** 按钮启用扩展 operator。 - 如果不是离线安装环境,请单击 **OK** 添加 Rancher 扩展仓库。否则,取消选中复选框并单击 **OK**。 @@ -77,4 +77,8 @@ Rancher v2.7.0 引入了**扩展(Extension)**的新功能。扩展允许用 回滚扩展后必须重新加载页面,否则可能会出现显示问题。 -::: \ No newline at end of file +::: + +## 开发扩展 + +要了解如何开发扩展,请参阅 [UI DevKit 文档](https://rancher.github.io/dashboard/plugins/plugins-getting-started)。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/authentication-config.md b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/authentication-config.md index 014aae64477..9aaa4063c8c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/authentication-config.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/authentication-config.md @@ -26,9 +26,7 @@ Rancher 身份验证代理支持与以下外部身份验证服务集成: | [Google OAuth](../how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-google-oauth.md) | | [Shibboleth](configure-shibboleth-saml.md) | -
- -同时,Rancher 也提供了[本地验证](../how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/create-local-users.md)。 +同时,Rancher 也提供了[本地身份验证](../how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/create-local-users.md)。 大多数情况下,应该使用外部身份验证服务,而不是本地身份验证,因为外部身份验证允许对用户进行集中管理。但是你可能需要一些本地身份验证用户,以便在特定的情况下(例如在外部身份验证系统不可用或正在进行维护时)管理 Rancher。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/backup-restore-and-disaster-recovery.md b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/backup-restore-and-disaster-recovery.md index 23994671eb6..a205788b7e9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/backup-restore-and-disaster-recovery.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/backup-restore-and-disaster-recovery.md @@ -4,7 +4,7 @@ title: 备份和灾难恢复 在本节中,你将学习如何创建 Rancher 的备份,如何从备份中恢复 Rancher,以及如何将 Rancher 迁移到新的 Kubernetes 集群。 -`rancher-backup` operator 可以用来备份和恢复任何 Kubernetes 集群上的 Rancher。这个应用是一个 Helm Chart,可以通过 Rancher 的**应用 & 应用市场**页面或使用 Helm CLI 部署。你可以访问[本页面](https://github.com/rancher/charts/tree/release-v2.6/charts/rancher-backup)获取 `rancher-backup` Helm Chart。 +`rancher-backup` operator 可以用来备份和恢复任何 Kubernetes 集群上的 Rancher。这个应用是一个 Helm Chart,可以通过 Rancher 的 **Apps** 页面或使用 Helm CLI 部署。你可以访问[本页面](https://github.com/rancher/charts/tree/release-v2.6/charts/rancher-backup)获取 `rancher-backup` Helm Chart。 `backup-restore` operator 需要安装在 local 集群上,并且只对 Rancher 应用进行备份。备份和恢复操作仅在本地 Kubernetes 集群中执行。 @@ -51,7 +51,7 @@ ResourceSet 定义了需要备份哪些 Kubernetes 资源。由于备份 Rancher 1. 在左上角,单击 **☰ > 集群管理**。 1. 在**集群**页面上,转到 `local` 集群并单击 **Explore**。 -1. 在左侧导航栏中,单击**应用 & 应用市场 > Chart**。 +1. 在左侧导航栏中,单击 **Apps > Charts**。 1. 点击 **Rancher 备份**。 1. 单击**安装**。 1. 可选:配置默认存储位置。如需获取帮助,请参见[配置](../reference-guides/backup-restore-configuration/storage-configuration.md)。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/helm-charts-in-rancher.md b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/helm-charts-in-rancher.md index 5a356f3ea2e..fd3fe54f541 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/helm-charts-in-rancher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/helm-charts-in-rancher.md @@ -2,13 +2,13 @@ title: Rancher 中的 Helm Chart --- -在本节中,你将学习如何在 Rancher 中管理 Helm Chart 仓库和应用。你可以在**应用 & 应用市场**中管理 Helm Chart 仓库。它使用类似目录的系统从仓库中导入 Chart 包,然后使用这些 Chart 来部署自定义 Helm 应用或 Rancher 工具(例如监控和 Istio)。Rancher 工具以预加载仓库的方式提供,并能部署为独立的 Helm Chart 。其他仓库只会添加到当前集群。 +在本节中,你将学习如何在 Rancher 中管理 Helm Chart 仓库和应用。你可以在 **Apps** 中管理 Helm Chart 仓库。它使用类似目录的系统从仓库中导入 Chart 包,然后使用这些 Chart 来部署自定义 Helm 应用或 Rancher 工具(例如监控和 Istio)。Rancher 工具以预加载仓库的方式提供,并能部署为独立的 Helm Chart 。其他仓库只会添加到当前集群。 ### Rancher 2.6 变更 Rancher 2.6.0 实现了功能 Chart 的新版本控制方案。变更主要是 Chart 的主要版本和上游 Chart 的 +up 注释(如果适用)。 -**主要版本**:Chart 的主要版本与 Rancher 次要版本相关联。当你升级到新的 Rancher 次要版本时,你应该确保你的所有**应用 & 应用市场** Chart 也升级到 Chart 的正确发行版本。 +**主要版本**:Chart 的主要版本与 Rancher 次要版本相关联。当你升级到新的 Rancher 次要版本时,你应该确保你的所有 **Apps** Chart 也升级到 Chart 的正确发行版本。 :::note @@ -48,7 +48,7 @@ Rancher 2.6.0 实现了功能 Chart 的新版本控制方案。变更主要是 C ### Charts -从左上角的菜单中选择 _应用 & 应用市场_,然后你会转到 Chart 页面。 +从左上角的菜单中选择 _Apps_,然后你会转到 Chart 页面。 Chart 页面包含所有 Rancher、Partner 和自定义 Chart 。 @@ -60,7 +60,7 @@ Chart 页面包含所有 Rancher、Partner 和自定义 Chart 。 :::note -由 Cluster Manager (旧版 Rancher UI 中的全局视图)管理的应用应继续仅由 Cluster Manager 管理,而在新 UI 中使用应用 & 应用市场管理的应用则仅能由应用 & 应用市场管理。 +由 Cluster Manager (旧版 Rancher UI 中的全局视图)管理的应用应继续仅由 Cluster Manager 管理,而在新 UI 中使用 Apps 管理的应用则仅能由 Apps 管理。 ::: @@ -126,7 +126,7 @@ spec: 安装 Chart 后,你可以在 _已安装的应用_ 选项卡中找到该 Chart。在本节中,你可以升级或删除安装,并查看更多详细信息。选择升级时,呈现的形式和数值与安装相同。 -大多数 Rancher 工具在 _应用 & 应用市场_ 下方的工具栏中都有额外的页面,以帮助你管理和使用这些功能。这些页面包括指向仪表板的链接、可轻松添加自定义资源的表单以及其他信息。 +大多数 Rancher 工具在 _Apps_ 下方的工具栏中都有额外的页面,以帮助你管理和使用这些功能。这些页面包括指向仪表板的链接、可轻松添加自定义资源的表单以及其他信息。 :::caution @@ -140,7 +140,7 @@ spec: #### Rancher 2.6.3 变更 -**应用 & 应用市场 > 已安装的应用**页面中,旧版应用的升级按钮已被移除。 +**Apps > Installed Apps** 页面中,旧版应用的升级按钮已被移除。 如果你安装了旧版应用并想要升级它: diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/logging.md b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/logging.md index 7529a96236b..8530a19c8a6 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/logging.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/logging.md @@ -11,7 +11,7 @@ description: Rancher 集成了主流的日志服务。了解集成日志服务 你可以转到**应用**页面并安装 Logging 应用程序,从而为 Rancher 管理的集群启用 Logging: -1. 转到要安装 Logging 的集群,然后单击**应用 & 应用市场**。 +1. 转到要安装 Logging 的集群,然后单击 **Apps**。 1. 点击 **Logging** 应用。 1. 滚动到 Helm Chart README 的底部,然后单击**安装**。 @@ -19,7 +19,7 @@ description: Rancher 集成了主流的日志服务。了解集成日志服务 ## 卸载 Logging -1. 转到要安装 Logging 的集群,然后单击**应用 & 应用市场**。 +1. 转到要安装 Logging 的集群,然后单击 **Apps**。 1. 点击**已安装的应用**。 1. 转到 `cattle-logging-system` 命名空间并选中 `rancher-logging` 和 `rancher-logging-crd` 框。 1. 单击**删除**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/manage-clusters.md b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/manage-clusters.md index b6449e497d1..e3182f19246 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/manage-clusters.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/manage-clusters.md @@ -35,4 +35,4 @@ Rancher 包含 Kubernetes 中未包含的各种工具来协助你进行 DevOps - Istio 服务网格 - OPA Gatekeeper -你可以通过**应用 & 应用市场**来安装工具。 +你可以通过 **Apps** 来安装工具。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/best-practices/rancher-server/tips-for-scaling-rancher.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/best-practices/rancher-server/tips-for-scaling-rancher.md new file mode 100644 index 00000000000..8d5fc725d36 --- /dev/null +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/best-practices/rancher-server/tips-for-scaling-rancher.md @@ -0,0 +1,61 @@ +--- +title: Rancher 扩展技巧 +--- + +本指南介绍了扩展 Rancher 时应该考虑的方法,以及这样做的难度。随着系统的增长,性能自然会降低,但我们可以采取一些措施来最大限度地减少 Rancher 的负载,并优化 Rancher 处理这些大型设置的能力。 + +## 优化 Rancher 性能的技巧 +* 建议及时更新 Rancher 的补丁版本。在次要版本的整个生命周期中,我们都会进行性能改进和错误修复。你可以查看发行说明决定是否需要升级,但在大多数情况下,我们建议你使用最新版本。 + +* 性能会受 Rancher 的基础设施和下游集群的基础设施之间的延迟影响(例如,地理距离)。如果用户需要遍布全球或分布在许多地区的集群/节点,最好使用多个 Rancher。 + +* 请始终尝试逐渐扩大规模,同时监控和观察变化。通常情况下,性能问题越早解决越好,而且在其他问题出现之前更容易解决。 + +## 最小化本地集群的负载 +扩展 Rancher 最大的瓶颈是本地 Kubernetes 集群中的资源增长。local 集群包含所有下游集群的信息。下游集群的许多操作将在 local 集群中创建新对象,并需要使用 local 集群中运行的处理程序进行计算。 + +### 管理对象数量 +ETCD 最终会遇到存储的 Kubernetes 资源数量超过限制的问题。暂时没有这些数字的确切记录。根据内部观察,一旦单个资源类型的对象数量超过 60k(通常是 Rolebindings),就很有可能遇到性能问题。 + +Rolebindings 是在 local 集群中创建的,是许多操作的结果。 + +尝试减少 local 集群中的 rolebindings 时需要注意: +* 仅在必要时将用户添加到集群和项目中 +* 删除不需要的集群和项目 +* 仅在必要时使用自定义角色 +* 在自定义角色中使用尽可能少的规则 +* 考虑给用户添加角色是否多余 +* 使用更少但更强大的集群可能更高效 +* 检查是否能通过创建新项目或新集群为你的用例减少 rolebindings。 + +### 使用新版应用程序而不是旧版应用程序 +Rancher 使用了两个应用程序 kubernetes 资源,分别是 apps.projects.cattle.io 和 apps.cattle.cattle.io。旧版应用程序 apps.projects.cattle.io 最初是在 Cluster Manager 中引入的,现在已经过时。新版应用程序 apps.catalog.cattle.io 可在其各自集群的 Cluster Explorer 中找到。新版应用程序更受欢迎,因为它们位于下游集群中,而旧版应用程序位于 local 集群中。 + +我们建议删除 Cluster Manager 中出现的应用程序,如有必要,可以为目标集群替换为 Cluster Explorer 中的应用程序,并仅在集群的 Cluster Explorer 中创建后续的应用程序。 + +### 使用授权集群端点(ACE) +Rancher 配置的 RKE1、RKE2 和 K3s 集群有一个 _授权集群端点_ 选项。启用后,会在为集群生成的 kubeconfigs 中添加一个上下文,该上下文使用一个直接到集群的端点,并绕过 Rancher。但是,仅启用此选项是不够的。Kubeconfig 的用户需要使用 `kubectl use-context ` 才能开始使用它。 + +如果不使用 ACE,所有 kubeconfig 请求都会先通过 Rancher 进行路由。 + +### 实验功能:减少事件处理程序执行的选项 +Rancher 的大部分逻辑都发生在事件处理程序上。每当更新对象以及启动 Rancher 时,这些事件处理程序都会在对象上运行。此外,当缓存同步时,它们每 15 小时会运行一次。在缩放设置中,由于每个处理程序都会在每个适用对象上运行,因此运行这些计划会消耗巨大的性能。但是,你可以使用 `CATTLE_SYNC_ONLY_CHANGED_OBJECTS` 环境变量来禁用处理程序的这些计划执行。如果在大约 15 小时的间隔内看到资源分配峰值,则此设置可能有帮助。 + +环境变量的值可以是以下选项的逗号分隔列表。这些值指的是控制器的类型(包含和运行处理程序的 struct)及其处理程序。如果将控制器类型添加到变量中,那么该组控制器将无法在重新同步缓存时运行其处理程序。 + +* `mgmt` 指的是只运行在一个 Rancher 节点上的管理控制器。 +* `user` 指的是为每个集群运行的用户控制器。其中一些运行在与管理控制器相同的节点上,而其他则运行在下游集群中。该选项针对前者。 +* `scaled` 指的是在每个 Rancher 节点上运行的缩放控制器。由于缩放处理程序负责的关键功能,因此不建议设置。 + +简而言之,如果你发现 CPU 使用率每 15 小时出现一次峰值,请将 `CATTLE_SYNC_ONLY_CHANGED_OBJECTS` 环境变量添加到你的 Rancher 部署中,其值为 `mgmt,user`。 + +## Rancher 之外的优化 +影响性能的一个重要因素是 local 集群及其配置方式。该集群可能会在 Rancher 运行之前引入瓶颈。当 Rancher 节点出现资源占用过高的情况时,你可以使用 top 命令来判断是 Rancher 还是 Kubernetes 组件在超额消耗资源。 + +### 保持使用最新版本的 Kubernetes +与 Rancher 版本类似,我们建议让你的 kubernetes 集群保持使用最新版本。这将确保你的集群能包含可用的性能增强或错误修复。 + +### 优化 ETCD +[ETCD 性能](https://etcd.io/docs/v3.4/op-guide/performance/)的两个主要瓶颈是磁盘速度和网络速度。对任何一个进行优化都应该能提高性能。有关 ETCD 性能的信息,请参阅 [etcd 性能慢(性能测试和优化)](https://www.suse.com/support/kb/doc/?id=000020100)和[为大型安装调优 etcd](https://docs.ranchermanager.rancher.io/how-to-guides/advanced-user-guides/tune-etcd-for-large-installs)。有关磁盘的信息,你也可以参阅[我们的文档](https://docs.Ranchermanager.Rancher.io/v2.5/pages-for-subheaders/installation-requirements#disks)。 + +理论上,ETCD 集群中的节点越多,由于复制要求 [source](https://etcd.io/docs/v3.3/faq),它就会越慢。这可能与常见的缩放方法相悖。我们还可以推断,ETCD 的性能将受到节点间距离的反面影响,因为这将减慢网络通信。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/cluster-configuration/rancher-server-configuration/rke2-cluster-configuration.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/cluster-configuration/rancher-server-configuration/rke2-cluster-configuration.md index d371b1432de..605a129fd33 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/cluster-configuration/rancher-server-configuration/rke2-cluster-configuration.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/cluster-configuration/rancher-server-configuration/rke2-cluster-configuration.md @@ -166,7 +166,7 @@ Rancher 与以下开箱即用的网络提供商兼容: #### 自动快照 -启用或禁用定期 etcd 快照的选项。如果启用,用户可以配置快照的频率。有关详细信息,请参阅 [RKE2 文档](https://docs.rke2.io/backup_restore/#creating-snapshots)。请注意,如果使用 RKE2,快照存储会在每个 etcd 节点上,这与 RKE1 不同(RKE1 每个集群只存储一个快照)。 +启用或禁用定期 etcd 快照的选项。如果启用,用户可以配置快照的频率。有关详细信息,请参阅 [RKE2 文档](https://docs.rke2.io/backup_restore/#creating-snapshots)。请注意,如果使用 RKE2,快照会存储在每个 etcd 节点上,这与 RKE1 不同(RKE1 每个集群只存储一个快照)。 #### 指标 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/monitoring-v2-configuration/receivers.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/monitoring-v2-configuration/receivers.md index ef27b89de42..58737f34fbe 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/monitoring-v2-configuration/receivers.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/monitoring-v2-configuration/receivers.md @@ -142,7 +142,7 @@ Opsgenie 响应者: Teams 接收器不是原生接收器,因此需要启用后才能使用。你可以通过转到应用页面,安装 rancher-alerting-drivers 应用,然后选择 Teams 选项,从而为 Rancher 管理的集群启用 Teams 接收器。 -1. 在 Rancher UI 中,转到要安装 rancher-alerting-drivers 的集群,然后单击**应用 & 应用市场**。 +1. 在 Rancher UI 中,转到要安装 rancher-alerting-drivers 的集群,然后单击 **Apps**。 1. 点击 **Alerting Drivers** 应用。 1. 单击 **Helm 部署选项**选项卡。 1. 选择 **Teams** 并单击**安装**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rollbacks.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rollbacks.md index 1e0e9b88a00..8ab3a9ecbdf 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rollbacks.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rollbacks.md @@ -35,7 +35,7 @@ title: 回滚 1. 在左侧导航栏中,点击 **Rancher 备份 > 还原**。 :::note - 如果 Rancher Backups 应用不可见,你需要到**应用 & 应用市场**的 Charts 页面中安装应用。详情请参见[此处](../../../pages-for-subheaders/helm-charts-in-rancher.md#charts)。 + 如果 Rancher Backups 应用不可见,你需要到 **Apps & Marketplace**(Rancher v2.6.5 之前的版本)或 **Apps**(Rancher v2.6.5+)的 Charts 页面中安装应用。详情请参见[此处](../../../pages-for-subheaders/helm-charts-in-rancher.md#charts)。 ::: diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/cis-scan-guides/install-rancher-cis-benchmark.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/cis-scan-guides/install-rancher-cis-benchmark.md index 996cc907e21..3919e0ba6d2 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/cis-scan-guides/install-rancher-cis-benchmark.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/cis-scan-guides/install-rancher-cis-benchmark.md @@ -2,10 +2,25 @@ title: 安装 Rancher CIS Benchmark --- + + + +1. 在左上角,单击 **☰ > 集群管理**。 +1. 在**集群**页面上,转到要安装 CIS Benchmark 的集群,然后单击 **Explore**。 +1. 在左侧导航栏中,单击 **Apps > Charts**。 +1. 单击 **CIS Benchmark**。 +1. 单击**安装**。 + + + + 1. 在左上角,单击 **☰ > 集群管理**。 1. 在**集群**页面上,转到要安装 CIS Benchmark 的集群,然后单击 **Explore**。 1. 在左侧导航栏中,单击**应用 & 应用市场 > Charts**。 1. 单击 **CIS Benchmark**。 1. 单击**安装**。 + + + **结果**:CIS 扫描应用已经部署在 Kubernetes 集群上。 \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/cis-scan-guides/uninstall-rancher-cis-benchmark.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/cis-scan-guides/uninstall-rancher-cis-benchmark.md index 4205d654324..b8d95997fb9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/cis-scan-guides/uninstall-rancher-cis-benchmark.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/cis-scan-guides/uninstall-rancher-cis-benchmark.md @@ -2,8 +2,21 @@ title: 卸载 Rancher CIS Benchmark --- + + + +1. 在**集群**仪表板中,单击左侧导航的 **Apps > Installed Apps**。 +1. 前往 `cis-operator-system` 命名空间,并选中 `rancher-cis-benchmark-crd` 和 `rancher-cis-benchmark` 旁边的框。 +1. 单击**删除**并确认**删除**。 + + + + 1. 在**集群**仪表板中,单击左侧导航的**应用 & 应用市场 > 已安装的应用**。 1. 前往 `cis-operator-system` 命名空间,并选中 `rancher-cis-benchmark-crd` 和 `rancher-cis-benchmark` 旁边的框。 1. 单击**删除**并确认**删除**。 + + + **结果**:已卸载 `rancher-cis-benchmark` 应用。 \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/istio-setup-guide/enable-istio-in-cluster.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/istio-setup-guide/enable-istio-in-cluster.md index c44447ac47c..4145d9e5108 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/istio-setup-guide/enable-istio-in-cluster.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/istio-setup-guide/enable-istio-in-cluster.md @@ -11,6 +11,23 @@ title: 1. 在集群中启用 Istio ::: + + + +1. 点击 **☰ > 集群管理**。 +1. 转到要启用 Istio 的位置,然后单击 **Explore**。 +1. 单击 **Apps**。 +1. 单击 **Chart**。 +1. 单击 **Istio**。 +1. 如果你还没有安装 Monitoring 应用,系统会提示你安装 rancher-monitoring。你也可以选择在 Rancher-monitoring 安装上设置选择器或抓取配置选项。 +1. 可选:为 Istio 组件配置成员访问和[资源限制](../../../integrations-in-rancher/istio/cpu-and-memory-allocations.md)。确保你的 Worker 节点上有足够的资源来启用 Istio。 +1. 可选:如果需要,对 values.yaml 进行额外的配置更改。 +1. 可选:通过[覆盖文件](../../../pages-for-subheaders/configuration-options.md#覆盖文件)来添加其他资源或配置。 +1. 单击**安装**。 + + + + 1. 点击 **☰ > 集群管理**。 1. 转到要启用 Istio 的位置,然后单击 **Explore**。 1. 单击**应用 & 应用市场**。 @@ -22,6 +39,9 @@ title: 1. 在集群中启用 Istio 1. 可选:通过[覆盖文件](../../../pages-for-subheaders/configuration-options.md#覆盖文件)来添加其他资源或配置。 1. 单击**安装**。 + + + **结果**:已在集群级别安装 Istio。 ## 其他配置选项 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/enable-monitoring.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/enable-monitoring.md index 997a94916f5..09e1c9b5d84 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/enable-monitoring.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/enable-monitoring.md @@ -29,7 +29,7 @@ rkeEtcd: # 设置资源限制和请求 -安装 `rancher-monitoring` 时可以配置资源请求和限制。要从 Rancher UI 配置 Prometheus 资源,请单击左上角的**应用 & 应用市场 > 监控**。 +安装 `rancher-monitoring` 时可以配置资源请求和限制。要从 Rancher UI 配置 Prometheus 资源,请单击左上角的 **Apps & Marketplace > Monitoring**(Rancher v2.6.5 之前的版本)或 **Apps > Monitoring**(Rancher v2.6.5+)。 有关默认限制的更多信息,请参阅[此页面](../../../reference-guides/monitoring-v2-configuration/helm-chart-options.md#配置资源限制和请求)。 @@ -47,6 +47,24 @@ rkeEtcd: ### 在使用 SSL 的情况下启用 Monitoring + + + +1. 按照[此页面](../../new-user-guides/kubernetes-resources-setup/secrets.md)上的步骤创建密文,以便将 SSL 用于告警。 +- 密文应该创建到 `cattle-monitoring-system` 命名空间中。如果它不存在,请先创建它。 +- 将 `ca`、`cert` 和 `key` 文件添加到密文中。 +1. 在左上角,单击 **☰ > 集群管理**。 +1. 在**集群**页面上,转到要启用 Monitoring 以与 SSL 一起使用的集群,然后单击 **Explore**。 +1. 单击 **Apps > Charts**。 +1. 单击 **Monitoring**。 +1. 根据你是否已安装 Monitoring,单击**安装**或**更新**。 +1. 选中**在安装前自定义 Helm 选项**,然后单击**下一步**。 +1. 单击 **Alerting**。 +1. 在**补充密文**字段中,添加之前创建的密文。 + + + + 1. 按照[此页面](../../new-user-guides/kubernetes-resources-setup/secrets.md)上的步骤创建密文,以便将 SSL 用于告警。 - 密文应该创建到 `cattle-monitoring-system` 命名空间中。如果它不存在,请先创建它。 - 将 `ca`、`cert` 和 `key` 文件添加到密文中。 @@ -59,6 +77,9 @@ rkeEtcd: 1. 单击 **Alerting**。 1. 在**补充密文**字段中,添加之前创建的密文。 + + + **结果**:Monitoring 应用已部署到 `cattle-monitoring-system` 命名空间中。 [创建接收器](../monitoring-v2-configuration-guides/advanced-configuration/alertmanager.md#在-rancher-ui-中创建接收器)时,启用 SSL 的接收器(例如电子邮件或 webhook)将具有 **SSL**,其中包含 **CA 文件路径**、**证书文件路径**和**密钥文件路径**字段。使用 `ca`、`cert` 和 `key` 的路径填写这些字段。路径的格式为 `/etc/alertmanager/secrets/name-of-file-in-secret`。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/prometheus-federator-guides/uninstall-prometheus-federator.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/prometheus-federator-guides/uninstall-prometheus-federator.md index 0184308ff14..fc4e683443e 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/prometheus-federator-guides/uninstall-prometheus-federator.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/prometheus-federator-guides/uninstall-prometheus-federator.md @@ -2,6 +2,20 @@ title: 卸载 Prometheus Federator --- + + + +1. 点击 **☰ > 集群管理**。 +1. 选择你创建的集群,并点击 **Explore**。 +1. 在左侧导航栏中,点击 **Apps**。 +1. 点击**已安装的应用**。 +1. 转到 `cattle-monitoring-system` 命名空间并选中 `rancher-monitoring-crd` 和 `rancher-monitoring`。 +1. 单击**删除**。 +1. 确认**删除**。 + + + + 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 1. 在左侧导航栏中,点击**应用 & 应用市场**。 @@ -10,4 +24,7 @@ title: 卸载 Prometheus Federator 1. 单击**删除**。 1. 确认**删除**。 + + + **结果**:已卸载 `prometheus-federator`。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/uninstall-monitoring.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/uninstall-monitoring.md index 79fa5d6a9f9..82ab0e75eda 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/uninstall-monitoring.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/advanced-user-guides/monitoring-alerting-guides/uninstall-monitoring.md @@ -2,6 +2,20 @@ title: 卸载 Monitoring --- + + + +1. 点击 **☰ > 集群管理**。 +1. 选择你创建的集群,并点击 **Explore**。 +1. 在左侧导航栏中,点击 **Apps**。 +1. 点击**已安装的应用**。 +1. 转到 `cattle-monitoring-system` 命名空间并选中 `rancher-monitoring-crd` 和 `rancher-monitoring`。 +1. 单击**删除**。 +1. 确认**删除**。 + + + + 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 1. 在左侧导航栏中,点击**应用 & 应用市场**。 @@ -10,6 +24,9 @@ title: 卸载 Monitoring 1. 单击**删除**。 1. 确认**删除**。 + + + **结果**:已卸载 `rancher-monitoring`。 :::note 持久化 Grafana 仪表板: diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-cluster-templates.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-cluster-templates.md index 289e5a4a173..8f79a7a0f0d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-cluster-templates.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-cluster-templates.md @@ -24,7 +24,7 @@ RKE2 集群模板的示例仓库在[这里](https://github.com/rancher/cluster-t ## 向 Rancher 添加集群模板 -在本节中,你将学习如何将集群模板添加到`本地`集群的 Chart 仓库列表中。这样,当用户安装新的 Kubernetes 集群时,Rancher 将提供集群模板的选项。 +在本节中,你将学习如何将集群模板添加到 `local` 集群的 Chart 仓库列表中。这样,当用户安装新的 Kubernetes 集群时,Rancher 将提供集群模板的选项。 :::note 先决条件: @@ -33,21 +33,45 @@ RKE2 集群模板的示例仓库在[这里](https://github.com/rancher/cluster-t ::: + + + 1. 转到集群模板示例仓库。你可以在[此 GitHub 仓库](https://github.com/rancher/cluster-template-examples)中找到 Rancher 的示例。从 Rancher 2.6.0 开始,我们提供了一个 RKE2 集群模板,未来可能会添加更多模板。 1. 复刻仓库。 1. 可选:通过编辑 `values.yaml` 文件来编辑集群选项。有关编辑文件的帮助,请参阅集群模板的 Helm Chart 自述文件。 1. 将 Chart 仓库添加到 Rancher。点击 **☰ > 集群管理**。 -1. 转到`本地`集群并单击 **Explore**。 +1. 转到 `local` 集群并单击 **Explore**。 +1. 在左侧导航栏中,单击 **Apps > Chart Repositories**。 +1. 点击**创建**。 +1. 输入集群模板仓库的名称。 +1. 点击**包含 Helm Chart 定义的 Git 仓库**。 +1. 在 **Git 仓库 URL**字段,输入仓库的 URL,例如,`https://github.com/rancher/cluster-template-examples.git`。 +1. 在 **Git 分支**字段,输入要用作模板源的分支。Rancher 的示例仓库使用了 `main` 分支。 +1. 点击**创建**。 + +**结果**:集群模板可从 Rancher `local` 集群中的 **Apps** 获得。现在,你可以使用模板来部署集群。 + + + + +1. 转到集群模板示例仓库。你可以在[此 GitHub 仓库](https://github.com/rancher/cluster-template-examples)中找到 Rancher 的示例。从 Rancher 2.6.0 开始,我们提供了一个 RKE2 集群模板,未来可能会添加更多模板。 +1. 复刻仓库。 +1. 可选:通过编辑 `values.yaml` 文件来编辑集群选项。有关编辑文件的帮助,请参阅集群模板的 Helm Chart 自述文件。 +1. 将 Chart 仓库添加到 Rancher。点击 **☰ > 集群管理**。 +1. 转到 `local` 集群并单击 **Explore**。 1. 在左侧导航栏中,单击**应用 & 应用市场 > Chart 仓库。** 1. 点击**创建**。 1. 输入集群模板仓库的名称。 1. 点击**包含 Helm Chart 定义的 Git 仓库**。 1. 在 **Git 仓库 URL**字段,输入仓库的 URL,例如,`https://github.com/rancher/cluster-template-examples.git`。 -1. 在**Git 分支**字段,输入要用作模板源的分支。Rancher 的示例仓库使用了 `main` 分支。 +1. 在 **Git 分支**字段,输入要用作模板源的分支。Rancher 的示例仓库使用了 `main` 分支。 1. 点击**创建**。 **结果**:集群模板可从 Rancher 的`本地`集群中的**应用 & 应用市场**获得。现在,你可以使用模板来部署集群。 + + + :::note 受限管理员访问: 如果你是受限管理员并且无权访问 `local` 集群,你仍然可以添加新的 RKE2 模板并管理集群仓库。要导航到 Chart 仓库,请在左侧导航栏单击 **☰ > 集群管理 > 高级选项 > 仓库**。你将绕过上述步骤 1 - 6,然后继续按照步骤 7 - 12 创建集群模板。 @@ -73,7 +97,7 @@ RKE2 集群模板的示例仓库在[这里](https://github.com/rancher/cluster-t ## 更新使用集群模板创建的集群 -如果集群所用的模板有了新版本,你可以使用**应用 & 应用市场 > 已安装的应用**页面中的模板更新集群。 +如果集群所用的模板有了新版本,你可以使用 **Apps & Marketplace > Installed Apps**(Rancher v2.6.5 之前的版本)或 **Apps > Installed Apps**(Rancher v2.6.5+)页面中的模板更新集群。 ## 使用 Fleet 从模板部署集群 @@ -96,14 +120,28 @@ RKE2 集群模板的示例仓库在[这里](https://github.com/rancher/cluster-t ## 卸载集群模板 + + + 1. 点击 **☰ > 集群管理**。 -1. 前往`本地`集群并单击**应用 & 应用市场 > Chart 仓库**。 +1. 前往 `local` 集群并单击 **Apps > Chart Repositories**。 1. 转到集群模板的 Chart 仓库,然后单击 **⋮ > 删除。** 1. 确认删除。 + + + +1. 点击 **☰ > 集群管理**。 +1. 前往 `local` 集群并单击**应用 & 应用市场 > Chart 仓库**。 +1. 转到集群模板的 Chart 仓库,然后单击 **⋮ > 删除。** +1. 确认删除。 + + + + **结果**:集群模板已卸载。此操作不会影响使用集群模板创建的现有集群。 -能够访问`本地`集群的管理员还可以前往**应用 & 应用市场 > 已安装的应用**页面,通过集群模板来移除已部署的集群。 +能够访问 `local` 集群的管理员还可以前往 **Apps & Marketplace > Installed Apps**(Rancher v2.6.5 之前的版本)或 **Apps > Installed Apps**(Rancher v2.6.5+)页面,通过集群模板来移除已部署的集群。 ## 配置选项 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-rancher.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-rancher.md index 26a37bf5500..c0d365f3308 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-rancher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/back-up-rancher.md @@ -26,6 +26,20 @@ Rancher 必须是 2.5.0 或更高版本。 备份文件的格式是 `.tar.gz`。这些文件可以推送到 S3 或 Minio,也可以存储在一个持久卷中。 + + + +1. 在左上角,单击 **☰ > 集群管理**。 +1. 在**集群**页面上,转到 `local` 集群并单击 **Explore**。Rancher Server 运行在 `local` 集群中。 +1. 单击 **Apps > Charts**。 +1. 点击 **Rancher 备份**。 +1. 单击**安装**。 +1. 配置默认存储位置。如需获取帮助,请参见[存储配置](../../../reference-guides/backup-restore-configuration/storage-configuration.md)。 +1. 单击**安装**。 + + + + 1. 在左上角,单击 **☰ > 集群管理**。 1. 在**集群**页面上,转到 `local` 集群并单击 **Explore**。Rancher Server 运行在 `local` 集群中。 1. 单击**应用 & 应用市场 > Chart**。 @@ -34,6 +48,9 @@ Rancher 必须是 2.5.0 或更高版本。 1. 配置默认存储位置。如需获取帮助,请参见[存储配置](../../../reference-guides/backup-restore-configuration/storage-configuration.md)。 1. 单击**安装**。 + + + :::note 使用 `backup-restore` operator 执行恢复后,Fleet 中会出现一个已知问题:用于 `clientSecretName` 和 `helmSecretName` 的密文不包含在 Fleet 的 Git 仓库中。请参见[此处](../deploy-apps-across-clusters/fleet.md#故障排除)获得解决方法。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps.md index 897ebd36a58..4bfb7b0bdc0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps.md @@ -25,7 +25,7 @@ title: 多集群应用 1. 在左上角,单击 **☰ > 全局设置**。 1. 单击**功能开关**。 -1. 转到`旧版应用`功能开关并单击**激活**。 +1. 转到 `Legacy` 功能开关并单击**激活**。 ## 启动多集群应用 @@ -146,7 +146,7 @@ Rancher 允许你选择**项目**或**集群**的角色选项。Rancher 将允 :::note 先决条件: -`旧版应用`功能开关已启用。 +`Legacy` 功能开关已启用。 ::: @@ -162,7 +162,7 @@ Rancher 允许你选择**项目**或**集群**的角色选项。Rancher 将允 :::note 先决条件: -`旧版应用`功能开关已启用。 +`Legacy` 功能开关已启用。 ::: diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-cluster-setup/rke2-for-rancher.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-cluster-setup/rke2-for-rancher.md index 6d55d78088a..52128abb76d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-cluster-setup/rke2-for-rancher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-cluster-setup/rke2-for-rancher.md @@ -43,7 +43,7 @@ tls-san: 之后,运行安装命令并启用和启动 RKE2: ``` -curl -sfL https://get.rke2.io | INSTALL_RKE2_CHANNEL=v1.20 sh - +curl -sfL https://get.rke2.io | sh - systemctl enable rke2-server.service systemctl start rke2-server.service ``` diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/configure-out-of-tree-vsphere.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/configure-out-of-tree-vsphere.md index 430d08fc1e6..63ccf2d2934 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/configure-out-of-tree-vsphere.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/configure-out-of-tree-vsphere.md @@ -32,6 +32,23 @@ Kubernetes 版本必须为 1.19 或更高版本。 ### 2. 安装 CPI 插件 + + + +1. 点击 **☰ > 集群管理**。 +1. 转到将安装 vSphere CPI 插件的集群,然后单击 **Explore**。 +1. 单击 **Apps > Charts**。 +1. 单击 **vSphere CPI**。 +1. 填写所需的 vCenter 详细信息。 +1. vSphere CPI 使用 vSphere CSI 驱动所需的 ProviderID 来初始化所有节点。在使用以下命令安装 CSI 驱动之前,检查是否所有节点都使用 ProviderID 进行了初始化: + + ``` + kubectl describe nodes | grep "ProviderID" + ``` + + + + 1. 点击 **☰ > 集群管理**。 1. 转到将安装 vSphere CPI 插件的集群,然后单击 **Explore**。 1. 单击**应用 & 应用市场 > Chart**。 @@ -43,8 +60,26 @@ Kubernetes 版本必须为 1.19 或更高版本。 kubectl describe nodes | grep "ProviderID" ``` + + + ### 3. 安装 CSI 插件 + + + +1. 点击 **☰ > 集群管理**。 +1. 转到将安装 vSphere CSI 插件的集群,然后单击 **Explore**。 +1. 单击 **Apps > Charts**。 +1. 单击 **vSphere CSI**。 +1. 单击**安装**。 +1. 填写所需的 vCenter 详细信息。在**功能**选项卡中,将**启用 CSI 迁移**设置为 **false**。 +3. 在**存储**选项卡中,填写 StorageClass 的详细信息。此 Chart 使用 `csi.vsphere.vmware.com` 作为置备程序来创建一个 StorageClass。 +1. 单击**安装**。 + + + + 1. 点击 **☰ > 集群管理**。 1. 转到将安装 vSphere CSI 插件的集群,然后单击 **Explore**。 1. 单击**应用 & 应用市场 > Chart**。 @@ -54,6 +89,8 @@ Kubernetes 版本必须为 1.19 或更高版本。 3. 在**存储**选项卡中,填写 StorageClass 的详细信息。此 Chart 使用 `csi.vsphere.vmware.com` 作为置备程序来创建一个 StorageClass。 1. 单击**安装**。 + + ## 使用 CSI 驱动来置备卷 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree.md index 54dfe617868..7b26f4ebbc9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree.md @@ -56,6 +56,19 @@ chmod +x taints.sh 通过运行脚本为所有节点添加污点后,启动 Helm vSphere CPI Chart: + + + +1. 点击 **☰ > 集群管理**。 +1. 转到将安装 vSphere CPI chart 的集群,然后单击 **Explore**。 +1. 单击 **Apps > Charts**。 +1. 单击 **vSphere CPI**。 +1. 单击**安装**。 +1. 填写所需的 vCenter 详细信息,然后单击**安装**。 + + + + 1. 点击 **☰ > 集群管理**。 1. 转到将安装 vSphere CPI chart 的集群,然后单击 **Explore**。 1. 单击**应用 & 应用市场 > Chart**。 @@ -63,6 +76,9 @@ chmod +x taints.sh 1. 单击**安装**。 1. 填写所需的 vCenter 详细信息,然后单击**安装**。 + + + vSphere CPI 使用 vSphere CSI 驱动所需的 ProviderID 来初始化所有节点。 运行以下命令,检查是否已使用 ProviderID 初始化了所有节点: @@ -73,6 +89,23 @@ kubectl describe nodes | grep "ProviderID" ### 2. 安装 CSI 驱动 + + + +1. 点击 **☰ > 集群管理**。 +1. 转到将安装 vSphere CSI chart 的集群,然后单击 **Explore**。 +1. 单击 **Apps > Charts**。 +1. 单击 **vSphere CSI**。 +1. 单击**安装**。 +1. 填写所需的 vCenter 详细信息,然后单击**安装**。 +1. 选中**在安装前自定义 Helm 选项**,然后单击**下一步**。 +1. 在**功能**选项卡中,选中**启用 CSI 迁移**。 +1. 你也可以转到**存储**选项卡并设置 datastore。此 Chart 使用 `csi.vsphere.vmware.com` 作为置备程序来创建一个 StorageClass。在创建此 StorageClass 时,你也可以提供用于配置 CSI 卷的 datastore URL。通过选择 datastore 并转到**概述**选项卡,你可以在 vSphere 客户端中找到 datastore URL。填写 StorageClass 的详细信息。 +1. 单击**安装**。 + + + + 1. 点击 **☰ > 集群管理**。 1. 转到将安装 vSphere CSI chart 的集群,然后单击 **Explore**。 1. 单击**应用 & 应用市场 > Chart**。 @@ -84,6 +117,9 @@ kubectl describe nodes | grep "ProviderID" 1. 你也可以转到**存储**选项卡并设置 datastore。此 Chart 使用 `csi.vsphere.vmware.com` 作为置备程序来创建一个 StorageClass。在创建此 StorageClass 时,你也可以提供用于配置 CSI 卷的 datastore URL。通过选择 datastore 并转到**概述**选项卡,你可以在 vSphere 客户端中找到 datastore URL。填写 StorageClass 的详细信息。 1. 单击**安装**。 + + + ### 3. 编辑集群以启用 CSI 迁移的功能开关 1. 在编辑集群时,如果 Kubernetes 版本低于 1.19,请从 **Kubernetes 版本**下拉菜单中选择 Kubernetes 1.19 或更高版本。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-resources-setup/kubernetes-and-docker-registries.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-resources-setup/kubernetes-and-docker-registries.md index 4d355a7fc2e..cf35ca3d921 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-resources-setup/kubernetes-and-docker-registries.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-resources-setup/kubernetes-and-docker-registries.md @@ -56,7 +56,7 @@ Deployment 使用 Kubernetes 镜像仓库密文向私有 Docker 镜像仓库进 1. 在左上角,单击下拉菜单中的 **☰ > 全局设置**。 1. 单击**功能开关**。 -1. 转到`旧版应用`功能开关并单击**激活**。 +1. 转到 `Legacy` 功能开关并单击**激活**。 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要添加镜像仓库的集群,然后单击 **Explore**。 1. 在左侧导航中,单击**存储 > 密文**或**更多资源 > 核心 > 密文**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-resources-setup/secrets.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-resources-setup/secrets.md index 79e2e607709..de23af260b9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-resources-setup/secrets.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/kubernetes-resources-setup/secrets.md @@ -53,10 +53,10 @@ title: 密文 1. 在左上角,单击下拉菜单中的 **☰ > 全局设置**。 1. 单击**功能开关**。 -1. 转到`旧版应用`功能开关并单击**激活**。 +1. 转到 `Legacy` 功能开关并单击**激活**。 1. 点击左上角下拉菜单中的 **☰ > 集群管理**。 1. 转到你创建的集群,然后单击 **Explore**。 -1. 单击**旧版 > 项目**。 +1. 单击 **Legacy > 项目**。 1. 在顶部导航栏中进行过滤,从而仅查看一个项目。 1. 在左侧导航栏中,单击**密文**。 1. 单击**添加密文**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/about-rancher-agents.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/about-rancher-agents.md index 766856a7c30..d31e4b72197 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/about-rancher-agents.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/about-rancher-agents.md @@ -11,15 +11,15 @@ Rancher 管理的集群上部署了两种不同的 Agent 资源: ### cattle-cluster-agent -`cattle-cluster-agent` 用于连接 [Rancher 启动的 Kubernetes](../../../pages-for-subheaders/launch-kubernetes-with-rancher.md) 集群的 Kubernetes API。`cattle-cluster-agent` 使用 Deployment 资源进行部署。 +`cattle-cluster-agent` 用于连接 [Rancher 启动的 Kubernetes](../../../pages-for-subheaders/launch-kubernetes-with-rancher.md) 集群的 Kubernetes API。`cattle-cluster-agent` 使用 Deployment 资源进行部署。它更优先 control plane 节点而不是 worker 节点。 ### cattle-node-agent -`cattle-node-agent` 用于在执行集群操作时与 [Rancher 启动的 Kubernetes](../../../pages-for-subheaders/launch-kubernetes-with-rancher.md) 集群中的节点进行交互。集群操作包括升级 Kubernetes 版本和创建/恢复 etcd 快照。`cattle-node-agent` 使用 DaemonSet 资源进行部署,以确保能在每个节点上运行。当 `cattle-cluster-agent` 不可用时,`cattle-node-agent` 可以作为备选方案,用来连接 [Rancher 启动的 Kubernetes](../../../pages-for-subheaders/launch-kubernetes-with-rancher.md) 集群的 Kubernetes API。 +`cattle-node-agent` 用于在执行集群操作时与 [Rancher 启动的 Kubernetes](../../../pages-for-subheaders/launch-kubernetes-with-rancher.md) 集群中的节点进行交互。集群操作包括升级 Kubernetes 版本和创建/恢复 etcd 快照。当 `cattle-cluster-agent` 不可用时,`cattle-node-agent` 可以作为备选方案,用来连接 [Rancher 启动的 Kubernetes](../../../pages-for-subheaders/launch-kubernetes-with-rancher.md) 集群的 Kubernetes API。`cattle-node-agent` 使用 DaemonSet 资源进行部署,以确保能在每个节点上运行。 ### 调度规则 -`cattle-cluster-agent` 使用如下一组固定的容忍度(如果集群中没有可见的 controlplane 节点),或基于应用于 controlplane 节点的污点动态添加的容忍度。这种结构允许[基于污点进行驱逐](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/#taint-based-evictions)为 `cattle-cluster-agent` 正常工作。默认的容忍度如下。如果集群中存在 controlplane 节点,则容忍度将替换为与 controlplane 节点的污点匹配的容忍度。 +`cattle-cluster-agent` 使用如下一组固定的容忍度(如果集群中没有可见的 controlplane 节点),或基于应用于 controlplane 节点的污点动态添加的容忍度。如果集群中存在 controlplane 节点,则集群 agent 的容忍度将替换为与 controlplane 节点上的污点相匹配的容忍度。这种结构允许[基于污点进行驱逐](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/#taint-based-evictions)为 `cattle-cluster-agent` 正常工作。默认的容忍度如下: | 组件 | nodeAffinity nodeSelectorTerms | nodeSelector | 容忍度 | | ---------------------- | ------------------------------------------ | ------------ | ------------------------------------------------------------------------------ | diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/configuration-options/install-istio-on-rke2-cluster.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/configuration-options/install-istio-on-rke2-cluster.md index 235626a0234..cc5a9501233 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/configuration-options/install-istio-on-rke2-cluster.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/configuration-options/install-istio-on-rke2-cluster.md @@ -2,7 +2,7 @@ title: 在 RKE2 集群上安装 Istio 的其他步骤 --- -通过**应用 & 应用市场**页面安装或升级 Istio Helm Chart 时: +通过 **Apps & Marketplace**(Rancher v2.6.5 之前的版本)或 **Apps**(Rancher v2.6.5+)安装或升级 Istio Helm Chart 时: 1. 如果要安装 Chart,请单击**在安装前自定义 Helm 选项**,然后单击**下一步**。 1. 你将看到配置 Istio Helm Chart 的选项。在**组件**选项卡上,选中**启用 CNI** 旁边的框。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/configuration-options/pod-security-policies.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/configuration-options/pod-security-policies.md index bdbaace0657..d35674372ee 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/configuration-options/pod-security-policies.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/configuration-options/pod-security-policies.md @@ -33,7 +33,7 @@ Istio CNI 插件不再要求每个应用 pod 具有特权 `NET_ADMIN` 容器。 ### 2. 启用 CNI -通过**应用 & 应用市场**安装或升级 Istio 时: +通过 **Apps & Marketplace**(Rancher v2.6.5 之前的版本)或 **Apps**(Rancher v2.6.5+)安装或升级 Istio 时: 1. 单击**组件**。 2. 选中**启用 CNI**旁边的框。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/cpu-and-memory-allocations.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/cpu-and-memory-allocations.md index 9166ca58f50..ce4a3fd3f89 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/cpu-and-memory-allocations.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/cpu-and-memory-allocations.md @@ -36,6 +36,21 @@ Kubernetes 中的资源请求指的是,除非该节点至少具有指定数量 要配置分配给 Istio 组件的资源: + + + +1. 点击 **☰ > 集群管理**。 +1. 选择你创建的集群,并点击 **Explore**。 +1. 在左侧导航栏中,点击 **Apps**。 +1. 点击**已安装的应用**。 +1. 转到 `istio-system` 命名空间。在某个 Istio 工作负载中(例如 `rancher-istio`),点击**⋮ > 编辑/升级**。 +1. 点击**升级**,然后通过更改 values.yaml 或添加[覆盖文件](../../pages-for-subheaders/configuration-options.md#覆盖文件)来编辑基本组件。有关编辑覆盖文件的更多信息,请参阅[本节](cpu-and-memory-allocations.md#编辑覆盖文件)。 +1. 更改 CPU 或内存分配、调度各个组件的节点,或节点容忍度。 +1. 点击**升级**。然后,更改就能启用。 + + + + 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 1. 在左侧导航栏中,点击**应用 & 应用市场**。 @@ -45,6 +60,9 @@ Kubernetes 中的资源请求指的是,除非该节点至少具有指定数量 1. 更改 CPU 或内存分配、调度各个组件的节点,或节点容忍度。 1. 点击**升级**。然后,更改就能启用。 + + + **结果**:已更新 Istio 组件的资源分配。 ### 编辑覆盖文件 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/disable-istio.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/disable-istio.md index 6d06b0f29c6..4ef744b2688 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/disable-istio.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/istio/disable-istio.md @@ -8,12 +8,27 @@ title: 禁用 Istio 要卸载 Istio: + + + +1. 点击 **☰ > 集群管理**。 +1. 选择你创建的集群,并点击 **Explore**。 +1. 在左侧导航栏中,单击 **Apps > Installed Apps**。 +1. 在 `istio-system` 命名空间中,转到 `rancher-istio` 并单击 **⋮ > 删除**。 +1. 删除 `rancher-istio` 后,选择 `istio-system` 命名空间中所有剩余的应用,然后单击**删除**。 + + + + 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 1. 在左侧导航栏中,单击**应用 & 应用市场 > 已安装的应用**。 1. 在 `istio-system` 命名空间中,转到 `rancher-istio` 并单击 **⋮ > 删除**。 1. 删除 `rancher-istio` 后,选择 `istio-system` 命名空间中所有剩余的应用,然后单击**删除**。 + + + **结果**:已删除集群中的 `rancher-istio` 应用。Istio sidecar 不能部署在集群中的任何工作负载上。 :::note diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/longhorn.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/longhorn.md index ead5a6e4ad1..0275250db42 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/longhorn.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/longhorn.md @@ -23,6 +23,20 @@ Longhorn 是免费的开源软件。Longhorn 最初由 Rancher Labs 开发,现 ### 使用 Rancher 安装 Longhorn + + + +1. 满足所有[安装要求](https://longhorn.io/docs/latest/deploy/install/#installation-requirements)。 +1. 转到要安装 Longhorn 的集群。 +1. 单击 **Apps**。 +1. 单击 **Chart**。 +1. 点击 **Longhorn**。 +1. 可选:要自定义初始设置,请单击 **Longhorn 默认设置**并编辑配置。如需自定义设置的帮助,请参阅 [Longhorn 文档](https://longhorn.io/docs/latest/references/settings/)。 +1. 单击**安装**。 + + + + 1. 满足所有[安装要求](https://longhorn.io/docs/latest/deploy/install/#installation-requirements)。 1. 转到要安装 Longhorn 的集群。 1. 单击**应用 & 应用市场**。 @@ -31,6 +45,9 @@ Longhorn 是免费的开源软件。Longhorn 最初由 Rancher Labs 开发,现 1. 可选:要自定义初始设置,请单击 **Longhorn 默认设置**并编辑配置。如需自定义设置的帮助,请参阅 [Longhorn 文档](https://longhorn.io/docs/latest/references/settings/)。 1. 单击**安装**。 + + + **结果**:Longhorn 已部署到 Kubernetes 集群中。 ### 从 Rancher UI 访问 Longhorn @@ -42,11 +59,25 @@ Longhorn 是免费的开源软件。Longhorn 最初由 Rancher Labs 开发,现 ### 从 Rancher UI 卸载 Longhorn + + + +1. 转到安装了 Longhorn 的集群,然后单击 **Apps**。 +1. 点击**已安装的应用**。 +1. 转到 `longhorn-system` 命名空间并选中 `longhorn` 和 `longhorn-crd` 应用程序旁边的框。 +1. 单击**删除**并确认**删除**。 + + + + 1. 转到安装了 Longhorn 的集群,然后单击**应用 & 应用市场**。 1. 点击**已安装的应用**。 1. 转到 `longhorn-system` 命名空间并选中 `longhorn` 和 `longhorn-crd` 应用程序旁边的框。 1. 单击**删除**并确认**删除**。 + + + **结果**:Longhorn 已被卸载。 ### GitHub 仓库 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/neuvector.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/neuvector.md index 37b0aa65327..d9f58b88c63 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/neuvector.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/neuvector.md @@ -14,11 +14,25 @@ Harvester Helm Chart 用于管理 Rancher 中 NeuVector UI 的访问,用户可 **通过"应用 & 应用市场"导航并安装 NeuVector Chart**: + + + +1. 点击 **☰ > 集群管理**。 +1. 在 Clusters 页面上,转到要部署 NeuVector 的集群,然后单击 **Explore**。 +1. 转到 **Apps > Charts**,然后从 Chart 仓库中安装 **NeuVector**。 +1. 不同的集群类型需要不同的容器运行时。配置 Helm Chart 值时,转到**容器运行时**,然后根据集群类型选择运行时。最后,再次单击**安装**。 + + + + 1. 点击 **☰ > 集群管理**。 1. 在 Clusters 页面上,转到要部署 NeuVector 的集群,然后单击 **Explore**。 1. 转到 **应用 & 应用市场 > Charts**,然后从 Chart 仓库中安装 **NeuVector**。 1. 不同的集群类型需要不同的容器运行时。配置 Helm Chart 值时,转到**容器运行时**,然后根据集群类型选择运行时。最后,再次单击**安装**。 + + + 以下是一些例子: - RKE1:`docker` @@ -49,10 +63,23 @@ Harvester Helm Chart 用于管理 Rancher 中 NeuVector UI 的访问,用户可 **通过"应用 & 应用市场"卸载**: + + + +1. 点击 **☰ > 集群管理**。 +1. 在 **Apps** 下,点击 **Installed Apps**。 +1. 在 `cattle-neuvector-system` 下,选择 NeuVector 应用程序(如果需要,还可以选择相关的 CRD),然后单击**删除**。 + + + + 1. 点击 **☰ > 集群管理**。 1. 在**应用 & 应用市场**下,点击**已安装的应用**。 1. 在 `cattle-neuvector-system` 下,选择 NeuVector 应用程序(如果需要,还可以选择相关的 CRD),然后单击**删除**。 + + + **通过集群工具卸载**: 1. 点击 **☰ > 集群管理**。 @@ -114,7 +141,7 @@ NeuVector 安全解决方案包含四种类型的安全容器,分别是 Contro 1. 点击 **☰ > 集群管理**。 1. 选择你创建的集群,并点击 **Explore**。 -1. 在左侧导航栏中,点击**应用 & 应用市场**。 +1. 在左侧导航栏中,点击 **Apps**。 1. 安装(或升级到)NeuVector 版本 `100.0.1+up2.2.2`。 - 在 **编辑选项** > **其它配置**下,选中复选框来启用 **Pod 安全策略**(无需其他配置): @@ -123,7 +150,6 @@ NeuVector 安全解决方案包含四种类型的安全容器,分别是 Contro 1. 点击右下角的**安装**。 - diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/opa-gatekeeper.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/opa-gatekeeper.md index 7a5e79904d7..0e7952a8124 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/opa-gatekeeper.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/integrations-in-rancher/opa-gatekeeper.md @@ -35,16 +35,29 @@ Rancher 2.5 改进了 OPA Gatekeeper 应用。无法从 Rancher 2.4 升级到 Ra ::: -你可以在**应用 & 应用市场**页面安装 OPA Gatekeeper Helm Chart。 - ### 启用 OPA Gatekeeper + + + +1. 在左上角,单击 **☰ > 集群管理**。 +1. 在**集群**页面中,转到要启用 OPA Gatekeeper 的集群,然后单击 **Explore**。 +1. 在左侧导航栏中,点击 **Apps**。 +1. 点击 **Charts** 并点击 **OPA Gatekeeper**。 +1. 单击**安装**。 + + + + 1. 在左上角,单击 **☰ > 集群管理**。 1. 在**集群**页面中,转到要启用 OPA Gatekeeper 的集群,然后单击 **Explore**。 1. 在左侧导航栏中,点击**应用 & 应用市场**。 1. 点击 **Charts** 并点击 **OPA Gatekeeper**。 1. 单击**安装**。 + + + **结果**:已将 OPA Gatekeeper 部署到你的 Kubernetes 集群。 ## 约束模板 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/backup-restore-and-disaster-recovery.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/backup-restore-and-disaster-recovery.md index 23994671eb6..aeadeb35e08 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/backup-restore-and-disaster-recovery.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/backup-restore-and-disaster-recovery.md @@ -4,7 +4,7 @@ title: 备份和灾难恢复 在本节中,你将学习如何创建 Rancher 的备份,如何从备份中恢复 Rancher,以及如何将 Rancher 迁移到新的 Kubernetes 集群。 -`rancher-backup` operator 可以用来备份和恢复任何 Kubernetes 集群上的 Rancher。这个应用是一个 Helm Chart,可以通过 Rancher 的**应用 & 应用市场**页面或使用 Helm CLI 部署。你可以访问[本页面](https://github.com/rancher/charts/tree/release-v2.6/charts/rancher-backup)获取 `rancher-backup` Helm Chart。 +`rancher-backup` operator 可以用来备份和恢复任何 Kubernetes 集群上的 Rancher。这个应用是一个 Helm Chart,可以通过 Rancher 的 **Apps & Marketplace**(Rancher v2.6.5 之前的版本)或 **Apps**(Rancher v2.6.5+)页面或使用 Helm CLI 部署。你可以访问[本页面](https://github.com/rancher/charts/tree/release-v2.6/charts/rancher-backup)获取 `rancher-backup` Helm Chart。 `backup-restore` operator 需要安装在 local 集群上,并且只对 Rancher 应用进行备份。备份和恢复操作仅在本地 Kubernetes 集群中执行。 @@ -49,6 +49,20 @@ ResourceSet 定义了需要备份哪些 Kubernetes 资源。由于备份 Rancher ### 使用 Rancher UI 安装 rancher-backup + + + +1. 在左上角,单击 **☰ > 集群管理**。 +1. 在**集群**页面上,转到 `local` 集群并单击 **Explore**。 +1. 在左侧导航栏中,单击 **Apps > Charts**。 +1. 点击 **Rancher 备份**。 +1. 单击**安装**。 +1. 可选:配置默认存储位置。如需获取帮助,请参见[配置](../reference-guides/backup-restore-configuration/storage-configuration.md)。 +1. 单击**安装**。 + + + + 1. 在左上角,单击 **☰ > 集群管理**。 1. 在**集群**页面上,转到 `local` 集群并单击 **Explore**。 1. 在左侧导航栏中,单击**应用 & 应用市场 > Chart**。 @@ -57,6 +71,9 @@ ResourceSet 定义了需要备份哪些 Kubernetes 资源。由于备份 Rancher 1. 可选:配置默认存储位置。如需获取帮助,请参见[配置](../reference-guides/backup-restore-configuration/storage-configuration.md)。 1. 单击**安装**。 + + + **结果**:`rancher-backup` operator 已安装。 在**集群仪表板**中,你可以看到列在 **Deployments** 下的 `rancher-backup` operator。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/helm-charts-in-rancher.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/helm-charts-in-rancher.md index 5a356f3ea2e..1c6c2fce54f 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/helm-charts-in-rancher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/helm-charts-in-rancher.md @@ -2,13 +2,13 @@ title: Rancher 中的 Helm Chart --- -在本节中,你将学习如何在 Rancher 中管理 Helm Chart 仓库和应用。你可以在**应用 & 应用市场**中管理 Helm Chart 仓库。它使用类似目录的系统从仓库中导入 Chart 包,然后使用这些 Chart 来部署自定义 Helm 应用或 Rancher 工具(例如监控和 Istio)。Rancher 工具以预加载仓库的方式提供,并能部署为独立的 Helm Chart 。其他仓库只会添加到当前集群。 +在本节中,你将学习如何在 Rancher 中管理 Helm Chart 仓库和应用。你可以在 **Apps & Marketplace**(Rancher v2.6.5 之前的版本)或 **Apps**(Rancher v2.6.5+)中管理 Helm Chart 仓库。它使用类似目录的系统从仓库中导入 Chart 包,然后使用这些 Chart 来部署自定义 Helm 应用或 Rancher 工具(例如监控和 Istio)。Rancher 工具以预加载仓库的方式提供,并能部署为独立的 Helm Chart 。其他仓库只会添加到当前集群。 ### Rancher 2.6 变更 Rancher 2.6.0 实现了功能 Chart 的新版本控制方案。变更主要是 Chart 的主要版本和上游 Chart 的 +up 注释(如果适用)。 -**主要版本**:Chart 的主要版本与 Rancher 次要版本相关联。当你升级到新的 Rancher 次要版本时,你应该确保你的所有**应用 & 应用市场** Chart 也升级到 Chart 的正确发行版本。 +**主要版本**:Chart 的主要版本与 Rancher 次要版本相关联。当你升级到新的 Rancher 次要版本时,你应该确保你的所有 **Apps & Marketplace**(Rancher v2.6.5 之前的版本)或 **Apps**(Rancher v2.6.5+) Chart 也升级到 Chart 的正确发行版本。 :::note @@ -48,7 +48,18 @@ Rancher 2.6.0 实现了功能 Chart 的新版本控制方案。变更主要是 C ### Charts -从左上角的菜单中选择 _应用 & 应用市场_,然后你会转到 Chart 页面。 + + + +从左上角的菜单中选择 **Apps**,然后你会转到 Chart 页面。 + + + + +从左上角的菜单中选择 **Apps & Marketplace**,然后你会转到 Chart 页面。 + + + Chart 页面包含所有 Rancher、Partner 和自定义 Chart 。 @@ -60,7 +71,7 @@ Chart 页面包含所有 Rancher、Partner 和自定义 Chart 。 :::note -由 Cluster Manager (旧版 Rancher UI 中的全局视图)管理的应用应继续仅由 Cluster Manager 管理,而在新 UI 中使用应用 & 应用市场管理的应用则仅能由应用 & 应用市场管理。 +由 Cluster Manager (旧版 Rancher UI 中的全局视图)管理的应用应继续仅由 Cluster Manager 管理,而在新 UI 中使用 **Apps & Marketplace**(Rancher v2.6.5 之前的版本)或 **Apps**(Rancher v2.6.5+)管理的应用则仅能由 **Apps & Marketplace** 或 **Apps** 管理。 ::: diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/istio.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/istio.md index 6a843913209..e2b3ed04210 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/istio.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/istio.md @@ -67,7 +67,7 @@ Jaeger 是用于跟踪分布式系统的工具。我们的 Istio 安装程序包 ## 迁移旧 Istio 版本 -如果你的 Istio 版本低于 1.7.x,则没有升级路径。要在**应用 & 应用市场**页面安装 Istio,你需要在旧版 Rancher UI 的全局视图中禁用现有的 Istio。 +如果你的 Istio 版本低于 1.7.x,则没有升级路径。要在 **Apps & Marketplace**(Rancher v2.6.5 之前的版本)或 **App** (Rancher v2.6.5+)页面安装 Istio,你需要在旧版 Rancher UI 的全局视图中禁用现有的 Istio。 如果你有大量其他的 Istio CRD,你可能需要手动迁移两个 Istio 版本都支持的 CRD。为此,你可以运行 `kubectl get -n istio-system -o yaml`,保存输出的 yaml,并在新版本中重新应用。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/logging.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/logging.md index 282b4d3f42f..943c2c38112 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/logging.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/logging.md @@ -12,20 +12,48 @@ description: Rancher 集成了主流的日志服务。了解集成日志服务 你可以转到**应用**页面并安装 Logging 应用程序,从而为 Rancher 管理的集群启用 Logging: + + + +1. 转到要安装 Logging 的集群,然后单击 **Apps**。 +1. 点击 **Logging** 应用。 +1. 滚动到 Helm Chart README 的底部,然后单击**安装**。 + + + + 1. 转到要安装 Logging 的集群,然后单击**应用 & 应用市场**。 1. 点击 **Logging** 应用。 1. 滚动到 Helm Chart README 的底部,然后单击**安装**。 + + + **结果**:Logging 应用已部署到 `cattle-logging-system` 命名空间中。 ## 卸载 Logging + + + +1. 转到要安装 Logging 的集群,然后单击 **Apps**。 +1. 点击**已安装的应用**。 +1. 转到 `cattle-logging-system` 命名空间并选中 `rancher-logging` 和 `rancher-logging-crd` 框。 +1. 单击**删除**。 +1. 确认**删除**。 + + + + 1. 转到要安装 Logging 的集群,然后单击**应用 & 应用市场**。 1. 点击**已安装的应用**。 1. 转到 `cattle-logging-system` 命名空间并选中 `rancher-logging` 和 `rancher-logging-crd` 框。 1. 单击**删除**。 1. 确认**删除**。 + + + **结果**:已卸载 `rancher-logging`。 ## 架构 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/manage-clusters.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/manage-clusters.md index b6449e497d1..25e2c3efbcb 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/manage-clusters.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/manage-clusters.md @@ -35,4 +35,4 @@ Rancher 包含 Kubernetes 中未包含的各种工具来协助你进行 DevOps - Istio 服务网格 - OPA Gatekeeper -你可以通过**应用 & 应用市场**来安装工具。 +你可以通过 **Apps & Marketplace**(Rancher v2.6.5 之前的版本)或 **Apps**(Rancher v2.6.5+)来安装工具。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/pipelines.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/pipelines.md index 35906b7634e..2b637b18f84 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/pipelines.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/pages-for-subheaders/pipelines.md @@ -111,7 +111,7 @@ Rancher 的流水线提供简单的 CI/CD 体验,但不提供完整的功能 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 单击**配置**选项卡。 1. 按照说明**设置 Github 应用**。Rancher 会将你重定向到 GitHub 以在 GitHub 中设置 OAuth 应用。 1. 从 GitHub 复制 **Client ID** 和 **Client Secret**。将它们粘贴到 Rancher 中。 @@ -124,7 +124,7 @@ Rancher 的流水线提供简单的 CI/CD 体验,但不提供完整的功能 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 单击**配置**选项卡。 1. 单击 **GitLab**。 1. 按照说明**设置 GitLab 应用**。Rancher 会将你重定向到 GitLab。 @@ -146,7 +146,7 @@ Rancher 的流水线提供简单的 CI/CD 体验,但不提供完整的功能 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 单击**配置**选项卡。 1. 单击 **Bitbucket** 并保留默认选中的**使用 Bitbucket Cloud**。 1. 按照说明**设置 Bitbucket Cloud 应用**。Rancher 会将你重定向到 Bitbucket 以在 Bitbucket 中设置 OAuth 使用者。 @@ -159,7 +159,7 @@ Rancher 的流水线提供简单的 CI/CD 体验,但不提供完整的功能 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 单击**配置**选项卡。 1. 点击 **Bitbucket** 并选择**使用私有 Bitbucket Server 设置**选项。 1. 按照说明**设置 Bitbucket Server 应用**。 @@ -187,7 +187,7 @@ Bitbucket server 在向 Rancher 发送 webhook 时需要进行 SSL 验证。请 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 单击**配置仓库**。 1. 此处会显示仓库列表。如果你是第一次配置仓库,请单击 **Authorize & Fetch Your Own Repositories** 来获取你的仓库列表。 @@ -205,7 +205,7 @@ Bitbucket server 在向 Rancher 发送 webhook 时需要进行 SSL 验证。请 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 找到要设置流水线的仓库。 1. 通过 UI 或使用仓库中的 YAML 文件(即 `.rancher-pipeline.yml` 或 `.rancher-pipeline.yaml`)配置流水线。流水线配置分为阶段和步骤。必须完全完成阶段后才能进入下一个阶段,但一个阶段中的步骤可以同时运行。你可以在每个阶段中添加不同的步骤类型。请注意,在构建步骤时,会根据步骤类型提供不同的高级选项。高级选项包括触发规则、环境变量和密文。有关通过 UI 或 YAML 文件配置流水线的更多信息,请参阅[流水线配置参考](../reference-guides/pipelines/pipeline-configuration.md)。 @@ -277,7 +277,7 @@ Rancher 的[示例仓库](../reference-guides/pipelines/example-repositories.md) 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 找到要修改事件触发器的仓库。选择 **⋮ > 设置**。 1. 为仓库选择所需的事件触发器(**Push**、**Pull Request** 或 **Tag**)。 1. 单击**保存**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/cluster-configuration/rancher-server-configuration/rke2-cluster-configuration.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/cluster-configuration/rancher-server-configuration/rke2-cluster-configuration.md index d371b1432de..605a129fd33 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/cluster-configuration/rancher-server-configuration/rke2-cluster-configuration.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/cluster-configuration/rancher-server-configuration/rke2-cluster-configuration.md @@ -166,7 +166,7 @@ Rancher 与以下开箱即用的网络提供商兼容: #### 自动快照 -启用或禁用定期 etcd 快照的选项。如果启用,用户可以配置快照的频率。有关详细信息,请参阅 [RKE2 文档](https://docs.rke2.io/backup_restore/#creating-snapshots)。请注意,如果使用 RKE2,快照存储会在每个 etcd 节点上,这与 RKE1 不同(RKE1 每个集群只存储一个快照)。 +启用或禁用定期 etcd 快照的选项。如果启用,用户可以配置快照的频率。有关详细信息,请参阅 [RKE2 文档](https://docs.rke2.io/backup_restore/#creating-snapshots)。请注意,如果使用 RKE2,快照会存储在每个 etcd 节点上,这与 RKE1 不同(RKE1 每个集群只存储一个快照)。 #### 指标 diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/monitoring-v2-configuration/receivers.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/monitoring-v2-configuration/receivers.md index ef27b89de42..1dc5dec842c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/monitoring-v2-configuration/receivers.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/monitoring-v2-configuration/receivers.md @@ -142,12 +142,27 @@ Opsgenie 响应者: Teams 接收器不是原生接收器,因此需要启用后才能使用。你可以通过转到应用页面,安装 rancher-alerting-drivers 应用,然后选择 Teams 选项,从而为 Rancher 管理的集群启用 Teams 接收器。 + + + +1. 在 Rancher UI 中,转到要安装 rancher-alerting-drivers 的集群,然后单击 **Apps**。 +1. 点击 **Alerting Drivers** 应用。 +1. 单击 **Helm 部署选项**选项卡。 +1. 选择 **Teams** 并单击**安装**。 +1. 记下使用的命名空间,后续步骤中将需要该命名空间。 + + + + 1. 在 Rancher UI 中,转到要安装 rancher-alerting-drivers 的集群,然后单击**应用 & 应用市场**。 1. 点击 **Alerting Drivers** 应用。 1. 单击 **Helm 部署选项**选项卡。 1. 选择 **Teams** 并单击**安装**。 1. 记下使用的命名空间,后续步骤中将需要该命名空间。 + + + ### 配置 Teams 接收器 可以通过更新 ConfigMap 来配置 Teams 接收器。例如,以下是最小的 Teams 接收器配置: diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/pipelines/example-repositories.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/pipelines/example-repositories.md index 3b89bb5b69c..5a18e1ba553 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/pipelines/example-repositories.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/pipelines/example-repositories.md @@ -33,7 +33,7 @@ Rancher 附带了几个示例仓库,你可以通过这些仓库来熟悉流水 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 在**流水线**选项卡中,单击**配置仓库**。 :::note @@ -61,7 +61,7 @@ Rancher 附带了几个示例仓库,你可以通过这些仓库来熟悉流水 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 在**流水线**选项卡中,单击**配置仓库**。 1. 找到示例仓库,然后选择 **⋮ > 编辑配置**。查看流水线有两种方式: * **Rancher UI**:点击**编辑配置**或**查看/编辑 YAML** 以查看流水线的阶段和步骤。YAML 视图会显示 `./rancher-pipeline.yml` 文件。 @@ -73,7 +73,7 @@ Rancher 附带了几个示例仓库,你可以通过这些仓库来熟悉流水 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 在**流水线**选项卡中,转到流水线并选择 **⋮ > 运行**。 :::note diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/pipelines/pipeline-configuration.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/pipelines/pipeline-configuration.md index 87e812e4d2e..1b4f90f9ec9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/pipelines/pipeline-configuration.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6/reference-guides/pipelines/pipeline-configuration.md @@ -362,7 +362,7 @@ notification: 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 在要管理触发器规则的仓库中,选择 **⋮ > 编辑配置**。 1. 点击**显示高级选项**。 1. 在**触发器**中,配置规则以运行或跳过流水线。 @@ -378,7 +378,7 @@ notification: 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 在要管理触发器规则的仓库中,选择 **⋮ > 编辑配置**。 1. 找到要用于管理触发规则的**阶段**,单击该阶段的**编辑**图标。 1. 单击**显示高级选项**。 @@ -400,7 +400,7 @@ notification: 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 在要管理触发器规则的仓库中,选择 **⋮ > 编辑配置**。 1. 找到要用于管理触发规则的**步骤**,单击该步骤的**编辑**图标。 1. 单击**显示高级选项**。 @@ -452,7 +452,7 @@ branch: 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 找到要编辑构建触发器的流水线,然后选择 **⋮ > 编辑配置**。 1. 在其中一个阶段中,找到要为其添加环境变量的**步骤**,然后单击**编辑**图标。 1. 单击**显示高级选项**。 @@ -494,7 +494,7 @@ stages: 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 1. 找到要编辑构建触发器的流水线,然后选择 **⋮ > 编辑配置**。 1. 在其中一个阶段中,找到要使用密文的**步骤**,然后单击**编辑**图标。 1. 单击**显示高级选项**。 @@ -558,7 +558,7 @@ stages: 1. 在左上角,单击 **☰ > 集群管理**。 1. 转到要配置流水线的集群,然后单击 **Explore**。 1. 在顶部导航栏的下拉菜单中,选择要配置流水线的项目。 -1. 在左侧导航栏中,单击**旧版应用 > 项目 > 流水线**。 +1. 在左侧导航栏中,单击 **Legacy > 项目 > 流水线**。 - [Executor 配额](#executor-配额) - [Executor 的资源配额](#executor-的资源配额)