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 Description | Type | Default Value | Required |
|---|---|---|---|
| containers Containers defines the templates of containers to be ran. More info: https://kubernetes.io/docs/concepts/containers | {str: container.Container} | Undefined | required |
| secrets | {str: secret.Secret} | Undefined | optional |
| replicas Number of container replicas based on this configuration that should be ran. | int | 2 | required |
| 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 |