add improvement as per issue 28427 (#41057)

* add improvement as per issue 28427

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

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* dummy commit

---------

Co-authored-by: Qiming Teng <tengqm@outlook.com>
This commit is contained in:
Andreas Ttofi 2023-05-15 06:49:27 +03:00 committed by GitHub
parent 237ebca984
commit 253c851b85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -180,6 +180,10 @@ Follow the steps given below to update your Deployment:
```shell
kubectl set image deployment/nginx-deployment nginx=nginx:1.16.1
```
where `deployment/nginx-deployment` indicates the Deployment,
`nginx` indicates the Container the update will take place and
`nginx:1.16.1` indicates the new image and its tag.
The output is similar to:
@ -1237,3 +1241,4 @@ it is created.
object definition to understand the API for deployments.
* Read about [PodDisruptionBudget](/docs/concepts/workloads/pods/disruptions/) and how
you can use it to manage application availability during disruptions.