Skip to main content
Version: v0.10

common

Schema WorkloadBase​

WorkloadBase defines set of attributes shared by different workload profile, e.g Service
and Job. You can inherit this Schema to reuse these common attributes.

Attributes​

Name and DescriptionTypeDefault ValueRequired
containers
Containers defines the templates of containers to be ran.
More info: https://kubernetes.io/docs/concepts/containers
{str: container.Container}Undefinedrequired
secrets{str: secret.Secret}Undefinedoptional
replicas
Number of container replicas based on this configuration that should be ran.
int2required
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