Skip to content

Commit 03dc8b9

Browse files
authored
Merge pull request #25491 from Kartik494/updatedeployment
Update rollout deployment command
2 parents cfe47dd + fd411a3 commit 03dc8b9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/concepts/workloads/controllers/deployment.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Follow the steps given below to create the above Deployment:
9797

9898
Notice how the number of desired replicas is 3 according to `.spec.replicas` field.
9999

100-
3. To see the Deployment rollout status, run `kubectl rollout status deployment.v1.apps/nginx-deployment`.
100+
3. To see the Deployment rollout status, run `kubectl rollout status deployment/nginx-deployment`.
101101

102102
The output is similar to:
103103
```
@@ -196,7 +196,7 @@ Follow the steps given below to update your Deployment:
196196
2. To see the rollout status, run:
197197

198198
```shell
199-
kubectl rollout status deployment.v1.apps/nginx-deployment
199+
kubectl rollout status deployment/nginx-deployment
200200
```
201201

202202
The output is similar to this:
@@ -374,7 +374,7 @@ rolled back.
374374
* The rollout gets stuck. You can verify it by checking the rollout status:
375375

376376
```shell
377-
kubectl rollout status deployment.v1.apps/nginx-deployment
377+
kubectl rollout status deployment/nginx-deployment
378378
```
379379

380380
The output is similar to this:
@@ -852,7 +852,7 @@ You can check if a Deployment has completed by using `kubectl rollout status`. I
852852
successfully, `kubectl rollout status` returns a zero exit code.
853853

854854
```shell
855-
kubectl rollout status deployment.v1.apps/nginx-deployment
855+
kubectl rollout status deployment/nginx-deployment
856856
```
857857
The output is similar to this:
858858
```
@@ -999,7 +999,7 @@ You can check if a Deployment has failed to progress by using `kubectl rollout s
999999
returns a non-zero exit code if the Deployment has exceeded the progression deadline.
10001000

10011001
```shell
1002-
kubectl rollout status deployment.v1.apps/nginx-deployment
1002+
kubectl rollout status deployment/nginx-deployment
10031003
```
10041004
The output is similar to this:
10051005
```

0 commit comments

Comments
 (0)