From 919dd1f4a87f5a30d6fc43329d9bc7ac5c1776c6 Mon Sep 17 00:00:00 2001 From: Mengjiao Liu Date: Thu, 14 Apr 2022 18:21:52 +0800 Subject: [PATCH] [zh]Sync debug-running-pod.md --- .../debug-application-cluster/debug-running-pod.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/zh/docs/tasks/debug-application-cluster/debug-running-pod.md b/content/zh/docs/tasks/debug-application-cluster/debug-running-pod.md index a7746156f7..ccfd8bb18b 100644 --- a/content/zh/docs/tasks/debug-application-cluster/debug-running-pod.md +++ b/content/zh/docs/tasks/debug-application-cluster/debug-running-pod.md @@ -169,7 +169,7 @@ specify the `-i`/`--interactive` argument, `kubectl` will automatically attach to the console of the Ephemeral Container. ```shell -kubectl debug -it ephemeral-demo --image=busybox --target=ephemeral-demo +kubectl debug -it ephemeral-demo --image=busybox:1.28 --target=ephemeral-demo ``` ``` @@ -192,7 +192,7 @@ OCI runtime exec failed: exec failed: container_linux.go:346: starting container 如果你指定 `-i` 或者 `--interactive` 参数,`kubectl` 将自动挂接到临时容器的控制台。 ```shell -kubectl debug -it ephemeral-demo --image=busybox --target=ephemeral-demo +kubectl debug -it ephemeral-demo --image=busybox:1.28 --target=ephemeral-demo ``` ``` @@ -298,7 +298,7 @@ this scenario using `kubectl run`: 你可以使用 `kubectl run` 模拟这个场景: ```shell -kubectl run myapp --image=busybox --restart=Never -- sleep 1d +kubectl run myapp --image=busybox:1.28 --restart=Never -- sleep 1d ```