diff --git a/content/zh/docs/tutorials/stateful-application/basic-stateful-set.md b/content/zh/docs/tutorials/stateful-application/basic-stateful-set.md index 81a6b1b3566cb..51ca68c4100c2 100644 --- a/content/zh/docs/tutorials/stateful-application/basic-stateful-set.md +++ b/content/zh/docs/tutorials/stateful-application/basic-stateful-set.md @@ -480,7 +480,7 @@ web-2 k8s.gcr.io/nginx-slim:0.8 `web-0` has had its image updated, but `web-0` and `web-1` still have the original image. Complete the update by deleting the remaining Pods. -​```shell +```shell kubectl delete pod web-1 web-2 pod "web-1" deleted pod "web-2" deleted @@ -489,7 +489,7 @@ pod "web-2" deleted 观察 StatefulSet 的 Pod,等待它们全部变成 Running 和 Ready。 -``` +```shell kubectl get pods -w -l app=nginx NAME READY STATUS RESTARTS AGE web-0 1/1 Running 0 8m