Kubernetes, NIS2 and DORA: How to Secure Clusters and Prove Disaster Recovery Readiness

Can you restore a critical service?

Choose one application and assess its backup requirements. Document its dependencies and perform a recovery test. The results will show what actually needs to be improved.

During an outage, individual pods can be restarted within minutes. Restoring the service itself can be much more challenging. An application may depend on data stored in a PersistentVolume, functioning DNS, the correct secrets and access to an external database. If any of these components fail, green pod statuses tell you very little about the actual situation from the users’ perspective.

NIS2 and DORA encourage organisations to examine precisely these dependencies. In this article, we walk through the decisions involved in protecting Kubernetes data, explain the limitations of replication and describe how to prepare a recovery test. We also outline what evidence should be collected after the test to make its results measurable and verifiable.

In this article

01. Kubernetes in the context of NIS2 and DORA

Imagine an application running in a Kubernetes cluster that processes payments. Following an outage, the team launches it in a secondary environment, but the database is restored to a state from several hours earlier. The infrastructure is operational, but financial transactions now need to be reconciled. Scenarios like this demonstrate why recovery objectives must be defined for the business service and its data. During an infrastructure review, this leads to specific questions: how much data can be lost, how long can the service remain unavailable, and who authorises the restoration of traffic?

The NIS2 Directive lists business continuity, backup management, disaster recovery and crisis management among the cybersecurity risk-management measures (Article 21(2)(c)). The scope of these obligations must be determined for each organisation based on its regulatory status and applicable national legislation. Simply using Kubernetes does not automatically mean that an organisation falls within the scope of the directive.

DORA has applied to the financial entities covered by its scope since 17 January 2025. Articles 11–12 of the regulation introduce requirements concerning ICT business continuity, as well as policies and procedures for data backup, restoration and recovery. This means that a review must also consider how tests are conducted, how responsibilities are assigned and how decisions made after an incident are documented. Purchasing a backup platform alone does not establish regulatory compliance.

For financial entities covered by DORA, Article 12(3) stipulates that, when restoring data from backups using their own ICT systems, they must use systems that are physically and logically segregated from the source system. The applicability of this requirement must be assessed in the context of the specific organisation and its recovery approach.

In practice, we first ask whether recovery is feasible and then verify it under controlled conditions. If restoration takes six hours while the agreed RTO is two hours, the test reveals a specific gap. This information is far more useful than simply knowing that a backup job completed successfully.

Show the results of your latest recovery test

The report should identify the restored application, the recovery point used and the measured recovery time. Include the results of data validation and the service owner’s approval.

02. What needs to be protected to restore a service

Restoring a PersistentVolume does not necessarily mean that the application has been recovered. You may have all the data you need and still be unable to launch the service because a CRD definition is missing, the Ingress configuration is incorrect or a certificate expired during the outage. The scope of your backup strategy should therefore be based on how the application actually runs.

When performing an inventory, it is useful to divide service components into the following areas:

  • Environment configuration: manifests, CRDs, policies, Helm charts and GitOps declarations. Determine what can be restored directly from a repository and what requires a separate backup.
  • Application data: PersistentVolumes, databases, storage objects and mechanisms for creating consistent backups. For transactional databases, account for their own backup procedures.
  • Identity and access: service accounts, certificates, secrets and RBAC rules. Also verify where the recovery environment will obtain its keys and credentials.
  • Dependent services: DNS, load balancers, IAM, queues, external APIs and databases managed outside the cluster. Identify an owner for each dependency and define how its availability will be verified after restoration.

This dependency map can be prepared during an architecture workshop. We select a service, trace its startup sequence and identify which steps depend on the platform team and which require the application owner’s involvement. This provides a reasonable basis for defining the scope of HA and DR activities. As part of Sorigo’s Kubernetes and microservices services, this may also include cluster architecture, storage configuration and an audit of the existing environment.

03. Snapshots, replication and backup – different roles

CSI snapshots, storage replication and Kubernetes backup serve different purposes. It is worth comparing them against potential failure scenarios before selecting a tool. A short-lived operator error can sometimes be resolved using a snapshot. Losing an entire storage system or dealing with a ransomware attack requires different safeguards.

What CSI snapshots provide

VolumeSnapshot enables volume snapshots through a CSI driver. The way snapshots are created and restored depends on the implementation and the storage system in use. If a snapshot resides within the same failure domain as the source volume, losing the storage system may mean losing both resources. It is worth checking the capabilities of the specific driver in the official Kubernetes documentation and the storage vendor’s documentation.

What happens to errors during replication

Replication maintains a copy of data in a secondary resource or location, making it easier to switch services following an infrastructure failure. However, it operates at the data-change level. If an application deletes an important table or ransomware encrypts files on a volume, those operations may also be propagated to the replica. This is why a DR plan should include a separate recovery path for restoring an earlier, trusted state.

