Skip to content

Commit

Permalink
Fix typo in deployment concept (#13112)
Browse files Browse the repository at this point in the history
There is a typo in deployment concept doc: missing a code block
indicator, this commit fixes it.
  • Loading branch information
cizixs authored and k8s-ci-robot committed Mar 12, 2019
1 parent b8363e8 commit 0f45f09
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion content/en/docs/concepts/workloads/controllers/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ The following are typical use cases for Deployments:
* [Use the status of the Deployment](#deployment-status) as an indicator that a rollout has stuck.
* [Clean up older ReplicaSets](#clean-up-policy) that you don't need anymore.


## Creating a Deployment

The following is an example of a Deployment. It creates a ReplicaSet to bring up three `nginx` Pods:
Expand Down Expand Up @@ -730,12 +729,16 @@ Eventually, resume the Deployment and observe a new ReplicaSet coming up with al

```shell
kubectl rollout resume deployment.v1.apps/nginx-deployment
```

```
deployment.apps/nginx-deployment resumed
```

```shell
kubectl get rs -w
```

```
NAME DESIRED CURRENT READY AGE
nginx-2142116321 2 2 2 2m
Expand Down

0 comments on commit 0f45f09

Please sign in to comment.