<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Install Argo WorkFlow :: Ay Docs</title>
    <link>https://ops.docs.72602.space/installation/cicd/argoworkflow/index.html</link>
    <description>⚠️ ZJ Lab Only — Argo Workflow is only deployed in the ZJ Lab environment (ay.dev). It is not deployed in the 72602 cluster.&#xA;Preliminary Kubernetes is installed; if not, check 🔗link Argo CD is installed; if not, check 🔗link cert-manager has installed on argocd and the clusterissuer has a named self-signed-ca-issuer, if not check 🔗link 0. create workflow related namespace kubectl get namespace business-workflows &gt; /dev/null 2&gt;&amp;1 || kubectl create namespace business-workflows 1. prepare argo-workflows.yaml content yaml shortcut apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: argo-workflows spec: syncPolicy: syncOptions: - CreateNamespace=true project: default source: repoURL: https://argoproj.github.io/argo-helm chart: argo-workflows targetRevision: 0.45.27 helm: releaseName: argo-workflows values: | crds: install: true keep: false singleNamespace: false controller: image: registry: m.daocloud.io/quay.io workflowNamespaces: - business-workflows executor: image: registry: m.daocloud.io/quay.io workflow: serviceAccount: create: true rbac: create: true server: enabled: true image: registry: m.daocloud.io/quay.io ingress: enabled: true ingressClassName: nginx annotations: cert-manager.io/cluster-issuer: self-signed-ca-issuer nginx.ingress.kubernetes.io/rewrite-target: /$1 nginx.ingress.kubernetes.io/use-regex: &#34;true&#34; hosts: - argo-workflows.dev.72602.online paths: - /?(.*) pathType: ImplementationSpecific tls: - secretName: argo-workflows.dev.72602.online-tls hosts: - argo-workflows.dev.72602.online authModes: - server - client sso: enabled: false destination: server: https://kubernetes.default.svc namespace: workflows kubectl -n argocd apply -f - &lt;&lt; EOF apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: argo-workflows spec: syncPolicy: syncOptions: - CreateNamespace=true project: default source: repoURL: https://argoproj.github.io/argo-helm chart: argo-workflows targetRevision: 0.45.27 helm: releaseName: argo-workflows values: | crds: install: true keep: false singleNamespace: false controller: image: registry: m.daocloud.io/quay.io workflowNamespaces: - business-workflows executor: image: registry: m.daocloud.io/quay.io workflow: serviceAccount: create: true rbac: create: true server: enabled: true image: registry: m.daocloud.io/quay.io ingress: enabled: true ingressClassName: nginx annotations: cert-manager.io/cluster-issuer: self-signed-ca-issuer nginx.ingress.kubernetes.io/rewrite-target: /$1 nginx.ingress.kubernetes.io/use-regex: &#34;true&#34; hosts: - argo-workflows.dev.72602.online paths: - /?(.*) pathType: ImplementationSpecific tls: - secretName: argo-workflows.dev.72602.online-tls hosts: - argo-workflows.dev.72602.online authModes: - server - client sso: enabled: false destination: server: https://kubernetes.default.svc namespace: workflows EOF 2. install argo workflow binary 3. [Optional] apply to k8s kubectl -n argocd apply -f argo-workflows.yaml 4. sync by argocd argocd app sync argocd/argo-workflows 5. submit a test workflow argo -n business-workflows submit https://raw.githubusercontent.com/argoproj/argo-workflows/master/examples/hello-world.yaml --serviceaccount=argo-workflow 6. check workflow status # list all flows argo -n business-workflows list # get specific flow status argo -n business-workflows get &lt;$flow_name&gt; # get specific flow log argo -n business-workflows logs &lt;$flow_name&gt; # get specific flow log continuously argo -n business-workflows logs &lt;$flow_name&gt; --watch</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate></lastBuildDate>
    <atom:link href="https://ops.docs.72602.space/installation/cicd/argoworkflow/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>