Steevo Wiki

You are here: Home » argo » workflow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
argo:workflow [2022/05/29 10:52]
admin created
argo:workflow [2024/01/26 17:33] (current)
Line 1: Line 1:
-====== Argo workflow ======+=== List workflows ===
  
-Use token for authentication+List all workflows related to a CRD 
 +<code> 
 +argo list -l workflow.artifakt.io/kind=[kind] -n [ns] 
 +</code>
  
 +List all failed workflows
 <code> <code>
-export ARGOCD_AUTH_TOKEN=<JWT token generated from project>+argo list -l workflows.argoproj.io/phase=Failed -n [ns]
 </code> </code>
 +=== Delete Failed workflows ===
 +
 +<code>
 +argo delete -l workflows.argoproj.io/phase=Failed -n [ns]
 +argo delete -l workflows.argoproj.io/phase=Failed,workflow.artifakt.io/kind=[kind] -n [ns]
 +</code>
 +
 +