Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Kubernetes Security: Harden Production Clusters
Rating: 4.5 out of 5(1 rating)
9 students

Kubernetes Security: Harden Production Clusters

Secure production Kubernetes: RBAC, Pod Security Admission, NetworkPolicy, supply chain, Falco runtime detection
Created byNEXUS ACADEMY
Last updated 9/2026
English

What you'll learn

  • Harden production Kubernetes clusters across the 4 Cs: cloud, cluster, container, and code
  • Design least-privilege RBAC and secure the API server, kubelet, and etcd with encryption at rest and mTLS
  • Enforce Pod Security Standards with Pod Security Admission and policy-as-code using Kyverno or OPA/Gatekeeper
  • Build default-deny NetworkPolicies and secure ingress, egress, and east-west traffic
  • Detect and respond to runtime attacks with Falco and Tetragon, and audit posture with kube-bench and Kubescape

Course content

12 sections • 71 lectures • 8h 35m total length
  • Welcome: Who This Course Is For4:03
  • Course Documents and How to Use Them8:21
  • Why Kubernetes Is Hard to Secure6:20
  • The Kubernetes Attack Surface: A Tour7:27
  • The 4 Cs: Cloud, Cluster, Container, Code6:09
  • Threat Modeling K8s with MITRE ATT&CK for Containers7:37
  • Shared Responsibility: Self-Managed vs Managed Clusters6:23
  • Building Your Hands-On Lab Cluster7:20

Requirements

  • Working knowledge of Kubernetes basics: pods, deployments, kubectl, and YAML
  • A machine that can run a local test cluster such as kind, minikube, or k3s for the hands-on labs

Description

“This course contains the use of artificial intelligence.”

Kubernetes gives teams speed, but its defaults are not secure. A cluster that runs perfectly can still hand an attacker a path from one compromised pod to full cluster control. This course teaches you how to close those paths on real, production-style clusters.


We work through the full lifecycle across the 4 Cs: cloud, cluster, container, and code. You start by mapping the Kubernetes attack surface and threat modeling with MITRE ATT&CK for Containers, then walk through a guided breach so you can watch privilege escalation and container escape happen before you learn to stop them.


From there the course is attack-then-harden, section by section. You secure the software supply chain with minimal and distroless images, Trivy scanning, SBOMs, and keyless signing using Sigstore and Cosign. You design least-privilege RBAC and fix ServiceAccount token hygiene. You harden the control plane: the API server, the kubelet, audit logging, and etcd with encryption at rest and mTLS. You enforce workload security with securityContext, the Pod Security Standards, and Pod Security Admission, the built-in replacement for the removed PodSecurityPolicy, then extend it with policy as code in Kyverno and OPA/Gatekeeper. You replace the flat, default-allow network with default-deny NetworkPolicies and see what Cilium and Calico add.


Then you move to runtime: detecting container breakouts, crypto-mining, and anomalous behavior with Falco and Tetragon, and responding when an alert fires. Finally you assess cluster posture against the CIS Kubernetes Benchmark with kube-bench, apply the NSA/CISA Kubernetes Hardening Guidance, scan with Kubescape, and finish with a capstone that hardens a vulnerable cluster end to end.


Every lab runs on your own disposable test cluster using kind, minikube, or k3s, never a production or third-party environment. The tooling is open source and vendor-neutral, and the material applies to both self-managed and managed clusters, with shared responsibility called out along the way.


You need working Kubernetes basics such as pods, deployments, kubectl, and YAML. Everything security-specific is taught from the ground up.

Who this course is for:

  • DevOps, platform, and SRE engineers responsible for running and hardening production Kubernetes clusters
  • Security engineers and cloud security practitioners who need to assess, audit, and defend Kubernetes environments