Repository navigation
docs(k8s): add the Kubernetes guideline and the capacity decisions - #5492
Conversation
Checks and review recordLocal checks on the final branch (base
Review findings: all fixed, with two changes to the proposed fix.
Gaps: filed #5485 (runner placement). Mapped the node reserve, PID limit and graceful shutdown to dan-petty/homelab#13 (comment with the state of 2026-11-13), and the image pull metric to #4616 (comment). Removed the row for the two namespaces of another project: a person owns them, so the spec puts them out of scope. Rule 11: filed #5486 ( |
d0f6e42 to
bfa8dab
Compare
Amendment: the spec split (design sections 5.1 and 9, owner decisions of 2026-11-13)The owner directions in the comment on #5444 replace the measured baseline. This push changes the pull request as follows.
The guideline numbers its targets T1 to T10 and its rules R1 to R8. The first draft never merged, so no other document keeps its ids. The id map for PR 3 (#5538) and #5489: T2 to T1, T3 to T2, T4 to T3, T5 to T4, T6 to T5, T8 to T6, T9 to T7, T10 to T8, T11 to T9, T12 to T10; R1 and R2 stay, R5 to R3, R8 to R4, R10 to R5, R11 to R6; R7 (probes) and R8 (batch Jobs) are new. T7, T13 and T14 are decisions in "Capacity targets". Table 1. Local checks on the head commit.
|
The owner directions of 2026-11-13 replace the measured baseline: the guideline applies with no change to each managed project, programs give the metrics, and no agent updates a measured value by hand. - Move the spec to docs/guidelines/agentic-jobs.md. Keep the scope, the principles, the default targets, the job model, the measure of a job, the tuning loop, the model, context, tool, telemetry and eval methods, and the AW rules, each with one line of rule text. - Move the method parts of docs/roadmap/job-success.md into it: the ratio p, the Wilson interval, the efficiency, the 80% rule and the LogQL form of the ratio. The page keeps the result line contract and the grade table. - Add P10 and AW-J7: an event or a schedule starts each job, no caller waits, a reconcile pass finds a lost event, and a unit name from the input stops a second run. - Remove the baseline tables, the queries and the gap table. Add "Agentic jobs in devops-cli" to docs/ROADMAP_WORKFLOW.md with the owner map and a link to gap tracker #5543. - Rename the safety rules AW-S1 to AW-S4 to AW-G1 to AW-G4, because the guideline test refuses a state row id. - Add the guideline index, the Guidelines tab and the guideline test, the same files as PR #5492.
The owner directions of 2026-11-13 replace the measured baseline: the guideline applies with no change to each managed project, programs give the metrics, and no agent updates a measured value by hand. - Move the spec to docs/guidelines/agentic-jobs.md. Keep the scope, the principles, the default targets, the job model, the measure of a job, the tuning loop, the model, context, tool, telemetry and eval methods, and the AW rules, each with one line of rule text. - Move the method parts of docs/roadmap/job-success.md into it: the ratio p, the Wilson interval, the efficiency, the 80% rule and the LogQL form of the ratio. The page keeps the result line contract and the grade table. - Add P10 and AW-J7: an event or a schedule starts each job, no caller waits, a reconcile pass finds a lost event, and a unit name from the input stops a second run. - Remove the baseline tables, the queries and the gap table. Add "Agentic jobs in devops-cli" to docs/ROADMAP_WORKFLOW.md with the owner map and a link to gap tracker #5543. - Rename the safety rules AW-S1 to AW-S4 to AW-G1 to AW-G4, because the guideline test refuses a state row id. - Add the guideline index, the Guidelines tab and the guideline test, the same files as PR #5492.
|
Pull request #5492 has merge conflicts with |
…5567) Move `docs/SRE.md` to `docs/guidelines/sre.md`, a guideline that applies with no change to each managed project. Principle 9 and the incident steps make the response event-driven: an event starts each job, and no service waits for it. Add `docs/guidelines/production-readiness.md` from the draft. Each row names the check that measures it and holds no state. `k8s/catalog.toml` holds the tier, data class and dependencies of each service. "Service levels" in `k8s/README.md` holds the decisions of this cluster and links tracker #5541. No document holds a measured value or a gap row. The guideline index, the Guidelines tab and the guideline test are the same files as in #5492. Closes #5538 Change: `openspec/changes/archive/2026-11-13-5538-split-the-sre-spec/`
The owner directions of 2026-11-13 replace the measured baseline: the guideline applies with no change to each managed project, programs give the metrics, and no agent updates a measured value by hand. - Move the spec to docs/guidelines/agentic-jobs.md. Keep the scope, the principles, the default targets, the job model, the measure of a job, the tuning loop, the model, context, tool, telemetry and eval methods, and the AW rules, each with one line of rule text. - Move the method parts of docs/roadmap/job-success.md into it: the ratio p, the Wilson interval, the efficiency, the 80% rule and the LogQL form of the ratio. The page keeps the result line contract and the grade table. - Add P10 and AW-J7: an event or a schedule starts each job, no caller waits, a reconcile pass finds a lost event, and a unit name from the input stops a second run. - Remove the baseline tables, the queries and the gap table. Add "Agentic jobs in devops-cli" to docs/ROADMAP_WORKFLOW.md with the owner map and a link to gap tracker #5543. - Rename the safety rules AW-S1 to AW-S4 to AW-G1 to AW-G4, because the guideline test refuses a state row id. - Add the guideline index, the Guidelines tab and the guideline test, the same files as PR #5492.
bfa8dab to
c2d9542
Compare
The owner directions of 2026-11-13 replace the measured baseline of the first draft: the guideline applies with no change to each managed project, programs give the metrics, and no agent updates a measured value by hand. - Add docs/guidelines/kubernetes.md with the targets, each with the alert, report, check or metric that measures it, the tuning loop, the tune-down formula, the A/B method, the area rules, a probe rule and a batch Job rule (asynchronous, started by an event or a schedule, safe to run again on the same event). - Add "Capacity targets" to k8s/README.md with the decisions of this cluster and a link to gap tracker #5542. - Add the line of the guideline to docs/guidelines/index.md and docs/index.md, link it from docs/CLUSTER.md and docs/guidelines/sre.md, and add the terms "Managed project" and "Guideline". PR #5567 added the index, the Guidelines tab and tests/invariants/test_guidelines.py first.
87cff8d to
6b77d05
Compare
This adds
docs/guidelines/kubernetes.md, the Kubernetes guideline, which applies with no change to each managed project. The owner directions of 2026-11-13 replace the measured baseline: programs give the metrics, and no agent updates a measured value by hand.k8s/README.mdholds the decisions of this cluster and links gap tracker feat(k8s): track the Kubernetes spec gaps #5542.docs/index.md,docs/CLUSTER.mdand the SRE guideline link the guideline. The terms "Managed project" and "Guideline" are new.tests/invariants/test_guidelines.pyof docs(monitoring): split the SRE spec into a guideline and decisions #5567 checks the guideline.Closes #5444
Change:
openspec/changes/archive/2026-11-13-5444-add-the-kubernetes-performance-tuning-spec/