How do you create SLOs for an internal platform (e.g. CI system or Kubernetes platform) used by developers?
IntermediateScenarioSLOs and Error Budgets
Answer
Situation read → Platform users are internal engineers; their journeys are builds, deploys and cluster API access.
What I'd do →
- Define journeys: "CI pipeline starts within 2 minutes", "deploy succeeds", "kube-apiserver request success".
- SLIs: queue time for CI runners, deploy success ratio, API server
apiserver_request_totalnon-5xx ratio and latency. - Publish targets and dashboards to developers.
- Use error budgets to prioritise platform work.
Why → Platform teams need the same contract with their customers as product teams.
Interview tip → Queue time is a great SLI for CI platforms.
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