Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
121 changes: 94 additions & 27 deletions docs/locales/en/LC_MESSAGES/reference/concepts/domain_cn.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,236 +19,303 @@ msgstr ""

#: ../../reference/concepts/domain_cn.md:1
msgid "Domain"
msgstr ""
msgstr "Domain"

#: ../../reference/concepts/domain_cn.md:3
msgid ""
"在 Kuscia 中将隐私计算的节点称为 Domain,一个 Domain 中可以包含多个 K3s 的工作节点(Node)。Kuscia 复用了 "
"K3s 的 Namespace 机制来管理节点权限,一个 Domain 对应 K3s 中的一个 Namespace。你可以使用 Domain "
"来管理和维护隐私计算节点。具体用例请参考下文。"
msgstr ""
"In Kuscia, privacy-preserving computation node are referred to as Domain. A Domain can "
"contain multiple K3s worker nodes (Nodes). Kuscia leverages K3s' Namespace "
"mechanism for node permission management, where each Domain corresponds to "
"a Namespace in K3s. Domain are used to manage and maintain privacy "
"computing nodes. Specific use cases are detailed below."

#: ../../reference/concepts/domain_cn.md:6
msgid "用例"
msgstr ""
msgstr "Use Cases"

#: ../../reference/concepts/domain_cn.md:8
msgid "以下是一些 Domain 的典型用例:"
msgstr ""
msgstr "The following are typical use cases for Domain"

#: ../../reference/concepts/domain_cn.md:10
msgid "创建 Domain,你将体验如何使用 Domain 创建隐私计算节点相关的 Namespace, ResourceQuota 资源。"
msgstr ""
"Create Domain: You will learn how to use Domain to create Namespace and "
"ResourceQuota resources associated with privacy-preserving computation nodes."

#: ../../reference/concepts/domain_cn.md:11
msgid "更新 Domain,你将熟悉如何更新现有的 Domain,从而变更隐私计算节点相关的 Namespace, ResourceQuota 资源。"
msgstr ""
"Update Domain: You will become familiar with modifying existing Domain "
"to update Namespace and ResourceQuota resources related to privacy-preserving computation "
"nodes."

#: ../../reference/concepts/domain_cn.md:12
msgid ""
"清理 Domain,你将熟悉如何清理不需要的 Domain。在 Kuscia 中,清理 Domain 并不会真正的删除 Domain 相关的 "
"Namespace, ResourceQuota 资源,而是会在节点相关的 Namespace 资源上添加标记 Domain 被删除相关标签。"
msgstr ""
"Clean up Domain: You will learn how to remove unnecessary Domain. In "
"Kuscia, clean up Domain does not permanently delete associated "
"Namespace and ResourceQuota resources. Instead, it adds deletion-related "
"labels to the corresponding Namespace resources."

#: ../../reference/concepts/domain_cn.md:13
msgid "参考 Domain 对象定义,你将获取详细的 Domain 描述信息。"
msgstr ""
"Reference Domain object definition: You will obtain comprehensive "
"descriptive information about Domain."

#: ../../reference/concepts/domain_cn.md:15
msgid "创建 Domain"
msgstr ""
msgstr "Create Domain"

#: ../../reference/concepts/domain_cn.md:17
msgid "下面以 `alice-domain.yaml` 的内容为例,介绍创建 Domain。"
msgstr ""
"The following example using `alice-domain.yaml` demonstrates Domain "
"creation."

#: ../../reference/concepts/domain_cn.md:31
#: ../../reference/concepts/domain_cn.md:82
msgid "在该示例中:"
msgstr ""
msgstr "In this example:"

#: ../../reference/concepts/domain_cn.md:33
msgid ""
"`.metadata.name`:表示隐私计算节点 Domain 名称,当前示例为 `alice` 。相应地,Kuscia 控制器会创建名称和 "
"Domain 同名的 `alice` Namespace 资源。在 Kuscia 中,通过 Namespace 资源对不同机构用户进行资源隔离。"
msgstr ""
"`.metadata.name`: Specifies the Domain name for the privacy-preserving computation node, "
"`alice` in this case. The Kuscia controller creates a Namespace resource "
"with the same name as the Domain. Namespace resources enable resource "
"isolation between different organizational users in Kuscia."

