How to orchestrate pipelines with Tekton
tekton
integration that uses Tekton Pipelines to run your pipelines.
This component is only meant to be used within the context of remote ZenML deployment scenario. Usage with a local ZenML deployment may lead to unexpected behavior!
kubectl
and configure it to talk to your EKS cluster using the following command:
kubectl
and configure it to talk to your GKE cluster using the following command:
kubectl
and it to talk to your AKS cluster using the following command:
Running
state, try increasing the number of nodes in your cluster.
ZenML has only been tested with Tekton Pipelines >=0.38.3 and may not work with previous versions.
tekton
integration installed. If you haven’t done so, runkubectl config get-contexts
to see a list of available contexts.
<CONTAINER_REGISTRY_URI>/zenml:<PIPELINE_NAME>
which includes your code and use it to run your pipeline steps in Tekton. Check out this page if you want to learn more about how ZenML builds these images and how you can customize them.
Once the orchestrator is part of the active stack, we need to run zenml stack up
before running any pipelines. This command forwards a port, so you can view the Tekton UI in your browser.
You can now run any ZenML pipeline using the Tekton orchestrator:
TektonOrchestratorSettings
which allows you to configure (among others) the following attributes:
pod_settings
: Node selectors, affinity and tolerations to apply to the Kubernetes Pods running your pipline. These can be either specified using the Kubernetes model objects or as dictionaries.