Skip to content

Service (v1alpha)

Service is the legacy v1alpha Service representation supported by this SDK. SLOs reference it through SLOSpec.Service, and multiple SLOs can reference the same Service.

Properties

apiVersion

string required

Version represents a version of the OpenSLO specification.

Allowed values: openslo/v1alpha

Validation rules

Rule
property is required
must be equal to openslo/v1alpha

kind

string required

Kind represents all the object kinds defined by OpenSLO specification. Keep in mind not all specification versions support every Kind.

Allowed values: Service

Validation rules

Rule
property is required
must be equal to Service

metadata

struct required reference

See the metadata definition in the overview.

Validation rules

Rule
property is required

spec

struct

ServiceSpec contains the descriptive properties of a Service.

spec.description

string

Description summarizes the service.

Validation rules

Rule
property is optional
length must be less than or equal to 1050