Kubernetes (K8s) is the industry-standard orchestration platform that automates the deployment, scaling, and management of containerized applications.
kubectl apply -f over manual commands for production environments.
Pro tip: alias k=kubectl and source <(kubectl completion bash) are life savers.
| Category | Command | Purpose / Debug Flow |
|---|---|---|
| Status | k cluster-infok get nodes |
Check if the "brain" is healthy and nodes are Ready. |
| Discovery | k get all -Ak get pods -o wide |
Find where everything is running across all namespaces. |
| Deep Dive | k describe pod <name> |
Step 1 for errors: Check "Events" at the bottom for pull errors or scheduling issues. |
| Telemetry | k logs <pod> -fk top pod |
Step 2 for errors: Watch application output or check for CPU/Memory spikes. |
| Access | k exec -it <pod> -- shk port-forward <pod> 8080:80 |
Jump inside the container or route local traffic to a private pod. |
| Ops | k apply -f file.yamlk scale deploy/<name> --replicas=5 |
The "Declarative" way to manage the state of your app. |
| Recovery | k rollout undo deploy/<name>k delete pod <name> --force |
The "Panic Buttons" for quick rollbacks or clearing stuck pods. |
Real-world Kubernetes is rarely "vanilla." These are the companion tools found in most production environments.
kubectl.
Think of Helm as Homebrew, Apt, or Pip but for Kubernetes clusters. It allows you to define, install, and upgrade even the most complex K8s apps.
helm install my-db bitnami/postgresql
helm repo add → helm search → helm install → helm upgrade
If you want to prove your skills in 2026, these are the three milestones recognized globally.
Certified Kubernetes Application Developer
Certified Kubernetes Administrator
Certified Kubernetes Security Specialist
While Rook is the premier way to run Ceph inside Kubernetes, beware of the "Virtualization Trap."
Tools to watch: Rook (for internal), Longhorn (easier internal), NetApp/Pure CSI (external).