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

Namespaces as a Security Boundary

Namespaces are the most over-trusted object in Kubernetes. This guide shows the same boundary holding on one axis and doing nothing at all on another, with two commands.

Security Fundamentals Guide 23 of 42 Beginner

Written against the versions above. Cilium 1.18.1 is the CNI - or rather, is not enforcing anything, since no policy exists. The behaviour shown is the Kubernetes default and is the same under any conformant CNI.

The cka5001 cluster: one control plane and 3 schedulable workers, on Cilium.
Server NameIP AddressOSRolesCPURAMHDD
CKA5001192.168.0.41Ubuntu 26.04 LTSControl Plane Node (tainted NoSchedule)2 Core4 GB50 GB
CKA5001-NODE01192.168.0.42Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA5001-NODE02192.168.0.43Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA5001-NODE03192.168.0.44Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. Two namespaces, two Pods, one ping

  2. The same boundary, on the API

Official sources