@@ -160,7 +160,7 @@ each source also represents a single path within that volume. The three sources
160
160
1. A `configMap` source. The ConfigMap contains a bundle of certificate authority data. Pods can use these
161
161
certificates to make sure that they are connecting to your cluster's kube-apiserver (and not to middlebox
162
162
or an accidentally misconfigured peer).
163
- 1. A `downwardAPI` source that looks up the name of thhe namespace containing the Pod, and makes
163
+ 1. A `downwardAPI` source that looks up the name of the namespace containing the Pod, and makes
164
164
that name information available to application code running inside the Pod.
165
165
-->
166
166
该清单片段定义了由三个数据源组成的投射卷。在当前场景中,每个数据源也代表该卷内的一条独立路径。这三个数据源是:
@@ -315,7 +315,7 @@ it does the following when a Pod is created:
315
315
` /var/run/secrets/kubernetes.io/serviceaccount` .
316
316
For Linux containers, that volume is mounted at `/var/run/secrets/kubernetes.io/serviceaccount`;
317
317
on Windows nodes, the mount is at the equivalent path.
318
- 1. If the spec of the incoming Pod does already contain any `imagePullSecrets`, then the
318
+ 1. If the spec of the incoming Pod doesn't already contain any `imagePullSecrets`, then the
319
319
admission controller adds `imagePullSecrets`, copying them from the `ServiceAccount`.
320
320
-->
321
321
3. 如果服务账号的 `automountServiceAccountToken` 字段或 Pod 的
@@ -326,7 +326,7 @@ it does the following when a Pod is created:
326
326
忽略已为 `/var/run/secrets/kubernetes.io/serviceaccount` 路径定义的卷挂载的所有容器。
327
327
对于 Linux 容器,此卷挂载在 `/var/run/secrets/kubernetes.io/serviceaccount`;
328
328
在 Windows 节点上,此卷挂载在等价的路径上。
329
- 4. 如果新来 Pod 的规约已包含任何 `imagePullSecrets`,则准入控制器添加 `imagePullSecrets`,
329
+ 4. 如果新来 Pod 的规约不包含任何 `imagePullSecrets`,则准入控制器添加 `imagePullSecrets`,
330
330
并从 `ServiceAccount` 进行复制。
331
331
332
332
# ## TokenRequest API
@@ -392,14 +392,14 @@ kubelet 确保该卷包含允许容器作为正确 ServiceAccount 进行身份
392
392
<!--
393
393
That manifest snippet defines a projected volume that combines information from three sources :
394
394
395
- 1. A `serviceAccountToken` source, that contains a token that the kubelet acquires from kube-apiserver
395
+ 1. A `serviceAccountToken` source, that contains a token that the kubelet acquires from kube-apiserver.
396
396
The kubelet fetches time-bound tokens using the TokenRequest API. A token served for a TokenRequest expires
397
397
either when the pod is deleted or after a defined lifespan (by default, that is 1 hour).
398
398
The token is bound to the specific Pod and has the kube-apiserver as its audience.
399
399
1. A `configMap` source. The ConfigMap contains a bundle of certificate authority data. Pods can use these
400
400
certificates to make sure that they are connecting to your cluster's kube-apiserver (and not to middlebox
401
401
or an accidentally misconfigured peer).
402
- 1. A `downwardAPI` source. This `downwardAPI` volume makes the name of the namespace container the Pod available
402
+ 1. A `downwardAPI` source. This `downwardAPI` volume makes the name of the namespace containing the Pod available
403
403
to application code running inside the Pod.
404
404
-->
405
405
该清单片段定义了由三个数据源信息组成的投射卷。
@@ -536,7 +536,7 @@ metadata:
536
536
selfLink : /api/v1/namespaces/examplens/serviceaccounts/example-automated-thing
537
537
uid : f23fd170-66f2-4697-b049-e1e266b7f835
538
538
secrets :
539
- - name : example-automated-thing-token-zyxwv
539
+ - name : example-automated-thing-token-zyxwv
540
540
` ` `
541
541
542
542
<!--
@@ -572,7 +572,7 @@ metadata:
572
572
selfLink : /api/v1/namespaces/examplens/serviceaccounts/example-automated-thing
573
573
uid : f23fd170-66f2-4697-b049-e1e266b7f835
574
574
secrets :
575
- - name : example-automated-thing-token-4rdrh
575
+ - name : example-automated-thing-token-4rdrh
576
576
` ` `
577
577
578
578
<!--
0 commit comments