r/devops • u/jceb • Jul 02 '26
Tools Why Argo Workflows CI?
I've been using Argo Workflows for some time for small projects and I'm wondering what your reason is for using it.
Here are a number of negatives that I encountered:
- The most annoying first: Integration with git hubs/platforms is non-existant unless I deploy and await the Workflow from within the hubs' CI (plus this requires k8s credentials in the pipeline)
- Complexity through multiple separate k8s resources that are required before being able to run a single pipeline: EventSource, Sensor, WorkflowTemplate
- It seems to get way less publicity and usage compared to other CIs
Positives:
- Separation of CI pipelines from repositories to increase reusability and limit access to pipeline definitions
- Snappy UI
- k8s native
I'm not using it for ML workflows. In their ads this is front and center. What are you experiences with the tool? Do you use it with Argo Events or without?
22
Upvotes
8
u/kryptn Jul 02 '26
We use argo workflows, with argo events, but not for CI.
We have a lot of async processing that happens, either event driven through argo events or with cronworkflows. We also have a handful of business processes we start from an argo workflows workflowtemplate, with defined input parameters.
Argo events does have a github event source and I have used this to build CI on my homelab, but I'd rather use something slightly more off-the-shelf for production.
5
u/mcfistorino Jul 03 '26
We recently switched to argo workflows for a couple of reasons. Mainly that we were tired of grinding to a halt when github actions are down, and we already have all our ci in dagger, so GitHub was simply starting a runner in our cluster which was then starting dagger.
Now when i add a repo to argo workflows it creates a webhook in GitHub, so on every commit it sends a webhook to argo to run the workflow.
We also use it to run end 2 end testing, seed test databases etc based on stage promotion in Kargo.
Its different but i really like it.
4
u/DevopsIGuess Jul 05 '26
Why is Argo being k8s native a con?
I thought that’s what it was made for
3
u/kkapelon Jul 06 '26
Disclaimer: I am a member of the Argo team
Argo Workflows (like Tekton) is just a generic workflow engine that can be used for CI as well. It is not a CI product (never was).
If being "k8s native" is a disadvantage for you then maybe Argo Workflows are not good for your use case. That was an explicit design decision.
Also, could you please point me to the "their ads this is front and center"?
Have you seen any ads at https://argo-workflows.readthedocs.io/en/latest/ ? Or are you talking about something else?
2
u/marcusbell95 Jul 03 '26
the separation from repos thing you listed as a positive is actually the main reason it works in larger orgs - when a test environment teardown or integration test workflow is shared across a bunch of repos, centralizing it in a WorkflowTemplate means changes cascade everywhere without each repo carrying its own copy. that DRY benefit only really shows up past maybe 5-10 repos but when it does it's hard to replicate with github actions without composite action gymnastics. the git integration gap is real but you can close most of it by posting commit status updates via the github api at the end of the workflow - devs see the green/red check in their PR timeline without having to know argo exists. not native but close enough for most teams.
3
u/Floss_Patrol_76 Jul 03 '26
most of your negatives come from the fact that argo workflows is a dag/batch engine that got pointed at ci, not a ci product - so no native git ui integration and three crds (eventsource/sensor/workflowtemplate) just to run one pipeline is the tax for that. where it actually earns its keep is fan-out heavy work: parallel test shards, matrix builds, nightly data/e2e jobs as cronworkflows, stuff where github actions concurrency and minute-billing start to hurt and you want it running next to your cluster anyway. if your workload is mostly per-pr lint/test though, you are fighting the tool for no payoff - keep that on actions and save argo workflows for the batchy pipelines.
-3
u/Ok_Stand_6378 Jul 03 '26
Argocd is actually used for CD not CI and it is best for EKS, ECS related deployments as Argocd is kubernetes native
A typical workflow looks like this:
Developer
│
▼
GitHub
│
▼
GitHub Actions / Jenkins / GitLab CI ← CI
(Build, Test, Lint, Security Scan, Build Docker Image)
│
▼
Push Docker Image to Registry (ECR/Docker Hub/GHCR)
│
▼
Update Kubernetes Manifest/Helm values in Git
│
▼
ArgoCD notices Git change
│
▼
Deploys automatically to Kubernetes ← CD
I am pretty curious how did you/your organisation did fit argocd in CI part.
My organistion used to have Jenkins for CI and Argocd for CD though Jenkins alone can be used for both CI and CD (as we had everything mostly on k8s.
-14
u/burbular Jul 02 '26 edited Jul 02 '26
I'll die on my hill, I don't like Argo. It's unnecessary and has only complicated my life on too many client stacks.
There are others. Argo is not the only thing that can run a helm chart because you committed to git . I'm often told it is, weird thing to believe.
I honestly just use GitHub actions. I commit and push to pr, see the plan in pr comment with expected changes, accept pr, it applies. Same thing.
Know the flow, not the tool.
Edit: same screed applies to Argo workflows, events, and whatever I missed.