Skip to main content
Version: v0.13

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

nametypedescriptiondefault value
annotations{str:str}Annotations are key/value pairs that attach arbitrary non-identifying metadata to the workload.
containers required{str:}Containers defines the templates of containers to be ran.
More info: https://kubernetes.io/docs/concepts/containers
labels{str:str}Labels are key/value pairs that are attached to the workload.
replicasintNumber of container replicas based on this configuration that should be ran.
secrets{str:s.Secret}Secrets can be used to store small amount of sensitive data e.g. password, token.