Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgoCD should only be installed in one cluster. #220

Open
nacx opened this issue Jan 22, 2023 · 3 comments
Open

ArgoCD should only be installed in one cluster. #220

nacx opened this issue Jan 22, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@nacx
Copy link
Member

nacx commented Jan 22, 2023

ArgoCD should only be installed in one cluster, as having one instance per cluster is not the right way to configure it (different installs, users per cluster, etc). Instead, a central ArgoCD installation with proper permissions (using projects, etc), is a much better example of how real-world ArgoCD installations are.

We don't have to go the project and permissions route, but we should at least install ArgoCD in only one cluster and update the existing example applications to use the cluster generator to get them installed in all the registered clusters, preserving the current behaviour.

@nacx nacx added the bug Something isn't working label Jan 22, 2023
@smarunich smarunich self-assigned this Jan 22, 2023
@smarunich
Copy link
Collaborator

count on me for that one, when I hopefully will get cycles to work on it... I wish my December would be different...

@smarunich
Copy link
Collaborator

There are challenges with leveraging the applicationset approach across the clouds (i.e. authentication handling, as the constructs are built on the point of "role" assumption). Few references how to:

Basically or we should static auth credentials (which is impossible) or keep the deployment within the common cloud (which is not a common demo example), i.e. we will hit the challenges when k8s where ArgoCD will be installed... needs to call out another cloud fleet.

Talking fluxcd

https://fluxcd.io/flux/get-started/#multi-cluster-setup

To use Flux to manage more than one cluster or promote deployments from staging to production, take a look at the two approaches in the repositories listed below.

https://github.com/fluxcd/flux2-kustomize-helm-example
https://github.com/fluxcd/flux2-multi-tenancy

Interesting enough, however not necessary demo centric at this stage is fleet https://fleet.rancher.io/concepts - I will dig deeper on that one...

p.s. as meanwhile as much as I want it feels like argocd or fluxcd cannot be yet deployed in a centralized fashion... which leads to the point of doing wrappers around which apps do go to which clusters... #177 (comment)

@smarunich smarunich added enhancement New feature or request and removed bug Something isn't working labels Jan 24, 2023
@smarunich
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants