Group Purchasing
Group Purchasing

Kubernetes Cheat Sheet

Kubernetes Cheat Sheet (PDF, 1.32MB)Published: 03 Mar, 2025

The Kubernetes Cheat Sheet is an essential resource for security teams managing Kubernetes clusters in AWS, Azure, and Google Cloud. Download this guide to keep critical kubectl commands for auditing and managing Kubernetes objects at your fingertips.

The Cheat Sheet includes detailed commands for authenticating to clusters and working with key objects such as namespaces, services, pods, and role and permission bindings. You'll also find commands for gaining shell access to pods, querying logs, installing Calico network policies, viewing Gatekeeper admission controller constraints, installing packages with Helm, and applying Cosign signature policies. Examples also show how to use the command line to vary output (watch, JSON, wide) and search for resources by label.

Meet Your Author

Eric Johnson
Eric Johnson

Eric Johnson

Fellow

Eric Johnson is a Fellow at the SANS Institute and Principal Security Engineer at Puma Security. He leads hands-on training in SEC540: Cloud Native Security and DevSecOps Automation, co-authors SEC549 and SEC510, and develops open-source tools to help practitioners secure cloud pipelines.

Read more about Eric Johnson