Aller au contenu
EN English versionDemander une démo

Run agent stages as Kubernetes Jobs

For the person who operates the platform. Procedure connector.runtime.k8s_job, version 1, reviewed 2026-10-16 against the vendor’s own pages. It applies to the connector type runtime/k8s_job.

It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.

Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.

  • A Kubernetes cluster and a namespace for agent pods. This is the executor with the fewest moving parts and the one that supports queueing; use it when Tekton is not there.
  • This is a chart setting, not a form: runner.executor: k8s_job in the orchestrator’s values.

Set the values of tranibor-orchestrator.runner (see the deployment guide, “Running agent stages”): executor, namespacePattern (for example proj-{slug}-runners), maxActive, limits, and envFromSecrets for credentials mounted by reference into each agent pod.

The orchestrator needs rights to create and read Jobs and Secrets in the runner namespaces (global.rbac.jobRunner: true, or the platform grants the same verbs). Under a namespace LimitRange, set runner.limits below the per-container ceiling, or the pod is rejected and the Job waits without saying why.

Nothing to type: the executor is chosen by the chart. maxActive caps concurrent runs per namespace; beyond it a Job is created suspended (no pod, no image pull, no quota) and admitted in arrival order.

Start a run on a test project and watch its pod: kubectl get jobs -n <runner namespace>.

  • A Job that never starts: the namespace quota or a LimitRange refuses the pod. Lower runner.limits.
  • Forbidden creating the Job: the orchestrator’s service account lacks the rights above.
  • A pod that cannot pull its image: the image or registry credentials; the run reports the container’s reason and the runner’s exit code.