ODH Argo component installs Argo Workflows that is namespace bound and not cluster wide. There are two pods running after installation
- Argo Server
- Argo Controller
This Argo Workflows installation uses the "k8sapi" executor to work on Openshift.
-
cluster
folder contains all the cluster wide resources required to be installed by the operator before Argo can be deployed. It contains allCustomResourceDefinitions
andClusterRoles
which aggregates permissions for those CRDs to admin/edit/view project roles. -
There's only a single
base
folder within theodhargo
folder. Thisbase
includes all installation yaml files to all necessary namespaced Argo resources.
This installation creates a route to the Argo Workflows portal. To access the portal go to Routes
and click on the Argo Server
route.
To install Argo Workflows add the following to the kfctl
yaml file.
- kustomizeConfig:
repoRef:
name: manifests
path: odhargo/cluster
name: odhargo-cluster
- kustomizeConfig:
repoRef:
name: manifests
path: odhargo/odhargo
name: odhargo
To run an example workflow, you can use the portal UI to submit an example workflow structured as:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: hello-world-
spec: ...
or submit it via Argo Workflows CLI:
argo submit odhargo/base/test-workflow.yaml
- Argo Workflows UI raises 2 "Forbidden" notifications on initial page load. This is just a cosmetic issue and doesn't effect functionality. argoproj/argo#4885