Hands-on Lab·Certified Kubernetes Security Specialist
Least-Privilege Identity and Access on the Node
Identity and access management in this domain means the host's, not the cluster's: who can log in, what they can become, and what a shell on this machine is worth. This guide answers all three and finishes with four checks you can run on any node in ten seconds.
System Hardening Guide 15 of 40 Intermediate
- Kubernetesapiserver v1.36.4, kubelet v1.36.3
- Runtimecontainerd 2.2.6
- CNICilium 1.18.1
- Built withkubeadm v1.36.3
- TimeAbout 15 min
This is a lab node and it does not pass every check. The guide says so rather than quietly using a hardened example.
- Host kernel7.0.0-29
| Server Name | IP Address | OS | Roles | CPU | RAM | HDD |
|---|---|---|---|---|---|---|
| CKA7001 | 192.168.0.51 | Ubuntu 26.04 LTS | Control Plane Node (tainted NoSchedule) | 2 Core | 4 GB | 50 GB |
| CKA7001-NODE01 | 192.168.0.52 | Ubuntu 26.04 LTS | Worker Node | 2 Core | 4 GB | 50 GB |
This guide includes
Use this when identity and access has to mean the host's rather than the cluster's. This matters because a shell on a node is worth whatever credentials are sitting on its disk, and those are readable long before any Kubernetes control applies.
- finding who can log in at all, and what they are able to escalate to
- reading the effective sshd configuration rather than the file on disk
- measuring what a shell on this node would actually be worth
- running the four checks worth running on every node, scored
Before you start
-
Who can log in at all, and what they become
-
How they get here
-
What a shell on this node is worth
-
The four checks worth running everywhere