#: ../../reference/concepts/domain_cn.md:34
msgid "`.spec.role`:表示隐私计算节点 Domain 的角色,默认为 `\"\"`。支持两种取值:`partner` 和 `\"\"`。"
msgstr ""
"`.spec.role`: Defines the Domain's role for privacy-preserving computation nodes, "
"defaulting to `\"\"`. Supported values are `partner` and `\"\"`."

#: ../../reference/concepts/domain_cn.md:35
msgid ""
"`partner`:表示外部节点,用在点对点组网模式下的协作方节点。点对点组网模式下,需要在任务调度方的集群中创建协作方的 Domain,在创建该"
" Domain 时,需要将 `role` 的值设置为 `partner` 。"
msgstr ""
"`partner`: Represents an external node used as a collaborator in P2P "
"networking mode. When creating a collaborator Domain in the task "
"scheduler's cluster under this mode, set `role` to `partner`."

#: ../../reference/concepts/domain_cn.md:36
#: ../../reference/concepts/domain_cn.md:170
msgid "`\"\"`:表示内部节点。"
msgstr ""
msgstr "`\"\"`: Specifies an internal node."

#: ../../reference/concepts/domain_cn.md:37
msgid ""
"`.spec.cert`:表示 BASE64 编码格式的隐私计算节点证书,该证书是配置文件中的 `domainKeyData` "
"私钥产生的,可以通过[这里](https://github.com/secretflow/kuscia/blob/main/scripts/deploy/generate_cert.sh)的命令生成。在中心化模式场景不需要填充该字段。"
msgstr ""
"`.spec.cert`: Specifies the BASE64-encoded certificate for the privacy "
"computing node, generated using the `domainKeyData` private key from the "
"configuration file. This can be created using commands from [this script]"
"(https://github.com/secretflow/kuscia/blob/main/scripts/deploy/generate_cert.sh). "
"This field is not required in Center mode scenarios."

#: ../../reference/concepts/domain_cn.md:38
msgid ""
"`.spec.resourceQuota.podMaxCount`:表示 Domain "
"所管理的隐私计算节点命名空间(Namespace)下所允许创建的最大 Pod 数量,当前示例为`100`。"
msgstr ""
"`.spec.resourceQuota.podMaxCount`: Specifies the maximum number of Pods "
"allowed in the Namespace managed by the Domain, set to `100` in this "
"example."

#: ../../reference/concepts/domain_cn.md:40
msgid "运行以下命令创建 Domain。"
msgstr ""
msgstr "Execute the following command to create the Domain."

#: ../../reference/concepts/domain_cn.md:46
msgid "检查 Domain 是否创建成功。"
msgstr ""
msgstr "Check whether the domain name is created successfully."

#: ../../reference/concepts/domain_cn.md:54
msgid "检查 Domain 相关的 Namespace, ResourceQuota 资源是否创建成功。"
msgstr ""
msgstr "Check whether the Namespace and ResourceQuota resources related to the Domain are created successfully."

#: ../../reference/concepts/domain_cn.md:66
msgid "更新 Domain"
msgstr ""
msgstr "Update Domain"

#: ../../reference/concepts/domain_cn.md:68
msgid "下面以 `alice-domain.yaml` 的内容为例,介绍更新 Domain。"
msgstr ""
"The following uses the content of `alice-domain.yaml` as an example to introduce how to update the Domain."

#: ../../reference/concepts/domain_cn.md:84
msgid "将 `.spec.resourceQuota.podMaxCount` 的值调整为`200`。"
msgstr ""
msgstr "Adjust `.spec.resourceQuota.podMaxCount` to `200`."

#: ../../reference/concepts/domain_cn.md:86
msgid "运行以下命令更新 Domain。"
msgstr ""
msgstr "Run the following command to update the Domain."

#: ../../reference/concepts/domain_cn.md:92
msgid "检查 Domain 相关的 ResourceQuota 资源是否更新成功。"
msgstr ""
msgstr "Check whether the ResourceQuota resources related to the Domain are updated successfully."

#: ../../reference/concepts/domain_cn.md:100
msgid "清理 Domain"
msgstr ""
msgstr "Clean up Domain"

#: ../../reference/concepts/domain_cn.md:102
msgid "下面以 Domain `alice` 为例,介绍清理 Domain。"
msgstr ""
msgstr "The following uses the Domain `alice` as an example to introduce how to clean up the Domain."

