This workshop has been deprecated and archived. The new Amazon EKS Workshop is now available at www.eksworkshop.com.
Create the manifest
workflow-whalesay.yaml and let’s deploy the
whalesay example from before using Argo.
cat <<EoF > ~/environment/batch_policy/workflow-whalesay.yaml apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: generateName: whalesay- spec: entrypoint: whalesay templates: - name: whalesay container: image: docker/whalesay command: [cowsay] args: ["This is an Argo Workflow!"] EoF
Now deploy the workflow using the argo CLI.
You can also run workflow specs directly using kubectl but the argo CLI provides syntax checking, nicer output, and requires less typing. For the equivalent
kubectl commands, see Argo CLI.
argo -n argo submit --watch ~/environment/batch_policy/workflow-whalesay.yaml
Confirm the output by running the following command:
argo -n argo logs $(argo -n argo list -o name)