Governance and fleet controls
Turn policy into an accountable fleet baseline
Governance means deciding who may make changes, what constraints apply, and how the organization verifies outcomes. A baseline is the minimum approved configuration for a defined population of clusters. A fictional bookstore has catalog, billing and analytics teams, with separate owners and data classes. Keep a versioned cluster inventory containing environment, accountable owner, hosting model, Kubernetes and add-on versions, support deadlines, region, data classification and evidence freshness. Record where replicas, snapshots and logs reside; a cluster region alone does not establish data residency. Do not store credentials in the inventory.
catalog-prod | owner: catalog-team | data: internalbilling-prod | owner: billing-team | data: restrictedanalytics-dev | owner: analytics-team | data: syntheticUnknown backup location -> HOLD residency reviewLayer policy and verify enforcement
A reviewed baseline can require scoped RBAC, approved artifacts, appropriate Pod security, backup tests and patch ownership. Pod Security Admission modes enforce, audit and warn have different effects. ValidatingAdmissionPolicy uses CEL and requires a binding to apply its validation; matching scope and actions determine what happens. Audit or warning alone does not establish denial. A policy declaration is not evidence that every target cluster enforces it. Verify expected allow and deny outcomes in an approved test environment and inspect effective permissions, including group memberships and indirect grants. Roll out policy changes in bounded waves with a rollback plan.
baseline v3 -> review -> dev test -> limited production wavepositive case: permitted approved requestnegative case: disallowed request rejectedmissing enforcement evidence -> HOLDManage a narrow, expiring exception
An exception is a documented departure from a named rule, not a bypass for unrelated policy. Suppose catalog needs a temporary approved image-source exception for a migration, billing has no exception, and analytics has an expired one. Require a trusted approval bound to the exact rule, cluster, namespace and workload, accountable owner, reason, compensating control, start time, expiry and review decision. At expiry the exception is invalid, including at the exact expiration instant. A request annotation is not trusted approval. Reevaluate existing workloads as well as future requests: admission does not automatically remove all running nonconforming workloads. Use a reviewed, non-disruptive remediation plan.
{ "id": "EX-17", "rule": "approved-source", "cluster": "catalog-prod", "namespace": "catalog", "workload": "importer", "owner": "catalog-team", "reason": "temporary migration dependency", "compensatingControl": "reviewed artifact digest", "approver": "security-reviewer", "starts": "2026-01-10T09:00:00Z", "expires": "2026-01-12T09:00:00Z"}Own patch, artifact and access lifecycle
A managed control plane and a self-managed installation have different operational responsibilities. For each cluster assign owners for control-plane and node upgrades, add-on compatibility, backup recovery, artifact verification, monitoring, vendor support and incident response. Review actual support dates and component skew against pinned versions; do not assume provider support matches upstream. Artifact provenance documents production history, not an assurance that software is vulnerability-free. Verify the artifact digest, trusted producer and applicable policy separately. Revoke stale access and rehearse emergency access with time limits and independent review.
control: patch lifecycle | owner: platform teamevidence: supported version inventory + approved upgrade record + post-change testscontrol: artifact trust | owner: release teamevidence: verified digest + accepted provenance + risk reviewPractice risk review and fleet coverage
Use the offline exception and fleet cases to classify each request. An active approved exception is eligible only for the modeled rule; unrelated checks must still run. An expired exception should be escalated to its owner. A fleet with evidence from two of three clusters has incomplete coverage; the missing cluster is unknown, not compliant. Record residual risks, owners, escalation deadlines, and remediation evidence. Do not present a synthetic decision as a regulatory finding.
clusters: 3; verified: 2; unknown: 1coverage: 2 / 3; fleet release gate: HOLDRun python validate_offline.py in lab-fixtures/enterprise-governance/Further reading
- https://kubernetes.io/docs/concepts/security/security-checklist/ — Security baseline, access and logs
- https://kubernetes.io/docs/concepts/security/rbac-good-practices/ — Least privilege and access review
- https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/ — Validation policies, bindings and actions
- https://kubernetes.io/docs/reference/kubernetes-api/admissionregistration/validating-admission-policy-binding-v1/ — Audit annotations and validation actions
- https://kubernetes.io/docs/concepts/security/pod-security-admission/ — Enforce, audit and warn modes
- https://kubernetes.io/releases/version-skew-policy/ — Component version compatibility
- https://slsa.dev/spec/v1.2/provenance — Artifact provenance concepts
- https://slsa.dev/spec/v1.2/build-requirements — Artifact digest and build trust
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Governance and fleet controls — knowledge check
Design policy evidence and exception lifecycle
Which item proves the least about actual enforcement?
At the exact expiry of an approved exception, what should the model decide?
What is required beyond a ValidatingAdmissionPolicy definition?
Two of three clusters have verified baseline evidence. What is the fleet decision?
Does an active exception allow unrelated policy violations?