Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 2.09 KB

local.environment.md

File metadata and controls

40 lines (26 loc) · 2.09 KB

Local Argo Workflows environment

It is possible to install Argo Workflows in a K8s cluster on your local machine. In this documentation we will use kind.

Pre-requisite

Cluster

To create a cluster using kind:

kind create cluster --name argo

NOTE: The kind Node container version number matches the Kubernetes version (kindest/node:vX.Y.Z uses Kubernetes vX.Y.Z). To specify a Kubernetes version for your cluster, use --image kindest/node:vX.Y.Z. It is a good idea to use the same version as the production environment (version in LinzEksCluster Stack).

Argo Workflows

Choose and install the Controller and Server of a release that matches the production version (appVersion). The installation process should be described in the Argo Workflow Release page, for example for v3.5.5:

kubectl create namespace argo
kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/download/v3.5.5/install.yaml
kubectl create rolebinding default-admin --clusterrole=admin --serviceaccount=argo:default --namespace=argo

You should now be able to run a workflow, for example:

argo -n argo submit https://raw.githubusercontent.com/argoproj/argo-workflows/refs/heads/main/examples/hello-world.yaml

Limitations

This documentation is only to install a vanilla version of Argo Workflows. The Kubernetes components configured for the production environment are not directly applicable to a local/kind environment as they require to run CDK8s using some information retrieved from AWS.