concept
SLIs SLOs and error budgets
Site reliability engineering (SRE) uses measurable service behavior to guide operational decisions. A service-level indicator (SLI) is a measured property of a service, such as the fraction of eligible requests that succeed. A service-level objective (SLO) sets a target for that indicator over a defined period. A service-level agreement (SLA) is a commitment with agreed consequences; it need not use the same target as an internal SLO. For the fictional bookstore, measure catalog requests at the client-facing boundary, not the percentage of running Pods. Define which requests count, the success criteria, the measurement point, and the window before comparing results. A ready Pod can still return errors.
Formal Syntax & Structure
kubernetes syntaxkubernetes
good / eligible; burn = (bad / eligible) / (1 - objective)Working Example
Example Snippetkubernetes
Eligible: all completed catalog reads and observed timeoutsGood: successful catalog reads with the expected responseWindow: rolling 30 daysObjective: at least 99.9% good requests