Questions tagged [argoproj]

Argoproj is a collection of tools that provide workflows and events for Kubernetes

Argoproj is a collection of tools for getting work done with Kubernetes:

  • Argo Workflows - Container-native Workflow Engine
  • Argo CD - Declarative GitOps Continuous Delivery
  • Argo Events - Event-based Dependency Manager
  • Argo CI - Simple CI based on GitHUb and Argo Workflows
96 questions
69
votes
5 answers

How to run containers sequentially as a Kubernetes job?

I'm trying to replace my legacy job scheduler with Kubernetes job and wondering how to write sequential jobs as a Kubernetes job. First, I wrote the following script to execute job1 and job2 in the written order but it didn't work as I…
k-kawa
  • 1,289
  • 2
  • 11
  • 18
10
votes
1 answer

What's the best way to inject a yaml file into an Argo workflow step?

Summary: We have a golang application that submits Argo workflows to a kubernetes cluster upon requests. I'd like to pass a yaml file to one of the steps and I'm wondering what are the options for doing this. Environment: Argo: v2.4.2 K8s:…
Ash
  • 969
  • 3
  • 16
  • 28
8
votes
1 answer

argoCD - external access with ingress not working

I am new at kubernetes so apologies in advance for any silly questions and mistakes. I am trying to setup external access through ingress for ArgoCD. My setup is an aws eks cluster. I have setup alb following the guide here. I have also setup…
8
votes
1 answer

custom environment variable - argocd

There are build environment variables (https://argoproj.github.io/argo-cd/user-guide/build-environment/) so can inject something like $ARGOCD_APP_NAME on the application/helm yaml file and it resolves to the actual value. Is there a way we can set…
lorraine batol
  • 6,001
  • 16
  • 55
  • 114
8
votes
1 answer

Apache Airflow or Argoproj for long running and DAGs tasks on kubernetes

We have a lot of the long running, memory/cpu intensive jobs in k8s which are run with celery on kubernetes on google cloud platform. However we have big problems with scaling/retrying/monitoring/alerting/guarantee of delivery. We want to move from…
sacherus
  • 1,614
  • 2
  • 20
  • 27
7
votes
2 answers

Is Flux v2 a replacement of Argo Flux

I've set up a Continuous Delivery pipeline with Flux v2 (since Flux v1 is deprecated), and it's working fine. On the other side, I saw that Argo and Flux started a merge by the end of 2019 (please check this link). I wonder then whether Flux v2 is…
7
votes
3 answers

What is the output of loop task in argo?

As per the Argo DAG template documentation. tasks..outputs.parameters: When the previous task uses 'withItems' or 'withParams', this contains a JSON array of the output parameter maps of each invocation When trying with the following…
jose
  • 71
  • 3
7
votes
1 answer

How to skip a step for Argo workflow

I'm trying out Argo workflow and would like to understand how to freeze a step. Let's say that I have 3 step workflow and a workflow failed at step 2. So I'd like to resubmit the workflow from step 2 using successful step 1's artifact. How can I…
user3368526
  • 2,168
  • 10
  • 37
  • 52
7
votes
2 answers

How to escape "{{" and "}}" in argo workflow

I want to run one argo workflow in which a value is surrounded with double braces. Argo tries to resolve it but I don't want argo to resolve it. Following is a fraction of katib studyjob workflow manifest. workerSpec: goTemplate: …
shabbir
  • 121
  • 2
  • 6
6
votes
1 answer

Argo Workflow always using default serviceaccount

I installed the default helm chart of Argo Workflow with only configuring init.serviceAccount as argo-sa, which I have created. (ServiceAccount with enough authorization) However, running every Workflow runs as serviceaccount Default, which I can’t…
Piljae Chae
  • 987
  • 10
  • 23
6
votes
3 answers

How can I use Argo Workflows templates in Helm?

Is it possible to use Helm to deploy Argo workflows? I get an error like below when I do a helm install Error: UPGRADE FAILED: parse error at (workflows/templates/my_dag.yaml:47): function "workflow" not defined The yaml itself has both Argo and…
ss_everywhere
  • 439
  • 7
  • 19
6
votes
1 answer

Adding Argo CRD Validations to vscode

Based on the instructions in the Argo docs here: https://argoproj.github.io/argo/ide-setup/, I know that you can easily add it to intellij validation settings but there is no help on how to add the CRD YAML templates to vscode. I would like to add…
horatio1701d
  • 8,809
  • 14
  • 48
  • 77
6
votes
2 answers

Argo sample workflows stuck in the pending state

I follow the Argo Workflow's Getting Started documentation. Everything goes smooth until I run the first sample workflow as described in 4. Run Sample Workflows. The workflow just gets stuck in the pending state: vagrant@master:~$ argo submit…
SergiyKolesnikov
  • 7,369
  • 2
  • 26
  • 47
6
votes
1 answer

Kubernetes argo loop through json array

I'm attempting to use Argo to loop through an array of JSON objects however the workflow is returning: failed to resolve {{item}} The workflow configuration is as follows: - name: output-parameter steps: - - name: generate-parameter …
Softey
  • 1,451
  • 3
  • 21
  • 42
6
votes
2 answers

Kickoff Argo workflows via REST call

I am exploring Argo to orchestrate processing big data. I wish to kick off a workflow via REST call that divides a large data set among a number of machines with desired resources for processing. From an architectural perspective, how would I…
afriedman111
  • 1,925
  • 4
  • 25
  • 42
1
2 3 4 5 6 7