Certified Kubernetes Security Specialist (CKS)
Secure Kubernetes from the node to the supply chain: network policies, CIS benchmark, RBAC, AppArmor and seccomp, Pod Security, policy as code, secrets, image scanning and signing, audit logs and Falco. Phase 5 of my path.
- Course by
- CNCF
- Course code
- CKS
- Version
- Kubernetes 1.3x
- Lessons
- 45
- Official courseCKS curriculum (CNCF) + Kubernetes security checklist
- Best bookCertified Kubernetes Security Specialist (CKS) Study Guide — Benjamin Muschko, O'Reilly 2023
- ExamCKS — hands-on, 2 hours, CKA must be passed first
These summaries follow the public outline of the course. I wrote every lesson in my own words and tested the commands on RHEL 10. They are not Red Hat training material. Take the official course for the full content and the hands-on labs.
Parts and chapters
Part 1
Cluster setup and hardening (30 %)
Part 2
System hardening (10 %)
Part 3
Microservice vulnerabilities (20 %)
- 4Enforce Pod Security StandardsPod Security Admission and security contexts4 lessons
- 5Write policies as code with OPA GatekeeperPolicy as code4 lessons
- 6Protect Kubernetes secretsSecrets management5 lessons
- 7Isolate workloads with sandboxes and mTLSContainer runtime sandboxes and pod-to-pod encryption4 lessons
Part 4
Supply chain security (20 %)
Part 5
Monitoring, logging and runtime security (20 %)
What you learn
The main skills of the course and the chapter where you learn each one.
Cluster setup and hardening
- Network policies, CIS benchmark, Ingress TLS, node metadata, verify binariesChapter 1 Set up a cluster securely
- RBAC, service accounts, API access and upgradesChapter 2 Harden access to the cluster
System hardening
- Small host OS, AppArmor, seccomp, IAM and network accessChapter 3 Harden the nodes with AppArmor and seccomp
Minimize microservice vulnerabilities
- Pod Security Standards and security contextsChapter 4 Enforce Pod Security Standards
- Policy as code with OPA GatekeeperChapter 5 Write policies as code with OPA Gatekeeper
- Manage Kubernetes secrets and encrypt them at restChapter 6 Protect Kubernetes secrets
- Sandboxed runtimes and pod-to-pod encryptionChapter 7 Isolate workloads with sandboxes and mTLS
Supply chain security
- Minimal images, SBOM, scanning, signing and allowed registriesChapter 8 Secure the supply chain of images
Monitoring
- Audit logs, Falco, immutable containers and threat detectionChapter 9 Detect threats with audit logs and Falco