Backup and recovery point selection

Backups allow you to access earlier versions of your data, provided that the repository and retention policy have been designed correctly. In the event of an attack on an administrator account, separate permissions for deleting backups and immutability mechanisms are particularly important. You should also verify encryption, access to keys and the ability to restore data in an isolated environment. The mere presence of an immutability feature in a product offering does not guarantee that it has been configured correctly.

In the event of an operator error, a snapshot may provide the fastest way to return to a previous state. Replication is useful when an entire location becomes unavailable, while recovering from encrypted data may require an older backup. The diagram summarises these use cases; the final choice of mechanisms depends on the storage system in use and must be validated through testing.

04. Designing a backup and disaster recovery policy

We start designing data protection by determining how much downtime a particular service can tolerate. An informational portal will have different requirements from a system processing real-time payments. Only after agreeing on these limits can we select the backup frequency, replication method and target recovery location.

RTO and RPO: objectives that must be verified through testing

RTO (Recovery Time Objective) defines the target time within which a service should be restored. RPO (Recovery Point Objective) describes the acceptable amount of data loss, measured in time. Imagine that backups are performed every hour. If the latest backup turns out to be inconsistent and you need to go back another two hours, the actual recovered state may be significantly older than the schedule suggests. This is why a test report should record both the recovery time and the timestamp of the latest valid recovery point.

What to establish before implementing backup and DR

  1. Service criticality. Which applications require a short recovery time, and which can be restored from GitOps and less frequent backups? Agree on this with business owners.
  2. Backup location. Check whether the repository is outside the failure domain of the primary storage system. Permissions to delete backups should be separated from everyday cluster administration privileges.
  3. Data consistency. For PostgreSQL, Oracle and systems that write data across multiple volumes, an appropriate backup method must be defined. A volume snapshot alone may not guarantee transactional consistency.
  4. Recovery environment. Determine where the application will be restored and how you will prevent production integrations from being triggered accidentally during testing.
  5. Test acceptance. Define who measures RTO and RPO, who validates data integrity, and who approves the results and assigns remediation tasks.

When Kubernetes runs across multiple regions or cloud providers, you also need to consider data transfer costs, managed service limitations and the availability of the necessary components on the DR side. These dependencies should be analysed as part of cloud and multicloud Kubernetes architecture design, before selecting a backup storage approach.

05. How to build an audit trail

During an audit, it is useful to be able to trace an individual requirement all the way to a test result. For example, a policy states that an application must be restored within two hours. The team identifies its owner, presents the backup configuration, provides the latest recovery exercise report and shows the measured result. If the target was not achieved, the documentation should include a deadline and the person responsible for implementing the fix.

For a single critical service, an evidence package may include:

  • An approved RTO/RPO target, a criticality assessment and the name of the service owner.
  • Version-controlled backup, retention, encryption and access-control policies.
  • Backup execution logs, including information about errors and how they were handled.
  • A recovery report containing measured restoration time, integrity checks and the service owner’s approval.
  • A list of unresolved risks, together with remediation deadlines.

The same review should also cover RBAC, NetworkPolicy, secrets management and container image security. These controls reduce the risk of unauthorised actions within the cluster, while event logging helps reconstruct the course of an incident. We discuss example areas of assessment during Sorigo’s webinar, “Is Your Kubernetes Environment Ready for NIS2 and DORA?”. The material can also serve as a starting point for developing your own audit checklist.

06. What a recovery test should verify

After a successful restore, you should run an application-level test. A completion message and Running pod status are not enough to determine whether customers can actually use the service. Database records may be missing, a queue may need to be reconnected or a certificate may be out of date.

A recovery exercise can follow the scenario below:

  1. Prepare an isolated namespace or cluster. Restrict connections to production systems and agree on access rules for the testing team in advance.
  2. Select a recovery point. Record its timestamp and confirm that all required data can be accessed.
  3. Restore the application according to its dependency sequence. Check manifests, volumes, secrets and services outside the cluster.
  4. Run application tests and data validation. Verification should reflect how the service is used, for example by performing a test transaction or checking that the database is in the expected state.
  5. Record the start and end times of the exercise. Compare the result against the RTO and the age of the restored data against the RPO. Finally, the service owner should decide whether the test can be considered successful.

In the case of ransomware, selecting a recovery point requires a separate analysis. An incident may be detected long after the first unauthorised access occurred. Restoring the latest backup could therefore bring back compromised configurations or data. The testing plan should include the verification of older recovery points and isolation of the recovery environment.

Verify that the application actually works

After restoration, test a critical function and validate data integrity. Then compare the measured RTO and RPO against the agreed targets and assign remediation tasks.

07. A 90-day action plan

