CertGrid CertGrid
Hands-on Lab·Kubernetes and Cloud Native Associate

The Four Cs of Cloud Native Security

Cloud, Cluster, Container, Code. The model is easy to recite and easy to misread as four separate problems. One probe per layer on a default cluster shows what each one actually controls, ending with a Secret read out of etcd in plaintext.

Security and the 4C Model Guide 26 of 46 Intermediate

The defaults probed here are kubeadm's, and they are deliberate rather than accidental - NodeRestriction alone, and no encryption provider unless you configure one.

Everything here reads state that is already present on a default kubeadm cluster. Nothing is installed.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE01192.168.0.176Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

This guide includes

Use this when you need a structure for reasoning about Kubernetes security rather than a list of settings to apply. This matters because Cloud, Cluster, Container and Code fail in different ways, and a control at one layer does nothing for the other three.

Before you start

  1. Cloud: what the network can reach

  2. Cluster: who the API server trusts

  3. Container: root by default

  4. Code: a Secret is not encrypted

Official sources