job
job
can be used to define workspace-level job configuration.
Attributes
Name and Description | Type | Default Value | Required |
---|---|---|---|
replicas Number of container replicas based on this configuration that should be ran. | int | 2 | optional |
labels Labels are key/value pairs that are attached to the workload. | {str: str} | Undefined | optional |
annotations Annotations are key/value pairs that attach arbitrary non-identifying metadata to the workload. | {str: str} | Undefined | optional |
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