The easiest way to get started is to select one service with an identified owner and a clearly defined method for verifying successful recovery. This provides a foundation for preparing procedures for the remaining clusters. The following 90-day schedule is an example. In a large, multi-cluster environment, the work may take longer, particularly if identity management, storage or application dependencies need to be reorganised.

Phase 1: Assessment and prioritisation

The review starts with an inventory of workloads and their owners. The team examines existing backup jobs, permissions and the way failed backups are monitored. The outcome is a risk register with priorities and an indication of which service should be addressed first.

Phase 2: Target architecture design

During a workshop, the team agrees on RTO/RPO objectives and the approach to selecting recovery points. The design covers retention, backup storage locations and the scenario for launching applications after an outage. Before moving on to tool configuration, service owners should approve the testing plan.

Phase 3: Implementation and automation

The team implements backup policies, configures repository access and enables alerts for failed jobs. Where applicable, configuration management is integrated with GitOps or a CI/CD pipeline. An important outcome of this phase is the ability to verify that data protection continues to work after changes are made to the cluster.

Phase 4: Testing and remediation

The final exercise involves restoring the selected application, validating data and measuring recovery time. The report documents any obstacles encountered and identifies the person responsible for each corrective action. This document becomes a reference point for subsequent tests and the audit team.

Projects like this require input from application owners as well as the teams responsible for platform management and security. Kubernetes platform design, implementation and audit services may include architecture assessments, preparation of the target solution and a joint recovery test. The scope should always be tailored to the specific cluster and service requirements.

08. Where CloudCasa fits in

Implementing a backup policy requires a tool that supports the Kubernetes resources and data storage systems in use. One solution worth evaluating during a technical assessment is CloudCasa, a platform for data protection and recovery in Kubernetes environments.

The partner article “NIS2 and DORA Compliance for Kubernetes Backup” describes, among other things, immutable backups, access control, activity logging and a self-hosted deployment option. These capabilities may be useful when an organisation has specific requirements regarding backup locations or wants to manage policies centrally across multiple clusters.

When evaluating CloudCasa, it is important to distinguish between backup data immutability at the target storage level (e.g. Object Lock) and SafeLock, which protects recovery point entries in the CloudCasa catalogue. Both mechanisms require correctly configured retention policies. SafeLock is not available in the Free plan. For details, see: https://docs.cloudcasa.io/help/configuration-policy.html.

Before implementation, it is worth conducting a PoC using a representative application. You should verify support for the specific storage system and workload type, the consistency of restored data and key management procedures. Equally important are the limitations of the selected deployment model and the access rules governing the backup repository. Responsibility for meeting NIS2 and DORA requirements remains with the organisation.

When comparing CloudCasa with native cloud solutions or open-source tools, use the same test scenario and acceptance criteria for each option. This allows the PoC results to demonstrate how much operational effort each solution requires and how recovery works with the storage system in use.

09. How Sorigo can support your organisation

Assessing Kubernetes readiness often reveals several problems that are not immediately apparent when reviewing backup tool features: unclear application ownership, missing incident recovery procedures or insufficiently segregated access permissions. Drawing on our Kubernetes and DevOps expertise, Sorigo can help you improve cluster architecture, HA/DR mechanisms and recovery processes, and then validate them in practice.

A good starting point is a workshop focused on a single critical service. Together with your team, we identify its dependencies, review the backup configuration and select a suitable testing scenario. The outcome should be a list of concrete actions: what needs to be improved, who is responsible for the change and how the results will be verified.

Start with one critical workload

Watch Sorigo’s practical webinar on NIS2 and DORA. If you want to assess your own environment, talk to the Sorigo team about reviewing your architecture, backup strategy and recovery procedures.

10. FAQ: Frequently asked questions

Does NIS2 require a specific Kubernetes backup tool?

No. NIS2 defines cybersecurity risk-management obligations, not a list of approved Kubernetes products. The selection of data protection mechanisms should be aligned with the organisation’s regulatory scope and the criticality of its services.

Is a Kubernetes snapshot sufficient as a backup?

A snapshot may be sufficient for quickly rolling back an unsuccessful change. However, its suitability as a backup in the event of losing the entire storage system must be assessed separately. Many environments require an independent repository and controlled backup retention.

What is the difference between RTO and RPO?

RTO defines how long it should take for a service to become operational again. RPO specifies how old the recovered data can be. Both values should be documented for each application and then verified during a restore test.

Does replication replace backup in the event of ransomware?

Replication also propagates unwanted changes. If encrypted files reach the secondary storage system, simply switching to the DR environment will not solve the problem. You will need a recovery point from before the compromise and a procedure for verifying its integrity.

Where should you start when auditing Kubernetes for NIS2 and DORA?

Start by identifying which services need to be reviewed and who is responsible for their recovery. Then examine the cluster configuration, application dependencies, backup policy and the results of the latest recovery test. Sorigo’s webinar materials can help you prepare a checklist.

Sources and further reading