Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

[Question] Can flux support multi-tenancy within a monorepo? #15

Open
alwaysastudent opened this issue May 27, 2020 · 2 comments
Open

Comments

@alwaysastudent
Copy link

Can we house multiple namespace specific directories within a monorepo and have a single privileged Flux Operator deploy these applications to their corresponding namespaces?

@stefanprodan
Copy link
Member

Yes that's how Flux works by default.

@alwaysastudent
Copy link
Author

@stefanprodan - Thank you so much for the reply.

I have a related question, do you have any advice or opinions on how to manage multi-cluster deployments?

Currently, we place all the manifests for all the namespaces in a monorepo. We just have a single branch housing multiple cluster-specific directories. This is a management nightmare sometimes since we get divergent environments and duplicate definitions. We are thinking about a multi-branch approach, but that would bring in another issue of divergent branches and merge nightmares.

Do you have any opinions on how to tackle this? Preferably we want any changes to be tested in the sandbox cluster before it goes into our 2 staging clusters and then to 8 different production clusters. All these clusters are unique and backed by different cloud providers, so they require different settings at times. But still, we want them to go through a promotional process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants