How Kubernetes helps meet NIS2 risk-management measures
An essential or important entity running workloads on self-managed Kubernetes will ask which Article 21 risk-management measures the cluster can support. The honest answer is that Kubernetes helps with some measure areas and leaves others to the organization. Start by listing the measures your entity must address under the national law that transposes NIS2, then mark which ones the cluster can produce evidence for. NIS2 creates no certificate of compliance. National competent authorities oversee entities through inspections, security audits, security scans and information requests, so the question is what you can show them. DeployOpen prepares systems, controls and evidence for that review, but it does not certify anything.
The platform contributes most to four areas. For access control, authenticate people through OpenID Connect rather than static client certificates, and restrict Secrets with least-privilege RBAC. For logging and incident handling, enable API server audit logs and forward them to a store your security team can search, then add runtime detection. For backup and recovery, plan etcd snapshots with etcdctl snapshot save and test restores with etcdutl. For supply chain security, require signed images and verify signatures at admission time, using a signing approach such as Sigstore keyless signing if your policy allows it. Confirm each control with your own auditors and your national authority's expectations before you rely on it.
Kubernetes does not cover several measure areas. Policies, staff training, supplier management and governance remain organizational work: approved written policies, role-based training records, contracts and due diligence with suppliers, and management accountability for the risk-management approach. Your cluster can enforce technical rules that implement those policies, but it cannot write or approve them. Before the review, ask your national authority or legal counsel which evidence formats they expect and how they apply Implementing Regulation (EU) 2024/2690 to your sector. Those answers decide which cluster records you need to keep and for how long.
Which Kubernetes control addresses which Article 21 requirement
This table pairs the Article 21(2) measure areas in plain language with the Kubernetes capability that supports each one and the configuration it needs. Read it as a starting map for your own design, not as proof of compliance, because NIS2 has no certificate and your national authority will judge the evidence you hold. The main takeaway is that most of the Kubernetes work sits in identity, secrets, pod security, etcd recovery and image provenance, and each of these needs explicit configuration.
| NIS2 Article 21 measure area | Platform capability | Configuration needed |
|---|---|---|
| Access control and least-privilege access | RBAC and OpenID Connect or other supported authentication methods for human users | Connect the API server to your identity provider, bind roles to groups, limit list and watch access to Secrets, and review role bindings on a set schedule |
| Protection of secrets at rest | Encryption at rest for Secrets in etcd, which Kubernetes does not enable by default | Configure an encryption provider on the API server, restrict Secrets access in RBAC, and confirm the key management approach with your security team |
| Workload isolation and hardening | Pod Security Admission with the Privileged, Baseline and Restricted standards enforced per namespace | Set enforce, audit and warn modes per namespace, start with Baseline or Restricted for production, and document any exceptions |
| Business continuity and backup | etcd snapshot backup with etcdctl and restore with etcdutl | Schedule snapshots, store them outside the cluster, test restores on a separate environment, and record restore times and steps |
| etcd resilience (three-member guidance) | Odd-numbered etcd membership with at least three members, the minimum for tolerating one member failure | Place members across separate failure domains where your infrastructure allows, and confirm the topology with the kubeadm high availability guide |
| etcd resilience (five-member guidance) | Five-member etcd cluster recommended for production by Kubernetes documentation | Weigh the extra write latency and operational load against the added tolerance, and document the choice in your risk assessment |
| Supply chain security | Signed container images verified at admission, with signing records kept in a transparency log when using Sigstore keyless signing | Choose a signing approach, enforce signature verification in admission control, pin image digests, and keep a private registry for air-gapped environments |
| Cloud and managed-service provider obligations (Implementing Regulation 2024/2690) | Technical and methodological requirements for cloud, data center and managed service providers under the Implementing Regulation | Confirm whether your entity or your provider falls in scope, and map the Regulation's measures to the controls in this table with your legal and compliance team |
Audit logs and runtime records that support incident handling
NIS2 Article 21 expects an entity to handle incidents, which means it must be able to reconstruct what happened in its cluster after the fact. The records below are produced by different components, live in different places and have different owners, so the retention and review plan has to cover all of them together.
API server audit logs
The kube-apiserver audit log records who called which API, from where, and what changed, so it is usually the first record consulted after a suspicious change or access. Define an audit policy that captures request metadata for Secrets, RBAC objects and workload changes, then ship logs off the control plane nodes to storage the cluster operators cannot silently edit. Ask who reviews alerts from these logs each day and confirm the retention period with your regulator and legal team.
Operating etcd clustersRBAC definitions kept in Git
Role and RoleBinding objects in Git show what each identity was allowed to do at any given commit, which is the baseline against which an incident responder checks an access grant. Keep these manifests in the same repository as the GitOps delivery configuration, and require review for any change to them. Confirm with your auditors whether they will accept Git history as the record of authorization or whether they also want point-in-time exports from the cluster.
GitOps change history
The commit log, pull request approvals and sync records from the GitOps controller show who proposed a change, who approved it and when it reached the cluster. Pair these with the API audit log, because a drift between Git and live state is itself a signal worth investigating. Ask your change board how long commits and approvals must be kept, and make sure the Git host backs up its own data.
etcd snapshot records
Each etcd snapshot taken with etcdctl snapshot save should be logged with its time, source cluster, size and checksum, and restores performed with etcdutl should be recorded in the same way. These records prove that a recovery point existed before an incident and that restores were tested. Store snapshots outside the cluster, and ask the responder who has permission to read them, since snapshots contain Secrets.
Image signature verification records
When an admission controller verifies image signatures, it should log each decision, including the image digest, the signer identity and the outcome. Sigstore keyless signing records signing events in the Rekor transparency log, which lets a responder confirm which build produced a running image. Decide whether rejected admissions are retained as long as accepted ones, since they often show the first attempt to deploy a tampered image.
Cosign signing overviewRuntime detection alerts
Runtime detection tools flag events such as shells opened in containers, unexpected outbound connections or writes to sensitive paths. Route alerts into the same case system as audit logs so a responder can see the workload, the pod and the preceding API calls in one place. Ask who triages alerts outside working hours, how false positives are tuned and documented, and what the auditor or authority will ask to see for each reported incident.
How signed images and Sigstore keyless signing fit the supply chain measure
Signed images help an entity show that the workloads running in its cluster came from a known build and were not changed on the way. Signing alone does not protect anything until the cluster refuses unsigned or unverified images. Sigstore's keyless model, described in its Cosign signing overview, binds an ephemeral key to an OpenID Connect identity through a short-lived Fulcio certificate, and records each signing event in the Rekor transparency log. For an auditor, that means a signature can be tied to a named build identity and a logged event rather than to a long-lived private key stored somewhere in the pipeline. The enforcement point is inside the cluster: an admission controller such as Kyverno or Sigstore's policy controller has to verify the signature and attestations before a Pod is admitted, and the policy should name the expected identity issuer and subject.
Keyless signing depends on several supporting pieces that the entity must own. The registry must be one the entity controls or trusts, with write access limited to the build identities and with image digests, not mutable tags, referenced in manifests. The admission controller needs its own high availability and a failure policy decision, because a broken verifier either blocks deployments or lets unverified images through. SBOM practice matters too: an SBOM generated and attested for each image gives the incident team a component list to search when a vulnerability is announced, which supports the NIS2 incident handling and vulnerability management measures. Teams running air-gapped or sovereign clusters should also confirm that Fulcio and Rekor, or a private Sigstore instance, can be reached or hosted within their own boundary, since public transparency logs may not suit every data classification.
The choice between keyless signing and key-based signing with keys held in a KMS or OpenBao should be confirmed in the entity's own environment before the policy is written. Ask the security team which identity provider will anchor build identities, whether auditors accept the Rekor log as evidence, and how signing keys or certificates are rotated and revoked. Run a test in which an unsigned image, an image signed by an unexpected identity and a correctly signed image are deployed to a staging namespace, and record which ones are admitted. Keep the policy definitions in Git so that changes to trusted identities go through the same review as other platform changes. Signing supports the supply chain measure only as part of this chain, and the evidence should show each link working as designed.
What Kubernetes does not cover for NIS2
A cluster can produce evidence for several Article 21 measures, but it cannot make an entity compliant on its own. The cards below cover obligations that sit with governance, suppliers, people, continuity planning and data location, and that a platform team cannot close by configuring Kubernetes.
Governance and risk policy
Article 21 expects management bodies to approve and oversee cybersecurity risk-management measures, and the entity must be able to show who owns them. A cluster hardening baseline is an input to that policy, not a substitute for it. Check that risk assessments, asset inventories and exception approvals cover the cluster, its nodes, its registries and its GitOps repository, and that management has reviewed them. The national transposition law sets the binding detail on accountability.
NIS2 textIncident reporting under Article 23
Audit logs and runtime alerts help an entity detect an incident, but the reporting duties and deadlines under Article 23 run through national authorities and their formats. Decide who classifies an incident, who signs the notification, and how the cluster team hands over evidence. Confirm the early warning and follow-up timing with your national competent authority, since the directive sets the framework and national law sets the detail.
Supplier and managed-service oversight
Kubernetes distributions, managed control planes, registries, CI runners and managed security services all sit in your supply chain. Signed images and SBOMs show what you received, but they do not assess a supplier's security practices, incident response or continuity. Build a register of suppliers that touch the cluster, record contractual security terms and support access, and review them on a schedule. Regulation (EU) 2024/2690 sets requirements for cloud and managed service providers that you should read before selecting one.
Implementing Regulation textStaff training and awareness
Article 21 lists cybersecurity training as a measure, and the people who run the cluster hold the most privileged access. Training should cover RBAC design, secret handling, safe use of break-glass accounts and how to recognize a suspicious alert. Record who completed which course and when. Training records are evidence an assessor will ask for, and the cluster's own logs cannot prove that people were trained.
Business continuity beyond backups
etcd snapshots and volume backups restore data, but they do not restore a working organization. Continuity planning covers recovery time and recovery point targets agreed with the business, alternate sites or regions, staff availability, communication plans and periodic exercises. Test a full cluster rebuild from infrastructure code and confirm that restored workloads reconnect to identity, DNS and external dependencies. The Article 21 backup measure is one input to this plan.
Cryptography policy beyond Secrets encryption
Encryption at rest for Secrets in etcd covers one data store. Your policy should also state which algorithms and key lengths apply to TLS between services, certificate lifetimes, key custody for the etcd encryption key, and whether FIPS-validated modules are required for the workload. Ask your auditor or national authority which cryptographic baseline they expect, and document where each component meets it, including ingress, service mesh and application code.
Secrets good practicesData Act and GDPR transfer questions
Hosting the cluster in your own infrastructure does not settle where data is accessed from. A managed cloud provider, a support vendor with remote access from a third country, or a foreign-law processor can each raise transfer or government-access questions under GDPR Chapter V and the EU Data Act. The GDPR fine ceiling for transfer infringements is EUR 20 million or 4% of worldwide annual turnover (Article 83(5)(c)). Map every location where data is stored, processed or viewed, and get legal advice before signing with a provider exposed to third-country law.
Configuration sequence for a NIS2-ready cluster
This sequence turns a generic Kubernetes build into a cluster whose controls can be explained, tested and evidenced against NIS2 Article 21 measures. Each step names the source of truth for its settings and the record it leaves behind.
Confirm entity classification and national law
Before any technical choice, the organization confirms whether it is an essential or important entity under NIS2 Article 3 and which national transposition law applies, since Member States may keep or adopt stricter rules under Article 5. Legal or compliance leads own this step, with the cluster owner present. The source of truth is a written scope statement listing the in-scope services, their sector and the supervising authority. It is done when every later control can be traced to a named service and a named obligation. Confirm the current status of the January 2026 Commission proposal (COM(2026) 13) with counsel, because it is still a proposal.
Choose a distribution that matches support and FIPS needs
The platform team selects a Kubernetes distribution against the support window, upgrade cadence and any FIPS 140 requirement set in the scope statement. Kubernetes minor releases are supported for a limited window, so the team checks the current support table on the releases page and plans the upgrade path from day one. The source of truth is a short decision record covering distribution, host OS, version and the vendor's support terms. It is done when the vendor's conformance status and support commitments are confirmed in writing, and any compliance claims made by a vendor are matched to evidence the organization can inspect.
Set up identity with OIDC
Platform engineers integrate the API server with the organization's identity provider using OpenID Connect, so people authenticate with corporate accounts and not shared kubeconfig certificates. Kubernetes does not store human users as objects, so group claims from the identity provider drive RBAC bindings. The source of truth is the identity provider configuration plus the API server authentication flags. It is done when a test account can log in, group membership maps to the expected roles, and a removed user loses access at the identity layer. Record the break-glass procedure for emergency access.
Apply least-privilege RBAC
Administrators replace broad cluster-admin bindings with roles scoped to namespaces and teams, and they restrict list and watch access to Secrets. Bindings are written as manifests in the GitOps repository so every change is reviewed. The source of truth is the RBAC manifests in version control. It is done when a permissions review shows each binding has an owner and a purpose, and a test identity cannot read Secrets outside its namespace. Keep the review output, since it is the access-control evidence auditors ask for.
Enable API audit logging and encryption at rest
The team configures an audit policy for the API server that records who did what to which resources, and ships those logs to a store that operators cannot silently edit. In parallel, Secrets are encrypted at rest in etcd, because Kubernetes stores them unencrypted by default. The source of truth is the audit policy file and the encryption configuration file. It is done when a test change appears in the central log with the correct identity, and a direct etcd read shows Secret values are encrypted. Store key management details in a separate controlled system.
Apply Pod Security Standards and admission rules
Namespaces are labeled to enforce the Restricted Pod Security Standard where workloads allow it, using the built-in Pod Security Admission controller, with Baseline as a documented fallback for exceptions. Exceptions are recorded with an owner and a review date. The source of truth is the namespace labels in the GitOps repository. It is done when a deliberately non-compliant test pod is rejected and each exception appears in a register.
Configure signed image admission
The team sets up image signing in the build pipeline and an admission policy that rejects images without a valid signature from an approved identity. Keyless signing with Sigstore binds a short-lived certificate to an OpenID Connect identity and records the event in a transparency log, which gives a verifiable chain from build to deployment. The source of truth is the admission policy and the list of trusted signing identities. It is done when an unsigned image is blocked, a signed image deploys, and the signature verification output is stored with the release record.
Set up etcd snapshots and tested restores
Operators schedule etcd snapshots with etcdctl snapshot save, store them off the cluster, and document restore with etcdutl. Production clusters should run an odd number of etcd members, and the documentation recommends five members for production. The source of truth is the backup runbook and the snapshot schedule. It is done only after a restore has been run in a non-production environment and the time to recover has been measured and recorded.
Collect evidence for the assessment file
Compliance and platform leads gather the outputs of previous steps into one evidence file mapped to the Article 21 measure areas: incident handling, supply chain, access control and backup. The file holds the scope statement, configuration exports, audit log samples, admission test results and restore test records. The source of truth is the evidence register with a date and owner for each item. It is done when a reviewer can follow any Article 21 measure to a control, a configuration and a test result. Remember that NIS2 issues no certificate of compliance, so this file supports inspections rather than replacing them.
Questions about NIS2 and Kubernetes implementation
Does NIS2 require a certificate of compliance for our Kubernetes platform?
No. NIS2 creates no certificate of compliance. National competent authorities oversee compliance through inspections, security audits, security scans, information requests and administrative fines. Your entity has to show, on request, that its risk-management measures under Article 21 are in place and working. For a cluster, that evidence usually means documented configuration, RBAC and access records, API audit logs, image signing and scanning records, tested etcd backups and incident procedures. Ask your national transposition law and your competent authority what they expect as evidence, since the detail differs by Member State.
Does running Kubernetes on our own infrastructure make us NIS2 compliant?
No. A cluster is one technical component. NIS2 obligations cover governance, risk analysis, incident handling, business continuity, supply chain security, access control, cryptography and training across the whole entity. A cluster can support several of these measures, such as RBAC, audit logging, network policies, encryption of Secrets at rest and tested etcd backups, but it does not replace policies, staff roles, supplier reviews or reporting procedures. Map each Article 21 measure to a named owner, a platform control and a piece of evidence, then identify the gaps that remain outside the cluster.
What drives the cost of a NIS2-aligned Kubernetes implementation, and what should a quote include?
Cost depends on how many clusters you run, whether you choose a distribution or build on an existing one, how many controls must be designed and evidenced, and how many systems the cluster must integrate with, including identity, logging, secrets and backup targets. Recurring costs include patching, upgrades, monitoring and periodic testing. A quote should list the scope in writing: clusters and environments covered, Article 21 measures addressed, controls to be configured, evidence to be produced, integrations, documentation, training and what the client's team must provide. It should also separate one-time build work from retainers for support and upgrades. DeployOpen does not publish a price list; a quote follows from the written scope.
How long does a NIS2 Kubernetes project take?
Duration depends mainly on the number of clusters, the state of existing controls, the identity and logging systems that must be integrated, and how much policy work the entity must complete alongside the technical build. Clusters that already run with OIDC login, audit logging and tested backups need far less time than greenfield platforms that also need supplier review and incident procedures. Lead times for hardware, cloud accounts and change approvals often set the critical path. Ask for a timeline tied to named milestones and client dependencies in the written scope, rather than a single end date. No standard duration is set by the regulation.
What does our team need to provide for a Kubernetes implementation under NIS2?
Expect to provide a named business owner who can accept risk decisions, technical contacts for network, identity, storage and cloud accounts, access to your infrastructure in your own environment, and decisions on the entity's policies that the platform must enforce. Your team also needs to supply the existing risk assessment, asset inventory, supplier list and incident response contacts, plus a place to store backup copies and evidence. Some staff time will go to reviewing configuration, approving change requests and testing restores. Confirm these responsibilities in writing before work starts so that evidence ownership is clear after handover.
Can our internal team implement NIS2 controls on Kubernetes without a partner?
Yes, if your team has the skills and time. Many organizations build the platform internally, and the upstream documentation covers the controls in detail. The questions to answer honestly are whether your team has recent experience with cluster hardening, etcd operations, certificate and identity integration, image signing and audit log analysis, and whether it can keep that work running alongside upgrades. The Kubernetes version skew policy and release cadence mean upgrades recur several times a year. A partner can take on a fixed scope, produce the evidence and train your staff, while you keep ownership of the policies and the decisions.
How does essential versus important status change NIS2 supervision for our cluster?
Both classes face the same risk-management measures under Article 21 and the same reporting obligations under Article 23. The difference is supervision. Essential entities face ex ante supervision, meaning oversight before any incident, while important entities face ex post supervision, meaning oversight after they have shown signs of non-compliance. In practice, an essential entity should expect its cluster controls to be examined proactively, so evidence should be current and retrievable at any time. Confirm your classification under your national law and the relevant articles, Articles 32 and 33, with your competent authority or legal adviser.
Which NIS2 measures does the Kubernetes platform cover most directly?
The platform contributes most directly to access control, incident handling through audit logs and runtime detection, supply chain security through signed images and scanning, and backup and recovery through tested etcd snapshots. Other measures, such as governance, supplier management and training, depend on processes outside the cluster. Ask the implementation partner for a control map that lists each measure, the platform control, the evidence and the owner, so gaps are visible before the audit or inspection.
How essential and important entities differ in practice
Essential entities face the same risk-management measures under Article 21 and the same reporting duties under Article 23 as important entities. The difference is the supervision model. Essential entities are subject to ex ante supervision, which means authorities can check compliance before an incident happens, while important entities face ex post supervision that starts after an incident or evidence of a failure. For a Kubernetes platform, this means the evidence should exist and be current before any authority asks for it.
- Pre-incident evidence: Keep current records of cluster configuration, RBAC bindings, audit log policy and backup results so they can be produced without a rebuild.
- Documented measures: Maintain written descriptions of how each Article 21 measure maps to a platform control, with an owner for each.
- Tested recovery: Keep records of etcd restore tests, not only backup jobs, since supervisors may ask whether recovery has been exercised.
- Signed deployment trail: Retain image signature verification and GitOps change history for workloads in the cluster.
- Ongoing review: Schedule periodic control reviews so the evidence reflects the cluster as it runs today.
Confirm with your national competent authority and legal team which supervision powers apply to your entity under your national transposition law, since Member States may adopt rules that go further under Article 5.
Important entities carry the same Article 21 and Article 23 obligations but are supervised ex post. Authorities generally act when there is a concern, such as an incident, a complaint or information that suggests non-compliance. The practical effect is that the platform must be able to show what it did during a specific period, which puts weight on logs and incident records rather than on a standing evidence pack. Important entities should not treat the lower supervision intensity as a lower standard.
- Retained audit logs: Keep Kubernetes API audit logs for a period your incident response and legal teams agree on, with protection against modification.
- Incident timeline support: Be able to reconstruct who changed what, when, from which identity, for any cluster in scope.
- Runtime detection records: Keep alerts and triage notes from runtime detection, showing how suspicious activity was handled.
- Reporting readiness: Map log sources to the Article 23 reporting process so the team can meet reporting deadlines from evidence already held.
- Access records: Keep identity provider logs linked to Kubernetes authentication so user actions can be attributed.
Confirm the retention period, log storage location and access controls with your legal and compliance teams, since these depend on your sector rules and national law.
Entities in the cloud computing and data center sectors, along with DNS, TLD, CDN, managed service and online platform providers, fall under Commission Implementing Regulation (EU) 2024/2690. This regulation sets technical and methodological requirements for the Article 21(2) measures and the criteria for significant incidents. It applies alongside the general NIS2 framework, so these entities must read the technical requirements, not only the directive text. Whether your organization is in one of these categories depends on its service and sector, so confirm the classification before scoping evidence.
- Technical requirement mapping: Map each requirement in the regulation to a specific cluster control, such as RBAC, network policy, encryption or backup, with the evidence source named.
- Significant incident criteria: Define which cluster events would meet the significant incident criteria in the regulation and how they are detected.
- Customer-facing evidence: If you operate clusters for customers, plan what evidence you can share with them about tenant isolation and change control.
- Non-binding guidance: Use the ENISA technical implementation guidance published on 26 June 2025 for examples of evidence and framework mappings.
- Scope boundaries: Document which clusters and services are in scope, including shared control planes and managed components.
Confirm your sector classification and the applicable requirements with your national competent authority or legal counsel before treating the regulation as binding for your platform.
How the cluster controls connect to NIS2 evidence
The flow starts at the identity provider, where a user signs in and the API server authenticates the request. Every accepted or rejected call is written to the API audit log, which is the record an entity would hand to its incident response and compliance teams. Admission checks then verify image signatures before workloads run, and etcd holds the cluster state, with Secrets encrypted at rest and snapshots kept as the backup. Check that each arrow has a named owner and a retention period, because an auditor will ask for both.
Control flow from sign-in to the evidence store used by the compliance team.
How DeployOpen scopes and delivers NIS2 platform evidence
DeployOpen plans, builds and documents self-hosted Kubernetes platforms inside your own infrastructure, so the controls behind NIS2 Article 21 measures can be reviewed by your security and compliance teams. We work from a written scope, agreed before work starts, and we prepare evidence for your assessments without issuing any certification or audit report.
How we scope
- We agree in writing which clusters, namespaces and workloads fall in scope for the NIS2 review.
- We map each Article 21 measure your organization needs to the platform controls that will address it.
- We confirm with your team which evidence your auditors, supervisors or customers will request.
How we build
- We implement audit logging, access control, Secrets encryption and image signing in your infrastructure.
- We test incident detection, admission controls and backup restores against the agreed scope.
- We confirm air-gapped or restricted-network requirements early, including private registries for images.
How we hand over
- We document configuration, control owners and the evidence sources each control produces.
- We deliver a findings report with fixes and a retest, so open items are visible and closed.
- We train your operators on routine evidence collection, restore procedures and upgrade steps.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- A retainer can keep evidence current as Kubernetes releases, controls and national rules change.
- Your compliance team stays responsible for the regulatory position; we supply the platform facts.

