Update rollout deployment command

pull/25491/head
kartik494 2020-12-08 18:29:05 +05:30
parent b905af1f34
commit fd411a39c1
1 changed files with 5 additions and 5 deletions

View File

@ -97,7 +97,7 @@ Follow the steps given below to create the above Deployment:
Notice how the number of desired replicas is 3 according to `.spec.replicas` field. Notice how the number of desired replicas is 3 according to `.spec.replicas` field.
3. To see the Deployment rollout status, run `kubectl rollout status deployment.v1.apps/nginx-deployment`. 3. To see the Deployment rollout status, run `kubectl rollout status deployment/nginx-deployment`.
The output is similar to: The output is similar to:
``` ```
@ -196,7 +196,7 @@ Follow the steps given below to update your Deployment:
2. To see the rollout status, run: 2. To see the rollout status, run:
```shell ```shell
kubectl rollout status deployment.v1.apps/nginx-deployment kubectl rollout status deployment/nginx-deployment
``` ```
The output is similar to this: The output is similar to this:
@ -374,7 +374,7 @@ rolled back.
* The rollout gets stuck. You can verify it by checking the rollout status: * The rollout gets stuck. You can verify it by checking the rollout status:
```shell ```shell
kubectl rollout status deployment.v1.apps/nginx-deployment kubectl rollout status deployment/nginx-deployment
``` ```
The output is similar to this: The output is similar to this:
@ -852,7 +852,7 @@ You can check if a Deployment has completed by using `kubectl rollout status`. I
successfully, `kubectl rollout status` returns a zero exit code. successfully, `kubectl rollout status` returns a zero exit code.
```shell ```shell
kubectl rollout status deployment.v1.apps/nginx-deployment kubectl rollout status deployment/nginx-deployment
``` ```
The output is similar to this: The output is similar to this:
``` ```
@ -999,7 +999,7 @@ You can check if a Deployment has failed to progress by using `kubectl rollout s
returns a non-zero exit code if the Deployment has exceeded the progression deadline. returns a non-zero exit code if the Deployment has exceeded the progression deadline.
```shell ```shell
kubectl rollout status deployment.v1.apps/nginx-deployment kubectl rollout status deployment/nginx-deployment
``` ```
The output is similar to this: The output is similar to this:
``` ```