Skip to content

Architecture

Below we present the architecture of Compliant Kubernetes, using the C4 model.

For the nitty-gritty details, see Architectural Decision Records.

Level 1: System Context

Let us start with the system context.

C4 Model, Level 1 Diagram

Compliance imposes restrictions on all levels of the tech stack. Your compliance focus should mostly lie on your application. Compliant Kubernetes ensures that the platform hosting your application is compliant. Finally, you need the whole software stack on a hardware that is managed in a compliant way, either via an ISO 27001-certified Infrastructure Provider or using on-prem hardware.

Level 2: Clusters

Most regulations require logging to a tamper-proof environment. This is usually interpreted as an attacker gaining access to your application should not be able to delete logs showing their attack and the harm caused by their attack.

To achieve this, Compliant Kubernetes is implemented as two Kubernetes clusters

  • A Workload Cluster, which hosts your application, and
  • A Management Cluster, which hosts services for monitoring, logging and vulnerability management.

C4 Model, Level 2 Diagram

Level 3: Individual Components

Click on the diagram below to see the nuts-and-bolts of Compliant Kubernetes.

C4 Model, Level 3 Diagram

Note

Due to technical limitations, some compliance-related components still need to run in the Workload Cluster. These are visible when inspecting the Workload Cluster, for example, via the Kubernetes API. Currently, these components are:

  • Falco, for intrusion detection;
  • Prometheus, for collecting metrics;
  • Fluentd, for collecting logs;
  • OpenPolicyAgent, for enforcing Kubernetes API policies.

Note that, the logs, metrics and alerts produced by these components are immediately pushed into the tamper-proof logging environment, hence this technical limitation does not weaken compliance.

Level 3: Authentication

Click on the diagram below to see the nuts-and-bolts of Compliant Kubernetes authentication.

C4 Model, Level 3 Diagram, Authentication

Level 3: Backup

Click on the diagram below to see the nuts-and-bolts of Compliant Kubernetes backup.

C4 Model, Level 3 Diagram, Backup

Level 3: Metrics and Metrics-based Alerting

C4 Model, Level 3 Diagram, Metrics

Level 3: Logs and Log-based Alerting

C4 Model, Level 3 Diagram, Logs

Level 3: Access Control

C4 Model, Level 3 Diagram, Access Control