Module 08 of 10

Container & Kubernetes Security

Lessons

About This Module

Most modern cloud applications run in containers, usually managed by Kubernetes. Containers start fast and are easy to ship, but they also bring new risks: an image built on an outdated base can carry known vulnerabilities, and containers share the host's kernel, so they are not isolated the way virtual machines are.

Security starts with the image. Scanners such as Trivy check an image for known vulnerabilities before it is ever deployed. In Kubernetes, the main controls are RBAC, which decides who and what can do things in the cluster, plus pod security settings, network policies, and careful handling of secrets. A single over-permissive role or privileged pod can undo the rest.

The lessons walk through image scanning, Kubernetes RBAC, general best practices, and how attackers target a cluster so you know what you are hardening against. Watch them in order, then continue on to Logging & Threat Detection.

Lessons

4 videos
01

Security Scans for Docker Images using Trivy!

How to run a Trivy scan on a Docker image and filter the results by vulnerability severity.

02

Kubernetes Security Best Practices

A practical walkthrough of the main best practices for keeping a Kubernetes cluster secure.

03

Kubernetes RBAC Explained

How Kubernetes role-based access control works and how to use it to tighten cluster security.

04

Hacking and Hardening Kubernetes Clusters

A CNCF talk on how attackers target Kubernetes clusters and how to harden them against those attacks.