Skip to content

Commit 1f4b652

Browse files
committed
update
1 parent 33aff50 commit 1f4b652

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

content/zh/docs/concepts/containers/images.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Credentials can be provided in several ways:
175175
向容器仓库认证的机制
176176

177177
<!--
178-
These options are explaind in more detail below.
178+
These options are explained in more detail below.
179179
-->
180180
下面将详细描述每一项。
181181

@@ -195,11 +195,11 @@ This approach is suitable if you can control node configuration.
195195
此方法适用于能够对节点进行配置的场合。
196196

197197
<!--
198-
Kubernetes as only supports the `auths` and `HttpHeaders` section in Docker configuration.
198+
Default Kubernetes only supports the `auths` and `HttpHeaders` section in Docker configuration.
199199
Docker credential helpers (`credHelpers` or `credsStore`) are not supported.
200200
-->
201201
{{< note >}}
202-
Kubernetes 仅支持 Docker 配置中的 `auths``HttpHeaders` 部分,
202+
Kubernetes 默认仅支持 Docker 配置中的 `auths``HttpHeaders` 部分,
203203
不支持 Docker 凭据辅助程序(`credHelpers``credsStore`)。
204204
{{< /note >}}
205205

@@ -300,6 +300,26 @@ EOF
300300
pod/private-image-test-1 created
301301
```
302302

303+
<!--
304+
If everything is working, then, after a few moments, you can run:
305+
306+
```shell
307+
kubectl logs private-image-test-1
308+
```
309+
and see that the command outputs:
310+
```
311+
SUCCESS
312+
```
313+
-->
314+
如果一切顺利,那么一段时间后你可以执行:
315+
```shell
316+
kubectl logs private-image-test-1
317+
```
318+
然后可以看到命令的输出:
319+
```
320+
SUCCESS
321+
```
322+
303323
<!--
304324
If you suspect that the command failed, you can run:
305325
-->
@@ -474,7 +494,7 @@ EOF
474494
This needs to be done for each pod that is using a private registry.
475495
476496
However, setting of this field can be automated by setting the imagePullSecrets
477-
in a [ServiceAccount](/docs/tasks/configure-pod-container/configure-service-accounts/) resource.
497+
in a [ServiceAccount](/docs/tasks/configure-pod-container/configure-service-account/) resource.
478498
479499
Check [Add ImagePullSecrets to a Service Account](/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account) for detailed instructions.
480500

0 commit comments

Comments
 (0)