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

Both sides previous revision Previous revision
Next revision
Previous revision
argo:workflow [2022/06/03 15:53]
admin
argo:workflow [2024/01/26 17:33] (current)
Line 1: Line 1:
-====== Argo workflow ====== +=== List workflows ===
- +
-=== Authentication === +
- +
-Use token for authentication+
  
 +List all workflows related to a CRD
 <code> <code>
-export ARGOCD_AUTH_TOKEN=<JWT token generated from project>+argo list -l workflow.artifakt.io/kind=[kind] -n [ns]
 </code> </code>
  
-=== Login === +List all failed workflows
 <code> <code>
-argocd login [host] --grpc-web --name [argocd-server-name--username admin --password xxxxxxxxxx+argo list -l workflows.argoproj.io/phase=Failed -[ns]
 </code> </code>
- +=== Delete Failed workflows ===
-=== Update admin password === +
- +
-<code> +
-argocd account update-password --account admin --current-password xxxxx --new-password xxxxxx +
-</code> +
- +
-List workflows +
-<code> +
-argo list -l workflow.artifakt.io/kind=registry +
-argo list -l workflows.argoproj.io/phase=Failed -n artifakt-workflow +
-</code> +
- +
-Delete Failed workflows+
  
 <code> <code>
-argo delete -l workflows.argoproj.io/phase=Failed -n artifakt-workflow +argo delete -l workflows.argoproj.io/phase=Failed -n [ns] 
-argo delete -l workflows.argoproj.io/phase=Failed,workflow.artifakt.io/kind=loadbalancer -n artifakt-workflow+argo delete -l workflows.argoproj.io/phase=Failed,workflow.artifakt.io/kind=[kind] -n [ns]
 </code> </code>