From 8ca50ece4757118e3c49f1cb498d708cc9803ab3 Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Fri, 20 Nov 2020 13:37:06 +0800 Subject: [PATCH] [zh] sync downward-api-volume-expose-pod-information.md The English change is only about quote characters used. --- ...nward-api-volume-expose-pod-information.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/content/zh/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information.md b/content/zh/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information.md index bdb38da4bd..0bc46e4c07 100644 --- a/content/zh/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information.md +++ b/content/zh/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information.md @@ -291,11 +291,11 @@ The following information is available to containers through environment variables and `downwardAPI` volumes: * Information available via `fieldRef`: - * `metadata.name` - the pod’s name - * `metadata.namespace` - the pod’s namespace - * `metadata.uid` - the pod’s UID, available since v1.8.0-alpha.2 - * `metadata.labels['']` - the value of the pod’s label `` (for example, `metadata.labels['mylabel']`); available in Kubernetes 1.9+ - * `metadata.annotations['']` - the value of the pod’s annotation `` (for example, `metadata.annotations['myannotation']`); available in Kubernetes 1.9+ + * `metadata.name` - the pod's name + * `metadata.namespace` - the pod's namespace + * `metadata.uid` - the pod's UID, available since v1.8.0-alpha.2 + * `metadata.labels['']` - the value of the pod's label `` (for example, `metadata.labels['mylabel']`); available in Kubernetes 1.9+ + * `metadata.annotations['']` - the value of the pod's annotation `` (for example, `metadata.annotations['myannotation']`); available in Kubernetes 1.9+ --> 下面这些信息可以通过环境变量和 `downwardAPI` 卷提供给容器: @@ -309,12 +309,12 @@ variables and `downwardAPI` volumes: * 能通过 `resourceFieldRef` 获得的: * 容器的 CPU 约束值