#: ../../reference/concepts/domain_cn.md:104
msgid "运行以下命令清理 Domain。"
msgstr ""
msgstr "Run the following command to clean up the Domain."

#: ../../reference/concepts/domain_cn.md:110
msgid "检查 Domain 是否已被清理。"
msgstr ""
msgstr "Check if the Domain has been cleaned up."

#: ../../reference/concepts/domain_cn.md:117
msgid "检查 Domain 相关的 Namespace, ResourceQuota 资源是否还存在。"
msgstr ""
msgstr "Check remaining Namespace and ResourceQuota resources."

#: ../../reference/concepts/domain_cn.md:129
msgid "检查 Domain 相关的 Namespace 是否已添加标记被清理的标签。"
msgstr ""
"Check whether the namespace associated with the domain has been marked as cleaned up."

#: ../../reference/concepts/domain_cn.md:137
msgid "参考"
msgstr ""
msgstr "Reference"

#: ../../reference/concepts/domain_cn.md:139
msgid "下面以 `domain-template` 模版为例,介绍 Domain 所包含的完整字段。"
msgstr ""
"The following template `domain-template` illustrates complete Domain field "
"definitions."

#: ../../reference/concepts/domain_cn.md:162
msgid "Domain `metadata` 的子字段详细介绍如下:"
msgstr ""
msgstr "Domain `metadata` subfields are detailed below:"

#: ../../reference/concepts/domain_cn.md:164
msgid ""
"`name`:表示隐私计算节点 Domain 的名称,当前示例为 `domain-template` 。相应地,Kuscia 控制器会创建名称和 "
"Domain 同名的 `domain-template` Namespace 资源。在 Kuscia 中,通过 Namespace "
"资源对不同机构用户进行资源隔离。"
msgstr ""
"`name`: Specifies the Domain name for privacy-preserving computation nodes (`domain-"
"template` in this example). The Kuscia controller creates a Namespace "
"resource with the same name. Namespaces provide resource isolation between "
"different organizations in Kuscia."

#: ../../reference/concepts/domain_cn.md:166
msgid "Domain `spec` 的子字段详细介绍如下:"
msgstr ""
msgstr "Domain `spec` subfields are defined as follows:"

#: ../../reference/concepts/domain_cn.md:168
msgid "`role`:表示隐私计算节点 Domain 的角色,默认为`\"\"`。支持两种取值:`partner`和 `\"\"` 。"
msgstr ""
"`role`: Defines the Domain's role for privacy-preserving computation nodes, defaulting "
"to `\"\"`. Valid values: `partner` and `\"\"`."

#: ../../reference/concepts/domain_cn.md:169
msgid ""
"`partner`:表示外部节点,用在点对点组网模式下的协作方节点。 点对点组网模式下,需要在任务调度方的集群中创建协作方的 "
"Domain,在创建该 Domain 时,需要将 `role` 的值设置为 `partner` 。"
msgstr ""
"`partner`: Indicates an external node acting as a collaborator in P2P "
"networks. When creating collaborator Domain in the task scheduler's "
"cluster under this mode, set `role` to `partner`."

#: ../../reference/concepts/domain_cn.md:171
msgid ""
"`cert`:表示 BASE64 编码格式的隐私计算节点证书,该证书是配置文件中的 `domainKeyData` "
"私钥产生的,可以通过[这里](https://github.com/secretflow/kuscia/blob/main/scripts/deploy/generate_cert.sh)的命令生成。在中心化模式场景不需要填充该字段。"
msgstr ""
"`cert`: BASE64-encoded certificate generated using the `domainKeyData` "
"private key from configuration files. Generate using commands from [this "
"script](https://github.com/secretflow/kuscia/blob/main/scripts/deploy/generate_cert.sh). "
"Not required in Center mode."

#: ../../reference/concepts/domain_cn.md:172
msgid ""
"`interConnProtocols`:表示外部隐私计算节点支持的互联互通作业协议类型,默认为 `\"\"`。支持两种取值:`kuscia` 和"
" `bfia` 。当前该字段只支持配置一种协议,若配置多个协议,则会选择第一个协议作为互联互通作业的协议类型。未来会支持多种协议。"
msgstr ""
"`interConnProtocols`: Specifies interoperability protocols supported by "
"external privacy-preserving computation nodes, defaulting to `\"\"`. Valid values: `kuscia` and `bfia`. "
"Currently supports single protocol configuration, with future plans for "
"multi-protocol support."

