Merge pull request #24437 from oomichi/fix-output-of-rolling-status

Fix output of 'kubectl rollout status'
This commit is contained in:
Kubernetes Prow Robot 2020-10-08 20:25:06 -07:00 committed by GitHub
commit 6e93717597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ Follow the steps given below to create the above Deployment:
The output is similar to: The output is similar to:
``` ```
Waiting for rollout to finish: 2 out of 3 new replicas have been updated... Waiting for rollout to finish: 2 out of 3 new replicas have been updated...
deployment.apps/nginx-deployment successfully rolled out deployment "nginx-deployment" successfully rolled out
``` ```
4. Run the `kubectl get deployments` again a few seconds later. 4. Run the `kubectl get deployments` again a few seconds later.
@ -205,7 +205,7 @@ Follow the steps given below to update your Deployment:
``` ```
or or
``` ```
deployment.apps/nginx-deployment successfully rolled out deployment "nginx-deployment" successfully rolled out
``` ```
Get more details on your updated Deployment: Get more details on your updated Deployment:
@ -857,7 +857,7 @@ kubectl rollout status deployment.v1.apps/nginx-deployment
The output is similar to this: The output is similar to this:
``` ```
Waiting for rollout to finish: 2 of 3 updated replicas are available... Waiting for rollout to finish: 2 of 3 updated replicas are available...
deployment.apps/nginx-deployment successfully rolled out deployment "nginx-deployment" successfully rolled out
``` ```
and the exit status from `kubectl rollout` is 0 (success): and the exit status from `kubectl rollout` is 0 (success):
```shell ```shell