From 7ff439d8f1879c222f9bc8752782c20002e3a129 Mon Sep 17 00:00:00 2001 From: yuli Date: Fri, 20 May 2022 10:59:50 +0800 Subject: [PATCH] [zh]Sync reference-14 [zh]Sync reference-14 --- .../docs/reference/using-api/api-concepts.md | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/content/zh/docs/reference/using-api/api-concepts.md b/content/zh/docs/reference/using-api/api-concepts.md index bf31ae7a78..729eefae64 100644 --- a/content/zh/docs/reference/using-api/api-concepts.md +++ b/content/zh/docs/reference/using-api/api-concepts.md @@ -1066,8 +1066,6 @@ string, working as an enum, and the only accepted values are: `All` : Every stage runs as normal, except for the final storage stage where side effects are prevented. - -For example: --> ### 发起试运行请求 {#make-a-dry-run-request} @@ -1140,11 +1138,11 @@ generated fields may differ. Some values of an object are typically generated before the object is persisted. It is important not to rely upon the values of these fields set by a dry-run request, since these values will likely be different in dry-run mode from when the real request is made. Some of these fields are: * `name`: if `generateName` is set, `name` will have a unique random name -* `creationTimestamp`/`deletionTimestamp`: records the time of creation/deletion -* `UID`: uniquely identifies the object and is randomly generated (non-deterministic) +* `creationTimestamp` / `deletionTimestamp`: records the time of creation/deletion +* `UID`: [uniquely identifies](/docs/concepts/overview/working-with-objects/names/#uids) the object and is randomly generated (non-deterministic) * `resourceVersion`: tracks the persisted version of the object * Any field set by a mutating admission controller -* For the `Service` resource: Ports or IPs that kube-apiserver assigns to v1.Service objects +* For the `Service` resource: Ports or IP addresses that the kube-apiserver assigns to Service objects --> ### 生成值 {#generated-values} @@ -1153,11 +1151,12 @@ Some values of an object are typically generated before the object is persisted. 值很可能不同。这类字段有: * `name`:如果设置了 `generateName` 字段,则 `name` 会获得一个唯一的随机名称 -* `creationTimestamp`/`deletionTimestamp`:记录对象的创建/删除时间 -* `UID`:唯一性标识对象,取值随机生成(非确定性) +* `creationTimestamp` / `deletionTimestamp`:记录对象的创建/删除时间 +* `UID`:[唯一标识](/zh/docs/concepts/overview/working-with-objects/names/#uids)对象, + 取值随机生成(非确定性) * `resourceVersion`: 跟踪对象的持久化(存储)版本 * 变更性准入控制器所设置的字段 -* 对于 `Service` 资源:`kube-apiserver` 为 `v1.Service` 对象分配的端口和 IP +* 对于 `Service` 资源:`kube-apiserver` 为 `Service` 对象分配的端口和 IP 地址 {{< table caption="list 操作的 resourceVersionMatch 与分页参数" >}}