Skip to content

Commit 457eb7b

Browse files
authored
Merge pull request #30616 from fenggw-fnst/fix-command-output
[zh] Fix the output of "kubectl get deployment"
2 parents 2c6a411 + 9727111 commit 457eb7b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

content/zh/docs/reference/kubectl/docker-cli-to-kubectl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ kubectl:
366366
kubectl get deployment nginx-app
367367
```
368368
```
369-
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
370-
nginx-app 1 1 1 1 2m
369+
NAME READY UP-TO-DATE AVAILABLE AGE
370+
nginx-app 1/1 1 1 2m
371371
```
372372

373373
```shell

content/zh/docs/tasks/administer-cluster/namespaces-walkthrough.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ We have created a deployment whose replica size is 2 that is running the pod cal
354354
kubectl get deployment
355355
```
356356
```
357-
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
358-
snowflake 2 2 2 2 2m
357+
NAME READY UP-TO-DATE AVAILABLE AGE
358+
snowflake 2/2 2 2 2m
359359
```
360360

361361
```shell
@@ -402,8 +402,8 @@ kubectl get deployment
402402
```
403403

404404
```
405-
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
406-
cattle 5 5 5 5 10s
405+
NAME READY UP-TO-DATE AVAILABLE AGE
406+
cattle 5/5 5 5 10s
407407
```
408408

409409
```shell

0 commit comments

Comments
 (0)