mirror of
https://github.com/lemeow125/Notes.git
synced 2025-01-18 10:23:02 +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
|
||||
kubectl apply -f deployment.yml --record
|
||||
```
|
||||
- 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
|
||||
- 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)
|
||||
```bash
|
||||
# This assumes you've annotated the previous deployment already
|
||||
kubectl apply -f deployment.yml
|
||||
|
|
Loading…
Reference in a new issue