Service (v2alpha)¶
Service identifies a high-level group for SLOs. Each SLO refers to a Service by metadata name through SLOSpec.ServiceRef. Multiple SLOs can use the same Service name. The SDK does not verify that a referenced Service exists.
Properties¶
apiVersion¶
string required
Version represents a version of the OpenSLO specification.
Allowed values: openslo.com/v2alpha
Validation rules
| Rule |
|---|
| property is required |
must be equal to openslo.com/v2alpha |
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 defines the descriptive attributes 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 |