A Unit represents the base element of your supervision, it describes any task that must execute periodically and should succeed every time.
This means that a unit produces at least 2 kinds of data:
curl
)Optionally, a unit can produce artifacts (files) thanks to Kubernetes' persistent volumes.
Kubirds relies on TektonCD to schedule your supervision workload:
Unit
resource, a Pipeline
resource is createdUnit
’s schedule, a PipelineRun
resource is created periodicallyNB: For each
Reactor
resources, a task is appended to thePipeline
resources.For more information, see this document.
The Unit
resource specify which Docker image to pull to run your task.
This means you can provide a black box to Kubirds, as long as it respects
the container contract, it will be
executed in your Kubernetes cluster.
This workflow has the following advantages:
In the next part of this tutorial, we’ll see: