Repository navigation
Description
Problem or Motivation
The owner asked on 2026-11-13 for three project specs: SRE service implementation, Kubernetes performance tuning, and agentic workflow implementation and tuning. This item is the first spec.
The SRE rules of the project are in many places today: the dashboard rules in docs/DESIGN.md, the cluster rules in docs/CLUSTER.md and k8s/README.md, the telemetry rules in docs/TELEMETRY.md and SECURITY.md, the pipeline jobs in docs/roadmap/, and owner decisions that are only in issues: the SLOs of 2026-11-11 (99 % roadmap round success, 90 % of Jobs under 3,600 s, LLM gateway 99.5 % availability and 95 % of requests under 60 s), Sloth for the SLO rules, the incident triggers of the SRE workbook, the Recreate rollout with a 600 s drain, the ConfigMap order for a removed setting and the Secret order for a new Secret reference. No document gives the service catalog, the SLI and SLO of each service, the alert routing, the incident and postmortem process, the backups, the capacity plan and the gaps with their issues. So an agent that adds a service, an alert or a rollout does not know what "good" is or which gap already has an issue.
Proposed Solution
Add docs/SRE.md, a normative spec in the form of docs/DESIGN.md:
- Purpose and scope: the services that the project runs in the cluster.
- Principles: SLOs drive the work, alerts on symptoms, GitOps for each change, automation before toil, blameless postmortems.
- The target with numbers: the SLO, error budget and burn-rate alerts of each service.
- The current state, measured from Prometheus, Loki, the alert rules and the manifests, with the query and the date.
- The method: the service catalog, SLIs and SLOs with Sloth, golden-signal dashboards, alert routing and notification, incident response with the incident and supervise jobs, postmortems, toil, release and change safety, backups and restore tests, capacity planning and runbooks.
- The rules that agents and jobs follow, each as a link to the document that owns it where one exists.
- A gap table: each gap with an existing issue or "new issue needed".
Register the document in the docs site and docs/index.md, and link it from the documents that route to it.
Acceptance Criteria
-
docs/SRE.mdexists with the seven parts above, in ASD-STE100, with no host name, node name, address, domain or local path. - Each measured number gives its query and its date.
- Each rule that another document owns is a link, not a copy.
-
uv run devops docs checkanduv run devops ci --check --only lint,format,docs,openspec,domainpass.
Target Subsystem
Kubernetes & Minikube Automation
Existing Tool Considered
The spec is a document, not code. It cites the primary sources: the Google SRE book and workbook (SLOs, error budgets, alerting on SLOs, incident response, postmortems, toil), the Sloth documentation, the Prometheus and Alertmanager documentation, and the Argo CD and Kubernetes documentation. Cost to write (estimate): 0.6 M tokens and 2 hours. Keep: one update for each changed SLO, alert or service. Fix: about 0.05 M tokens for each wrong rule.
Related
#4709 (Service SLOs in a Sloth spec), #4714 (SLOs and incidents in the project review), #3655 (pipeline dashboard and alerts), #4993 (OOM and crash-loop alerts), #5443 (agentic workflow spec), docs/DESIGN.md (the form of the spec).
Activity
dan-petty commentedon Nov 13, 2026
sre, and .github/labels.yml declares no scope/sre label. Add the label to the file to give the scope to this item.Both are sibling specs from the same owner request of 2026-11-13; this item writes docs/SRE.md while #5444 writes the Kubernetes performance tuning spec.dan-petty commentedon Nov 13, 2026
The agentic workflow spec (#5443, PR #5489) names this spec by its issue number, because the file is not on
mainyet. When this spec merges, please change the references to #5443, #5444 and #5445 in the merged specs to links to the files. The three pull requests also edit the same lines of.nav.ymlanddocs/index.md, so the later ones need a rebase.