Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Kubernetes Resource Model
Cyber Security

Kubernetes Resource Model

← Back to Glossary
By NHI Mgmt Group Updated October 30, 2026 Domain: Cyber Security

The Kubernetes Resource Model is a declarative pattern for managing systems through resources, specs, and status fields. Clients declare desired state, controllers reconcile reality toward that state, and the platform records progress in status. This separation supports extensibility, observability, and automation across custom and built in resources.

How the Kubernetes Resource Model works

The Kubernetes Resource Model is a declarative control loop: users describe the desired state of a resource, Kubernetes stores that intent, and controllers continuously reconcile actual cluster state toward it. That split between spec and status is what makes the model predictable at scale, because the platform can compare desired versus observed state without every client managing each step directly.

In practice, the model covers both built in objects and custom resources. Those resources become the unit of automation, so operators and controllers can add new capabilities without changing the core platform. The model is therefore less about one object type and more about the contract that lets Kubernetes extend safely while keeping a consistent way to declare, observe, and converge state.

Desired state, spec, and status

The spec field is where intent lives. It expresses what the user or system wants, such as replica counts, scheduling constraints, labels, or configuration values. The status field is different: it records what the platform has observed and what progress it has made, including reconciliation results, readiness, or failure conditions.

That separation is important because it prevents the current condition from being treated as desired configuration. Controllers can act on the specification while status remains a feedback channel. This makes drift visible, supports automated repair, and gives tooling a reliable way to reason about whether the platform has actually achieved the declared intent.

Reconciliation and controller behaviour

Controllers are the active agents in the model. They watch resources, compare observed state against desired state, and take corrective action until the two converge or the system reports an error. This creates eventual consistency rather than immediate manual synchronisation, which is why Kubernetes can manage many moving parts without requiring operators to orchestrate every change themselves.

Because reconciliation is continuous, the model is resilient to transient failure, replacement of nodes, and other routine infrastructure churn. The same mechanism also underpins custom automation, since a controller can encode business logic, infrastructure logic, or policy logic as long as it can read resource state and act on it responsibly.

Why the model matters for extensibility and operations

The Kubernetes Resource Model is the reason custom resources and operators fit naturally into the platform. A new resource can expose its own spec and status while still using the same declarative workflow as native objects. That consistency reduces integration friction and gives platform teams a shared pattern for ownership, lifecycle, and observability.

It also improves operational clarity. Instead of asking only what was requested, teams can ask whether the controller has reconciled the request, what the last observed state was, and whether the system is progressing or stuck. For a broader explanation of container and orchestrator security considerations around this model, see NIST SP 800-190 Container Security.

Risk and Threat Considerations

The main risk in a declarative resource model is that the platform will faithfully converge on the wrong intent if the specification is compromised, incomplete, or overly permissive. A second risk is that status can look healthy while a controller, admission path, or dependency is silently failing, which can hide drift or delay detection of unsafe state.

Failure mechanism: An attacker or misconfiguration can alter the declared resource, abuse controller permissions, or exploit weak admission and reconciliation boundaries so that the platform continuously restores an unsafe configuration or exposes sensitive workload state.

Impact: The result can be persistent misconfiguration, unintended workload exposure, privilege abuse, or repeated reapplication of a compromised desired state across the cluster.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5CM-2 — Baseline ConfigurationKubernetes resources define managed baselines as declared state.
AC-6 — Least PrivilegeController and operator permissions determine what state they can enforce.
AU-6 — Audit Record Review, Analysis, and ReportingStatus and reconciliation logs provide evidence of state changes and failures.
Recommendation — Define and maintain approved resource baselines for Kubernetes objects and controllers. Restrict controller and operator privileges to the minimum needed for reconciliation. Review reconciliation and status events to detect drift, failure, or unauthorized changes.
NIST CSF 2.0PR.PS-05 — Resilient ConfigurationThe model depends on correct, protected configuration of declarative resources.
Recommendation — Protect Kubernetes resource definitions from unauthorized or unsafe modification.
CIS Controls v8CIS-4 — Secure Configuration of Enterprise Assets and SoftwareThe resource model operationalises secure, repeatable configuration at scale.
Recommendation — Standardise and continuously validate secure Kubernetes configurations.

Practitioner Guidance

Governance implication: Treat resource specs, controller permissions, and status reporting as separate trust boundaries. The spec should be tightly governed because it becomes the source of truth, while status should be monitored as evidence of whether the system is actually converging on that truth.

What to watch for: Reconciliation loops that never settle, status conditions that lag reality, or resources whose declarative intent can be modified by actors who should only observe or deploy. These are strong signals that the model is working mechanically but not safely.

Practitioner takeaway: In Kubernetes, the resource model is only as trustworthy as the controls around who can declare state and who can reconcile it.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 30, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org