Skip to main content
Version: v0.10 🚧

service

service can be used to define workspace-level service 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
type
Type represents the type of workload used by this Service. Currently, it supports several
types, including Deployment and CollaSet.
"Deployment" | "CollaSet"Deploymentrequired

Examples

modules:
service:
default:
replicas: 3
labels:
label-key: label-value
annotations:
annotation-key: annotation-value
type: CollaSet