Lion Cipher Lab
Audit the kubelet and API server settings of YOUR OWN kind cluster by hand
- Cloud Security
- Advanced
- ~75 min
- Free · no account required
Why it matters
A cluster scanner reports that a kubelet check failed. A person who has read the kubelet's own settings knows what it means: the kubelet is the agent on each machine, with an HTTPS API that can read pod information and, depending on settings, run commands in containers. Who may call it depends on two things, how callers are identified and what they are allowed to do. Reading those two settings yourself, and seeing the status code flip when you change them, replaces memorised rules with understanding.
What you'll learn
- finding the kubelet configuration file on a node
- reading kubelet authentication and authorization settings
- finding the API server flags in its static pod manifest
- knowing which defaults are risky and which are fine
- testing the kubelet port from inside the cluster by status code
- toggling one setting and proving the effect, then restoring it
- finding roles that grant nodes/proxy
- finding RBAC bindings for anonymous callers
Steps in this lab
- The rule, and the three questions of an audit
- A kind node is a container: go in and look
- Read the kubelet: who may call it, and what may they do
- Read the API server flags
- Test the kubelet port from inside the cluster, by status code
- Change one setting, prove the effect, put it back
- Two RBAC audits that belong with the settings
- Rate it, fix it, and what the defender sees
Open the full interactive lab →