From 41bc06f1a0375889febf208a6b38852621f5618c Mon Sep 17 00:00:00 2001 From: Arhell Date: Fri, 27 Aug 2021 03:05:47 +0300 Subject: [PATCH] [zh] Update determine-reason-pod-failure.md --- .../debug-application-cluster/determine-reason-pod-failure.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zh/docs/tasks/debug-application-cluster/determine-reason-pod-failure.md b/content/zh/docs/tasks/debug-application-cluster/determine-reason-pod-failure.md index 93c6cfc31c..19f29d781b 100644 --- a/content/zh/docs/tasks/debug-application-cluster/determine-reason-pod-failure.md +++ b/content/zh/docs/tasks/debug-application-cluster/determine-reason-pod-failure.md @@ -54,11 +54,11 @@ the container starts. kubectl create -f https://k8s.io/examples/debug/termination.yaml ``` - - YAML 文件中,在 `cmd` 和 `args` 字段,你可以看到容器休眠 10 秒然后将 "Sleep expired" + YAML 文件中,在 `command` 和 `args` 字段,你可以看到容器休眠 10 秒然后将 "Sleep expired" 写入 `/dev/termination-log` 文件。 容器写完 "Sleep expired" 消息后就终止了。