Best Practies FluxCD Performance #4883
-
Hello guys, We are currently managing an eks 1.28 cluster with fluxcd
We currently have a single repository with branches that identify the environment With fluxcd we have only one gitRepository and n. kustomization for every application related to each namespace. For example:
We currently manage these objects: The infrastructure is growing and fluxcd becomes slower and slower when it has to reconcile after a commit to the repository
We performed tuning as per fluxcd documentation This is our fluxcd manifest
However, we have noticed that increasing the concurrent value takes up a lot of memory and cpu usage and we do not want to raise it further When we execute the reconcile command it takes a long time Are there best practices we can apply? If I create n gitrepositories for each namespace and the kustomizations will refer to the gitrepository of the right namespace, when I run the command |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can either split the monorepo per tenant/app or switch to OCIRepository and push each tenant/app as a dedicated artifact. Based on the benchmark, Flux can reconcile 1K OCIRepo/Kustomization pair in 4m https://github.com/fluxcd/flux-benchmark/blob/main/RESULTS.md |
Beta Was this translation helpful? Give feedback.
You can either split the monorepo per tenant/app or switch to OCIRepository and push each tenant/app as a dedicated artifact. Based on the benchmark, Flux can reconcile 1K OCIRepo/Kustomization pair in 4m https://github.com/fluxcd/flux-benchmark/blob/main/RESULTS.md