akuity / kargo

Application lifecycle orchestration
https://kargo.akuity.io/
Apache License 2.0
1.45k stars 129 forks source link

proposal: stage-managed applications #2030

Open krancour opened 3 months ago

krancour commented 3 months ago

From @wanghong230:

Thought: Consider putting Kargo more fused with Argo CD. Currently, it is two tier system, people need to worry about Argo CD and Kargo. With Kargo, it should be easier, rather than more complicated...

Defining/creating an Argo CD application within the Kargo stage definition could be a idea

I've had this thought before as well. It was even discussed early on, but we decided to start with the assumption that users are probably coming to the table already having a bunch of existing Applications that they'd like integrate with.

I agree it's now time to revisit this idea.

Note that there are significant technical challenges to this, so we shouldn't rush this.

jkleinlercher commented 2 months ago

We achieve this with a Helm Chart which creates

https://github.com/suxess-it/sx-cnp-oss/tree/feat/onboarding-apps/team-apps/onboarding-apps-charts/multi-stage-app-with-kargo-pipeline

Maybe this is a good starting point for the community. It still misses some things like adding AnalysesTemplates but it is a good start for us

krancour commented 2 months ago

I agree that charts can be a good way to approach this in the near-term.

And ArgoCD application per stage

Just note that this may work in only a minority of cases, since Argo CD Applications quite often need to exist in different clusters than the one where all the Kargo data lives.