Skip to content

Commit 427dda5

Browse files
authored
Merge pull request #23270 from lostsquirrel/patch-3
Remove the unessary code type
2 parents 16af4f2 + fdade94 commit 427dda5

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
@@ -84,7 +84,7 @@ Follow the steps given below to create the above Deployment:
8484
2. Run `kubectl get deployments` to check if the Deployment was created.
8585

8686
If the Deployment is still being created, the output is similar to the following:
87-
```shell
87+
```
8888
NAME READY UP-TO-DATE AVAILABLE AGE
8989
nginx-deployment 0/3 0 0 1s
9090
```
@@ -100,21 +100,21 @@ Follow the steps given below to create the above Deployment:
100100
3. To see the Deployment rollout status, run `kubectl rollout status deployment.v1.apps/nginx-deployment`.
101101

102102
The output is similar to:
103-
```shell
103+
```
104104
Waiting for rollout to finish: 2 out of 3 new replicas have been updated...
105105
deployment.apps/nginx-deployment successfully rolled out
106106
```
107107

108108
4. Run the `kubectl get deployments` again a few seconds later.
109109
The output is similar to this:
110-
```shell
110+
```
111111
NAME READY UP-TO-DATE AVAILABLE AGE
112112
nginx-deployment 3/3 3 3 18s
113113
```
114114
Notice that the Deployment has created all three replicas, and all replicas are up-to-date (they contain the latest Pod template) and available.
115115

116116
5. To see the ReplicaSet (`rs`) created by the Deployment, run `kubectl get rs`. The output is similar to this:
117-
```shell
117+
```
118118
NAME DESIRED CURRENT READY AGE
119119
nginx-deployment-75675f5897 3 3 3 18s
120120
```
@@ -131,7 +131,7 @@ Follow the steps given below to create the above Deployment:
131131

132132
6. To see the labels automatically generated for each Pod, run `kubectl get pods --show-labels`.
133133
The output is similar to:
134-
```shell
134+
```
135135
NAME READY STATUS RESTARTS AGE LABELS
136136
nginx-deployment-75675f5897-7ci7o 1/1 Running 0 18s app=nginx,pod-template-hash=3123191453
137137
nginx-deployment-75675f5897-kzszj 1/1 Running 0 18s app=nginx,pod-template-hash=3123191453

0 commit comments

Comments
 (0)