change kubectl get deployment output (#17351)

This commit is contained in:
Luzhenxing
2019-11-02 12:31:40 +08:00
committed by Kubernetes Prow Robot
parent 4c48c963a0
commit 3aab039ac4
6 changed files with 18 additions and 18 deletions
@@ -135,8 +135,8 @@ As a result, the deployment was resized to 7 replicas:
kubectl get deployment php-apache
```
```
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
php-apache 7 7 7 7 19m
NAME READY UP-TO-DATE AVAILABLE AGE
php-apache 7/7 7 7 19m
```
{{< note >}}
@@ -166,8 +166,8 @@ php-apache Deployment/php-apache/scale 0% / 50% 1 10 1
kubectl get deployment php-apache
```
```
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
php-apache 1 1 1 1 27m
NAME READY UP-TO-DATE AVAILABLE AGE
php-apache 1/1 1 1 27m
```
Here CPU utilization dropped to 0, and so HPA autoscaled the number of replicas back down to 1.