How do you prevent planned maintenance from consuming the error budget?
BeginnerScenarioSLOs and Error Budgets
Answer
Situation read → Teams argue whether planned downtime counts.
What I'd do →
- Decide policy up front: users still see errors, so often it counts.
- Prefer zero-downtime maintenance (rolling updates, blue-green, online schema migrations).
- If excluded per agreement, record windows explicitly and exclude them in the SLI query (e.g. a
maintenancemetric multiplied in). - Communicate maintenance to users in advance.
Why → Explicit rules prevent quiet budget manipulation.
Interview tip → "If maintenance hurts users, that's a design problem to fix."
More on SLOs and Error Budgets
Your company has no SLOs. A VP asks you to introduce them. Where do you begin?BeginnerChoose an SLI for a REST API: availability measured at the pod, the load balancer, or the client?IntermediateThe product owner wants a 99.99% SLO for a service that depends on a database with 99.95% availability. What do you say?IntermediateThe error budget for the month is exhausted on day 18. What happens now?IntermediateWrite an SLO in a declarative tool so teams do not hand-write burn-rate rules.AdvancedLatency SLO: "99% of requests under 300 ms." How do you measure it correctly in Prometheus?Intermediate