In this scenario you will:
- Install Argo Workflows into a Kubernetes cluster.
- Run your first workflow from the user interface.
- Download, install, and run the Argo CLI.
- Argo Workflows is a workflow engine for Kubernetes
- A workflow is a Kubernetes resource, so you can use
- The user interface allows you to create and view workflows in a web browser.
- The CLI also allows to create and view workflows, but in the console.
Please let us know what can be improved.
Installing Argo Workflows
Firstly, wait for Kubernetes to be ready.
Argo is normally installed into a namespace named
argo, so lets create that:
kubectl create ns argo
Next, apply the quick-start manifest:
kubectl apply -n argo -f https://raw.githubusercontent.com/argoproj/argo-workflows/stable/manifests/quick-start-minimal.yaml
What was installed?
It will take about 1m for all deployments to become available. Let's look at what is installed while we wait.
The Workflow Controller is responsible for running workflows:
kubectl -n argo get deploy workflow-controller
Users typically want to process and store data in a workflow, for the quick start we use MinIO, which is similar to Amazon S3:
kubectl -n argo get deploy minio
Finally, the Argo Server provides a user interface and API:
kubectl -n argo get deploy argo-server
Wait for everything to be ready
Before we proceed, let wait (around 1 minute to 2 minutes) for our deployments to be available:
kubectl -n argo wait deploy --all --for condition=Available --timeout 2m