Container & Kubernetes Security
Secure the container lifecycle from image to runtime: hardened images, admission control, cluster configuration and detection of suspicious workload activity.
3 objectives 6 steps about 130 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Build minimal, non-root container images, scan them for vulnerabilities and misconfigurations, and enforce signed or allow-listed images at admission.
- Harden a Kubernetes cluster with least-privilege RBAC, Pod Security Standards, network policies and sound secret handling, verified against the CIS Kubernetes Benchmark.
- Deploy runtime threat detection and Kubernetes audit logging, and investigate an alert such as an interactive shell spawned in a container.
Lesson plan
6 steps, about 130 min · 5 of 5 lessons available so far
- What Containers Isolate and What They Do Not Concept · 15 min
- Hardening and Scanning Images Lab · 25 min
- Cluster Hardening: RBAC, Pod Security and Network Policy Lab · 30 min
- Admission Control for Trusted Workloads Worked example · 20 min
- Runtime Detection and Cluster Audit Logs Lab · 25 min
- Container & Kubernetes Security Check Knowledge check · 6 questions
Practise it
On the same local kind cluster setup used in Kubernetes Fundamentals (with a CNI that enforces NetworkPolicy; install Calico or Cilium if your kind version's default does not), starting from manifests like the ones built there, harden a sample application's image and manifests until an image scanner and kube-bench meet agreed thresholds, enforce the restricted Pod Security Standard and default-deny network policies, add an admission policy that rejects unsigned images, then trigger and investigate a Falco alert caused by an interactive shell in a pod.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own Container RuntimeAdvanced · 12–24 h
References
Hard prerequisites
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.