#: ../../reference/concepts/domain_cn.md:173
msgid "`kuscia`:表示该外部节点参与隐私计算任务时,会使用互联互通蚂蚁 `kuscia` 协议运行隐私计算任务。"
msgstr ""
"`kuscia`: Indicates the external privacy-preserving computation nodes uses Ant Group's `kuscia` protocol "
"for privacy-preserving computation tasks."

#: ../../reference/concepts/domain_cn.md:174
msgid "`bfia`:表示该外部节点参与隐私计算任务时,会使用互联互通银联 `bfia` 协议运行隐私计算任务。"
msgstr ""
"`bfia`: Indicates the external node uses China UnionPay's `bfia` protocol "
"for privacy-preserving computation tasks."

#: ../../reference/concepts/domain_cn.md:175
msgid ""
"`resourceQuota.podMaxCount`:表示 Domain 所管理的隐私计算节点 Namespace 下所允许创建的最大 Pod "
"数量,当前示例为`100`。相应地,Kuscia 控制器会在 `domain-template` Namespace 下创建名称为 "
"`resource-limitation` 的 ResourceQuota 资源。"
msgstr ""
"`resourceQuota.podMaxCount`: Defines maximum Pod count (`100` in example) "
"allowed in the Domain-managed Namespace. Kuscia controller creates a "
"`resource-limitation` ResourceQuota resource in the `domain-template` "
"Namespace."

#: ../../reference/concepts/domain_cn.md:177
msgid "Domain `status` 的子字段详细介绍如下:"
msgstr ""
msgstr "Domain `status` subfields are detailed below:"

#: ../../reference/concepts/domain_cn.md:179
msgid "`nodeStatuses`:表示隐私计算节点 Domain 下所有 Kuscia Agent 的状态信息。"
msgstr ""
"`nodeStatuses`: Displays status information for all Kuscia Agents under the Domain."

#: ../../reference/concepts/domain_cn.md:180
msgid "`nodeStatuses[].lastHeartbeatTime`:表示 Kuscia Agent 最近一次上报心跳的时间。"
msgstr ""
"`nodeStatuses[].lastHeartbeatTime`: Indicates the time when Kuscia Agent last reported a heartbeat."

#: ../../reference/concepts/domain_cn.md:181
msgid "`nodeStatuses[].lastTransitionTime`:表示 Kuscia Agent 最近一次发生更新的时间。"
msgstr ""
"`nodeStatuses[].lastTransitionTime`: Indicates the time when Kuscia Agent was last updated."

#: ../../reference/concepts/domain_cn.md:182
msgid "`nodeStatuses[].name`:表示 Kuscia Agent 的名称。"
msgstr ""
msgstr "`nodeStatuses[].name`: Indicates the name of the Kuscia Agent."

#: ../../reference/concepts/domain_cn.md:183
msgid "`nodeStatuses[].status`:表示 Kuscia Agent 的状态。支持两种取值 `Ready` 、`NotReady` 。"
msgstr ""
"`nodeStatuses[].status`: Indicates the status of Kuscia Agent. Supports two values: `Ready` and `NotReady`."

#: ../../reference/concepts/domain_cn.md:184
msgid "`Ready`:表示 Kuscia Agent 状态正常。"
msgstr ""
msgstr "`Ready`: Indicates that the Kuscia Agent status is normal."

#: ../../reference/concepts/domain_cn.md:185
msgid "`NotReady`:表示 Kuscia Agent 状态异常。"
msgstr ""
msgstr "`NotReady`: Indicates that the Kuscia Agent status is abnormal."

#: ../../reference/concepts/domain_cn.md:186
msgid "`nodeStatuses[].version`:表示 Kuscia Agent 的版本。"
msgstr ""

msgstr "`nodeStatuses[].version`: Indicates the version of Kuscia Agent."
2 changes: 1 addition & 1 deletion docs/locales/en/LC_MESSAGES/reference/concepts/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ msgstr ""

#: ../../reference/concepts/index.rst:2
msgid "Kuscia 概念"
msgstr ""
msgstr "Kuscia Concepts"