/workflow-controller

Kubernetes workflow controller

Primary LanguageGoApache License 2.0Apache-2.0

workflow-controller

Kubernetes workflow controller

Running workflow-controller

locally

$ ./workflow-controller --kubeconfig=$HOME/.kube/config --resource-versions=v1 --domain=example.com --name=workflow

Now you can create a Workflow resource via

$ ./cluster/kubectl.sh create -f .../examples/hello_workflow/workflow.yaml --validate=false

At this point the workflow-controller will start to handle the jobs.

in a kubernetes pod

$ make container && make push
$ cd example/workflow-controller_in_pod
$ kubectl create -f workflow-controller-serviceaccount.yaml
serviceaccount "workflow-controller" created
$ kubectl create -f workflow-controller-deployment.yaml
deployment "workflow-controller-deployment" created
$ make container && make push
$ cd example/workflow-controller_in_pod
$ kubectl create -f workflow-controller-serviceaccount.yaml
serviceaccount "workflow-controller" created
$ kubectl create -f workflow-controller-deployment.yaml
deployment "workflow-controller-deployment" created