One Kustomization per service? #1493
-
Hi, We are starting our journey moving to Flux 🚀 Currently we are thinking about using one repository for all our services. our directory structure is something like this:
I was first thinking about using a kustomization file in the root of
... but I was also thinking that it could be better to use one
Does it matter performance wise to use many Kustomizations? We have about ~60 services today and maybe more in the future. Any other recommendations or suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
One Kustomization per app is how Flux v2 was designed to work, but it also allows you to bundle multiple workloads under the same Kustomization. I think the decision should be made in regards to incident management, ownership and dependencies between apps (see dependsOn).
Should be no issues having hundreds of Kustomizations, kustomize-controller exposes flags for configuring concurrent processing and rate limits that can be fine tuned at scale. |
Beta Was this translation helpful? Give feedback.
One Kustomization per app is how Flux v2 was designed to work, but it also allows you to bundle multiple workloads under the same Kustomization. I think the decision should be made in regards to incident management, ownership and dependencies between apps (see dependsOn).
Should be no issues having hundreds of Kustomizations, kustomize-controller exposes flags for configuring concurrent processing and rate limits that can be fine tuned at scale.