Skip to main content

signadot jobrunnergroup

Note

The examples here work with v0.8.0+ of the Signadot CLI.

To create a Job Runner Group (alias: jrg), first write a YAML or JSON file containing the name and spec. The available fields within spec are documented in the JobRunnerGroup spec reference.

For example:

name: my-jrg
spec:
cluster: your-cluster-name
labels:
my-custom-label: foo
env: bar
namespace: signadot
jobTimeout: 1h
image: ubuntu:latest
podTemplate:
metadata:
creationTimestamp: null
spec:
containers:
- image: ubuntu:latest
name: main
resources: {}
scaling:
manual:
desiredPods: 1

Submit this job runner group by passing the filename to the jobrunnergroup apply command:

signadot jobrunnergroup apply -f my-jobrunnergroup.yaml

You can use jobrunnergroup list to see all existing job runner groups, and jobrunnergroup get to see details about a single job runner group:

# List all job runner groups
signadot jobrunnergroup list

# Get one job runner group by name
signadot jobrunnergroup get my-jrg

You can delete a job runner group either by name or by pointing at the same file that was used to create it:

# Delete job runner group by name
signadot jobrunnergroup delete my-jrg

# Delete job runner group specified in a file
signadot jobrunnergroup delete -f my-jobrunnergroup.yaml

For reusable job runner group definitions, check out YAML Templates.