From 7e4b392bed3d5385a3077c2854a155930c620dab Mon Sep 17 00:00:00 2001 From: vickyhella Date: Wed, 22 Feb 2023 14:28:54 +0800 Subject: [PATCH] Update Chinese translation for v2.7 --- .../configure-azure-ad.md | 31 +++++++++++++------ .../vsphere/create-credentials.md | 1 + .../vsphere-storage.md | 4 +-- .../manage-project-resource-quotas.md | 8 ++++- .../backup-configuration.md | 4 +-- .../storage-configuration.md | 2 +- 6 files changed, 34 insertions(+), 16 deletions(-) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-azure-ad.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-azure-ad.md index 056259a44f9..f422df8b3f0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-azure-ad.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-azure-ad.md @@ -159,11 +159,23 @@ Rancher 不会验证你授予 Azure 应用程序的权限。我们仅支持使 在 Rancher UI 中,输入托管在 Azure 中的 AD 实例的信息以完成配置。 1. 登录到 Rancher。 + 1. 在左上角,单击 **☰ > 用户 & 认证**。 + 1. 在左侧导航栏,单击**认证**。 + 1. 单击 **AzureAD**。 + 1. 使用你在[复制 Azure 应用数据](#4-复制-azure-应用数据)时复制的信息,填写**配置 Azure AD 账号**的表单。 + :::caution + + Azure AD 帐户将被授予管理员权限,因为其详细信息将映射到 Rancher 本地主体帐户。在继续之前确保此权限级别是适当的。 + + ::: + + **对于标准或中国端点:** + 下表介绍了你在 Azure 门户中复制的值与 Rancher 中字段的映射: | Rancher 字段 | Azure 值 | @@ -173,20 +185,19 @@ Rancher 不会验证你授予 Azure 应用程序的权限。我们仅支持使 | 应用密文 | Key Value | | 端点 | https://login.microsoftonline.com/ | + **对于自定义端点**: -**对于自定义端点**: + 下表将你的自定义配置值映射到 Rancher 字段: -下表介绍了你在 Azure 门户中复制的自定义配置值与 Rancher 中字段的映射: + | Rancher 字段 | Azure 值 | + | ------------------ | ------------------------------------- | + | Graph 端点 | Microsoft Graph API Endpoint | + | Token 端点 | OAuth 2.0 Token Endpoint | + | Auth 端点 | OAuth 2.0 Authorization Endpoint | -| Rancher 字段 | Azure 值 | -| ------------------ | ------------------------------------- | -| Graph 端点 | Microsoft Graph API Endpoint | -| Token 端点 | OAuth 2.0 Token Endpoint | -| Auth 端点 | OAuth 2.0 Authorization Endpoint | + **重要提示**:在自定义配置中输入 Graph Endpoint 时,请从 URL 中删除 Tenant ID: -**重要提示**:在自定义配置中输入 Graph Endpoint 时,请从 URL 中删除 Tenant ID,如下所示: - -https://graph.microsoft.com/abb5adde-bee8-4821-8b03-e63efdc7701c + https://graph.microsoft.com/abb5adde-bee8-4821-8b03-e63efdc7701c 1. 点击**启用**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/use-new-nodes-in-an-infra-provider/vsphere/create-credentials.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/use-new-nodes-in-an-infra-provider/vsphere/create-credentials.md index 87db9f2e07f..acf45cd85b0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/use-new-nodes-in-an-infra-provider/vsphere/create-credentials.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/use-new-nodes-in-an-infra-provider/vsphere/create-credentials.md @@ -8,6 +8,7 @@ title: 在 vSphere 控制台中创建凭证 | 特权组 | 操作 | |:----------------------|:-----------------------------------------------------------------------| +| Cns Privileges | Searchable | | Datastore | AllocateSpace
Browse
FileManagement (Low level file operations)
UpdateVirtualMachineFiles
UpdateVirtualMachineMetadata | | 全局 | Set custom attribute | | 网络 | Assign | diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/manage-clusters/provisioning-storage-examples/vsphere-storage.md b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/manage-clusters/provisioning-storage-examples/vsphere-storage.md index a5d85285ce3..c36f3d7acf2 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/manage-clusters/provisioning-storage-examples/vsphere-storage.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/how-to-guides/new-user-guides/manage-clusters/provisioning-storage-examples/vsphere-storage.md @@ -20,8 +20,8 @@ title: vSphere 存储 ::: 1. 点击 **☰ > 集群管理**。 -1. 转到要配置 vSphere 存储的集群。 -1. 在左侧导航栏中,单击**存储 > 存储类**。 +1. 选择要使用 vSphere 存储的集群,然后单击**浏览**。 +1. 在左侧导航栏中,选择**存储 > StorageClass**。 1. 单击**创建**。 3. 输入存储类的**名称**。 4. 在 **Provisioner**下,选择 **VMWare vSphere 卷**。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/manage-project-resource-quotas.md b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/manage-project-resource-quotas.md index 880b4d1516c..89c8a760f5e 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/manage-project-resource-quotas.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/pages-for-subheaders/manage-project-resource-quotas.md @@ -20,7 +20,13 @@ Rancher 中的资源配额包含与 [Kubernetes 原生版本](https://kubernetes 1. 在左上角,单击 **☰ > 集群管理**。 1. 在**集群**页面,进入要应用资源配额的集群,然后单击 **Explore**。 1. 单击**集群 > 项目/命名空间**。 -1. 找到要添加资源配额的项目。在该项目中选择 **⋮ > 编辑配置**。 +1. 确保 **Projects/Namespaces** 页面处于 **Group by Project** 视图模式。 + ![Screenshot highlighting the "Group by Project" icon, above the list of projects. It resembles a folder.](/img/edit-project-config-for-resource-quotas-group-by-project.png) + +1. 找到要添加资源配额的项目,选择与项目名称同行的 **⋮**。 + ![Screenshot highlighting triple dots icon at the end of the same row as the project name.](/img/edit-project-config-for-resource-quotas-dots.png) + +1. 选择**编辑配置**。 1. 展开**资源限额**并单击**添加资源**。你也可以编辑现有配额。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/backup-restore-configuration/backup-configuration.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/backup-restore-configuration/backup-configuration.md index bdc2b3545c0..24505753d86 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/backup-restore-configuration/backup-configuration.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/backup-restore-configuration/backup-configuration.md @@ -73,7 +73,7 @@ S3 存储位置包含以下配置字段: 1. **凭证密文**(可选):如果你需要使用 AWS 访问密钥(access key)和密文密钥(secret key)来访问 S3 存储桶,请使用带有密钥和指令 `accessKey` 和 `secretKey` 的凭证来创建密文。它可以是任意一个命名空间。你可以点击[此处](#credentialsecret-示例)查看示例密文。如果运行 operator 的节点在 EC2 中,并且设置了允许它们访问 S3 的 IAM 权限,则此指令是不必要的(如[本节](#ec2-节点访问-s3-的-iam-权限)所述)。凭证密文下拉菜单列出了所有命名空间的密文。 1. **存储桶名称**:存储备份文件的 S3 存储桶的名称。 1. **区域**(可选):S3 存储桶所在的 AWS [区域](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/)。配置 MinIO 时不需要该字段。 -1. **文件夹**(可选):S3 存储桶中存储备份文件的文件夹名称。不支持嵌套文件夹(例如, `rancher/cluster1`)。 +1. **文件夹**(可选):S3 存储桶中存储备份文件的文件夹名称。不支持嵌套文件夹(例如, `rancher/cluster1`)。如果此字段留空,则默认将备份文件存储在 S3 存储桶的根文件夹中。 1. **端点**:用于访问存储桶区域中的 S3 的[端点](https://docs.aws.amazon.com/general/latest/gr/s3.html)。 1. **端点 CA**(可选):Base64 编码的 CA 证书。如需获取示例,请参见 [S3 兼容配置示例](#s3-存储配置示例)。 1. **跳过 TLS 验证**(可选):如果你不使用 TLS,则设置为 `true`。 @@ -84,7 +84,7 @@ S3 存储位置包含以下配置字段: | `credentialSecretName` | 如果你需要使用 AWS 访问密钥(access key)和密文密钥(secret key)来访问 S3 存储桶,请使用带有密钥和指令 `accessKey` 和 `secretKey` 的凭证来创建密文。它可以在任何命名空间中,只要你在 `credentialSecretNamespace` 中提供该命名空间。点击[这里](#credentialsecret-示例)查看示例密文。如果运行 operator 的节点在 EC2 中,并且设置了允许它们访问 S3 的 IAM 权限,则此指令是不必要的(如[本节](#ec2-节点访问-s3-的-iam-权限)所述)。 | | | `credentialSecretNamespace` | 包含访问 S3 的凭证的密文的命名空间。如果运行 operator 的节点在 EC2 中,并且设置了允许它们访问 S3 的 IAM 权限,则此指令是不必要的(如[本节](#ec2-节点访问-s3-的-iam-权限)所述)。 | | | `bucketName` | 存储备份文件的 S3 存储桶的名称。 | ✓ | -| `folder` | S3 存储桶中存储备份文件的文件夹名称。不支持嵌套文件夹(例如, `rancher/cluster1`)。 | | +| `folder` | S3 存储桶中存储备份文件的文件夹名称。不支持嵌套文件夹(例如, `rancher/cluster1`)。如果此字段留空,则默认将备份文件存储在 S3 存储桶的根文件夹中。 | | | `region` | S3 存储桶所在的 AWS [区域](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/)。 | ✓ | | `endpoint` | 用于访问存储桶区域中的 S3 的[端点](https://docs.aws.amazon.com/general/latest/gr/s3.html)。 | ✓ | | `endpointCA` | Base64 编码的 CA 证书。如需获取示例,请参见 [S3 兼容配置示例](#s3-存储配置示例)。 | | diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/backup-restore-configuration/storage-configuration.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/backup-restore-configuration/storage-configuration.md index e7442d4c61f..2db4ed74ef5 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/backup-restore-configuration/storage-configuration.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference-guides/backup-restore-configuration/storage-configuration.md @@ -20,7 +20,7 @@ title: 备份存储位置配置 | 凭证密文 | 从 Rancher 的密文中选择 S3 的凭证。[示例](examples.md#在-s3-中存储备份的凭证密文示例)。 | | 存储桶名称 | 存储备份的 [S3 存储桶](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html)的名称。默认值:`rancherbackups`。 | | 区域 | S3 存储桶所在的 [AWS 区域](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/)。 | -| 文件夹 | 存储备份的 [S3 存储桶中的文件夹](https://docs.aws.amazon.com/AmazonS3/latest/user-guide/using-folders.html)。 | +| 文件夹 | 存储备份的 [S3 存储桶中的文件夹](https://docs.aws.amazon.com/AmazonS3/latest/user-guide/using-folders.html)。如果此字段留空,则默认将备份文件存储在 S3 存储桶的根文件夹中。 | | 端点 | [S3 端点](https://docs.aws.amazon.com/general/latest/gr/s3.html),例如 `s3.us-west-2.amazonaws.com`。 | | Endpoint CA | 用于 S3 端点的 CA 证书。默认值:base64 编码的 CA 证书。 | | insecureTLSSkipVerify | 如果你不使用 TLS,则设置为 `true`。 |