mirror of
https://github.com/lemeow125/Notes.git
synced 2025-01-19 02:43:01 +08:00
vault backup: 2024-11-22 01:21:22
Affected files: docs/Command Snippets/Kubernetes Snippets.md
This commit is contained in:
parent
b45c912a82
commit
223b4c0893
1 changed files with 1 additions and 3 deletions
|
@ -37,9 +37,7 @@ kubectl rollout history deployment/myapp-deployment
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -f deployment.yml --record
|
kubectl apply -f deployment.yml --record
|
||||||
```
|
```
|
||||||
- Update a deployment using `annotate`
|
- Update a deployment using `annotate`(**Note:** Changes to `scale` will not create a new `deployment`. Annotating after this may result in the message for the previous `deployment` being replaced)
|
||||||
**Note**
|
|
||||||
Changes to `scale` will not create a new `deployment`. Annotating after this may result in the message for the previous `deployment` being replaced
|
|
||||||
```bash
|
```bash
|
||||||
# This assumes you've annotated the previous deployment already
|
# This assumes you've annotated the previous deployment already
|
||||||
kubectl apply -f deployment.yml
|
kubectl apply -f deployment.yml
|
||||||
|
|
Loading…
Reference in a new issue