-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add some tips and tricks for our k8s ops (#115)
- Loading branch information
1 parent
f76f58c
commit fd165ed
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |