vault backup: 2024-11-22 01:21:22

Affected files:
docs/Command Snippets/Kubernetes Snippets.md
This commit is contained in:
Keannu Bernasol 2024-11-22 01:21:22 +08:00
parent b45c912a82
commit 223b4c0893

View file

@ -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