Kubernetes and container security
summary
Covers concrete controls: enforce non-root containers and immutable read-only filesystems (demo shows an ubuntu:latest pod blocked from running as root and unable to create files), use image scanning (Snyk integrated into Docker) and avoid baking secrets by using Sealed Secrets or Git-crypt, adopt GitOps with Argo CD so CI never needs cluster admin access, enforce policies with Gatekeeper/OPA, isolate traffic with NetworkPolicies/Calico, and run scanners like kube-bench, kubeaudit, kubesec and kubescape to find misconfigurations.
AI-written summary · about
chapters (12)
- 0:00Start
- 1:50Attack Surface - Cloud & Host
- 2:46Dockerfile best practices
- 5:00Scan your image
- 6:42Deployment to the cluster
- 7:46How to automate deploy? There are two approaches
- 12:13Pod Security Policy
- 13:11PSP Replacement Policy
- 13:27Open Policy Agent (Gatekeeper)
- 15:38Network Policy
- 18:30Sealed Secrets example
- 19:11Securing the Cluster
