Skip to content

Commit

Permalink
docs: Add some tips and tricks for our k8s ops (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic committed Jan 25, 2024
1 parent f76f58c commit fd165ed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/k8s/tips-and-tricks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

??? tip "Scale down and up Flux kustomize deployment"

This allows you to make changes in a cluster without having Flux revert your changes all the time.
Use it rarely, just during testing, or during troubleshooting.
Communicate this change with the rest of the team.
```
kubectl -n flux-system scale deployment kustomize-controller --replicas 0 --as root
```

You can scale back up the deployment with:
```
kubectl -n flux-system scale deployment kustomize-controller --replicas 1 --as root
```

0 comments on commit fd165ed

Please sign in to comment.