Merge pull request #24437 from oomichi/fix-output-of-rolling-status
Fix output of 'kubectl rollout status'
This commit is contained in:
commit
6e93717597
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue