From cfbc937e35e31a67cc29633109cabedaaf35b995 Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Sat, 13 May 2023 12:51:57 +0800 Subject: [PATCH] [zh-cn] sync annotations labels owners-dependents object-management Signed-off-by: xin.li --- .../overview/working-with-objects/annotations.md | 6 ++++-- .../concepts/overview/working-with-objects/labels.md | 6 ++++-- .../overview/working-with-objects/object-management.md | 5 +++-- .../overview/working-with-objects/owners-dependents.md | 10 ++++++---- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/content/zh-cn/docs/concepts/overview/working-with-objects/annotations.md b/content/zh-cn/docs/concepts/overview/working-with-objects/annotations.md index d621418c94..4e99fdc54c 100644 --- a/content/zh-cn/docs/concepts/overview/working-with-objects/annotations.md +++ b/content/zh-cn/docs/concepts/overview/working-with-objects/annotations.md @@ -14,9 +14,11 @@ weight: 60 -你可以使用 Kubernetes 注解为对象附加任意的非标识的元数据。客户端程序(例如工具和库)能够获取这些元数据信息。 +你可以使用 Kubernetes 注解为{{< glossary_tooltip text="对象" term_id="object" >}}附加任意的非标识的元数据。 +客户端程序(例如工具和库)能够获取这些元数据信息。 -**标签(Labels)** 是附加到 Kubernetes 对象(比如 Pod)上的键值对。 +**标签(Labels)** 是附加到 Kubernetes +{{< glossary_tooltip text="对象" term_id="object" >}}(比如 Pod)上的键值对。 标签旨在用于指定对用户有意义且相关的对象的标识属性,但不直接对核心系统有语义含义。 标签可以用于组织和选择对象的子集。标签可以在创建时附加到对象,随后可以随时添加和修改。 每个对象都可以定义一组键/值标签。每个键对于给定对象必须是唯一的。 diff --git a/content/zh-cn/docs/concepts/overview/working-with-objects/object-management.md b/content/zh-cn/docs/concepts/overview/working-with-objects/object-management.md index 3061b485d3..0e089e5a6b 100644 --- a/content/zh-cn/docs/concepts/overview/working-with-objects/object-management.md +++ b/content/zh-cn/docs/concepts/overview/working-with-objects/object-management.md @@ -7,11 +7,12 @@ weight: 20 -`kubectl` 命令行工具支持多种不同的方式来创建和管理 Kubernetes 对象。 +`kubectl` 命令行工具支持多种不同的方式来创建和管理 Kubernetes +{{< glossary_tooltip text="对象" term_id="object" >}}。 本文档概述了不同的方法。 阅读 [Kubectl book](https://kubectl.docs.kubernetes.io/zh/) 来了解 kubectl 管理对象的详细信息。 diff --git a/content/zh-cn/docs/concepts/overview/working-with-objects/owners-dependents.md b/content/zh-cn/docs/concepts/overview/working-with-objects/owners-dependents.md index 08dd39ba2f..226539b2fe 100644 --- a/content/zh-cn/docs/concepts/overview/working-with-objects/owners-dependents.md +++ b/content/zh-cn/docs/concepts/overview/working-with-objects/owners-dependents.md @@ -12,8 +12,10 @@ weight: 60 在 Kubernetes 中,一些{{< glossary_tooltip text="对象" term_id="Object" >}}是其他对象的“属主(Owner)”。 @@ -22,12 +24,12 @@ In Kubernetes, some {{< glossary_tooltip text="objects" term_id="Object" >}} are 属主关系不同于一些资源使用的[标签和选择算符](/zh-cn/docs/concepts/overview/working-with-objects/labels/)机制。 例如,有一个创建 `EndpointSlice` 对象的 Service,