File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
content/zh-cn/docs/concepts/workloads/pods Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,12 @@ via either mechanism are:
125
125
` metadata.labels['<KEY>'] `
126
126
: Pod 的{{< glossary_tooltip text="标签" term_id="label" >}} ` <KEY> ` 的值(例如:` metadata.labels['mylabel'] ` )
127
127
128
+ <!--
129
+ The following information is available through environment variables
130
+ **but not as a downwardAPI volume fieldRef**:
131
+ -->
132
+ 以下信息可以通过环境变量获得,但** 不能作为 ` downwardAPI ` 卷 ` fieldRef ` ** 获得:
133
+
128
134
<!--
129
135
`spec.serviceAccountName`
130
136
: the name of the pod's {{< glossary_tooltip text="service account" term_id="service-account" >}}
@@ -154,10 +160,10 @@ via either mechanism are:
154
160
: Pod 的主 IP 地址(通常是其 IPv4 地址)
155
161
156
162
<!--
157
- In addition, the following information is available through
158
- a `downwardAPI` volume ` fieldRef`, but ** not as environment variables**:
163
+ The following information is available through a `downwardAPI` volume
164
+ ` fieldRef`, **but not as environment variables**:
159
165
-->
160
- 此外, 以下信息可以通过 ` downwardAPI ` 卷 ` fieldRef ` 获得,但** 不能作为环境变量** 获得:
166
+ 以下信息可以通过 ` downwardAPI ` 卷 ` fieldRef ` 获得,但** 不能作为环境变量** 获得:
161
167
162
168
<!--
163
169
`metadata.labels`
You can’t perform that action at this time.
0 commit comments