@@ -169,7 +169,7 @@ specify the `-i`/`--interactive` argument, `kubectl` will automatically attach
169169to the console of the Ephemeral Container.
170170
171171```shell
172- kubectl debug -it ephemeral-demo --image=busybox --target=ephemeral-demo
172+ kubectl debug -it ephemeral-demo --image=busybox:1.28 --target=ephemeral-demo
173173```
174174
175175```
@@ -192,7 +192,7 @@ OCI runtime exec failed: exec failed: container_linux.go:346: starting container
192192如果你指定 ` -i ` 或者 ` --interactive ` 参数,` kubectl ` 将自动挂接到临时容器的控制台。
193193
194194``` shell
195- kubectl debug -it ephemeral-demo --image=busybox --target=ephemeral-demo
195+ kubectl debug -it ephemeral-demo --image=busybox:1.28 --target=ephemeral-demo
196196```
197197
198198```
@@ -298,7 +298,7 @@ this scenario using `kubectl run`:
298298你可以使用 ` kubectl run ` 模拟这个场景:
299299
300300``` shell
301- kubectl run myapp --image=busybox --restart=Never -- sleep 1d
301+ kubectl run myapp --image=busybox:1.28 --restart=Never -- sleep 1d
302302```
303303<!--
304304Run this command to create a copy of `myapp` named `myapp-debug` that adds a
@@ -366,7 +366,7 @@ that immediately exits:
366366为了模拟应用崩溃的场景,使用 ` kubectl run ` 命令创建一个立即退出的容器:
367367
368368```
369- kubectl run --image=busybox myapp -- false
369+ kubectl run --image=busybox:1.28 myapp -- false
370370```
371371
372372<!--
@@ -453,7 +453,7 @@ As an example, create a Pod using `kubectl run`:
453453下面的例子,用 ` kubectl run ` 创建一个 Pod:
454454
455455```
456- kubectl run myapp --image=busybox --restart=Never -- sleep 1d
456+ kubectl run myapp --image=busybox:1.28 --restart=Never -- sleep 1d
457457```
458458<!--
459459Now use `kubectl debug` to make a copy and change its container image
0 commit comments