From 972711149b25f9758cb7fb325f1e8dce2449c8cd Mon Sep 17 00:00:00 2001 From: Guangwen Feng Date: Wed, 24 Nov 2021 09:52:09 +0800 Subject: [PATCH] [zh] Fix the output of "kubectl get deployment" Signed-off-by: Guangwen Feng --- .../zh/docs/reference/kubectl/docker-cli-to-kubectl.md | 4 ++-- .../tasks/administer-cluster/namespaces-walkthrough.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/zh/docs/reference/kubectl/docker-cli-to-kubectl.md b/content/zh/docs/reference/kubectl/docker-cli-to-kubectl.md index a5b8789163..e7b1316eb4 100644 --- a/content/zh/docs/reference/kubectl/docker-cli-to-kubectl.md +++ b/content/zh/docs/reference/kubectl/docker-cli-to-kubectl.md @@ -366,8 +366,8 @@ kubectl: kubectl get deployment nginx-app ``` ``` -NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE -nginx-app 1 1 1 1 2m +NAME READY UP-TO-DATE AVAILABLE AGE +nginx-app 1/1 1 1 2m ``` ```shell diff --git a/content/zh/docs/tasks/administer-cluster/namespaces-walkthrough.md b/content/zh/docs/tasks/administer-cluster/namespaces-walkthrough.md index 39f3f01718..3d0e911688 100644 --- a/content/zh/docs/tasks/administer-cluster/namespaces-walkthrough.md +++ b/content/zh/docs/tasks/administer-cluster/namespaces-walkthrough.md @@ -354,8 +354,8 @@ We have created a deployment whose replica size is 2 that is running the pod cal kubectl get deployment ``` ``` -NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE -snowflake 2 2 2 2 2m +NAME READY UP-TO-DATE AVAILABLE AGE +snowflake 2/2 2 2 2m ``` ```shell @@ -402,8 +402,8 @@ kubectl get deployment ``` ``` -NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE -cattle 5 5 5 5 10s +NAME READY UP-TO-DATE AVAILABLE AGE +cattle 5/5 5 5 10s ``` ```shell