Questions tagged [argo-workflows]

Use when asking about the main argoproj feature, Argo Workflows. github.com/argoproj/argo-workflows

Argo Workflows facilitates executing a set of actions in Kubernetes. Workflows are implemented as Kubernetes Custom Resource Definitions (CRDs). The actions may be defined by connecting "steps" or by describing a directed acyclic graph (DAG).

Argo was originally developed by Applatix and then was acquired and maintained by Intuit. It is now a Cloud Native Computing Foundation (CNCF) incubation-level project.

304 questions
14
votes
2 answers

argocd - stuck at deleting but resources are already deleted

argoproj/argocd:v1.8.7 Have a helm chart (1 with ingress, 1 with deployment/service/cm). It has sync policies of automated (prune and self-heal). When trying to delete them from the argocd dashboard, they are getting deleted (no more on the k8s…
lorraine batol
  • 6,001
  • 16
  • 55
  • 114
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
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

failed to save outputs: timed out waiting for the condition on Argo Workflow

I'm running Argo workflow on Kubernetes. And after I followed this blog to setup Jupyterhub, I started getting this error (never had the issue before using Jupyterhub) on the pods on Argo: failed to save outputs: timed out waiting for the condition.…
user3368526
  • 2,168
  • 10
  • 37
  • 52
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

How to trigger argo workflow from an API request?

What is the best way to trigger an argo workflow from an API request? The API request is handled by a web server, how does the server submits the workflow to the argo server? Using the CLI? using a rest request? What is the best/recommended approach…
Moshe Shaham
  • 15,448
  • 22
  • 74
  • 114
6
votes
1 answer

How do we assign pods properly so that KFServing can scale down GPU Instances to zero?

I'm setting up an InferenceService using Argo and KFServing with Amazon EKS (Kubernetes). Its important to know that our team has one EKS cluster per environment, which means there can be multiple applications within our cluster that we don't…
Daniel Hair
  • 270
  • 1
  • 4
  • 15
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

Creating a queue system with Argo Workflows

I am trying to figure out how to set up a work queue with Argo. The Argo Workflows are computationally expensive. We need to plan for many simultaneous requests. The workflow items are added to the work queue via HTTP requests. The flow can be…
Espen Finnesand
  • 475
  • 7
  • 22
6
votes
1 answer

How can I work around Argo output parameter size limit?

I have an Argo workflow that loops over a JSON array. When the list gets too large, I get an error like this: time="some-time" level=fatal msg="Pod \"some-pod-name\" is invalid: metadata.annotations: Too long: must have at most 262144…
crenshaw-dev
  • 7,504
  • 3
  • 45
  • 81
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

Dynamic "Fan In" in Argo Workflows

Argo permits the dynamic generation of parallel workflow steps based on outputs from previous steps. An example of this dynamic workflow generation is provided here:…
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
1
2 3
20 21