Skip to main content
Version: v0.14 🚧

job

job can be used to define workspace-level job configuration.

Attributes

Name and DescriptionTypeDefault ValueRequired
replicas
Number of container replicas based on this configuration that should be ran.
int2optional
labels
Labels are key/value pairs that are attached to the workload.
{str: str}Undefinedoptional
annotations
Annotations are key/value pairs that attach arbitrary non-identifying metadata to the workload.
{str: str}Undefinedoptional

Examples

modules:
job:
path: oci://ghcr.io/kusionstack/job
version: 0.1.0
configs:
default:
replicas: 3
labels:
label-key: label-value
annotations:
annotation-key: annotation-value