kubectl Cheat Sheet Search Tool – Instantly Find Kubernetes Commands

kubectl Cheat Sheet Search Tool – Instantly Find Kubernetes Commands Easily explore and search the most commonly used kubectl commands with this interactive, browser-based cheat sheet. Filter by keyword, task, or resource to quickly find the exact syntax you need—whether you’re working with pods, deployments, services, contexts, or logs. Perfect for Kubernetes admins, DevOps engineers, and SREs who need fast CLI reference without digging through docs. No login required—search and copy commands in seconds.

📘 kubectl Cheat Sheet Search

  • kubectl get pods
  • kubectl get svc
  • kubectl get deployments
  • kubectl get nodes
  • kubectl get configmap
  • kubectl get secrets
  • kubectl create deployment nginx --image=nginx
  • kubectl expose deployment nginx --port=80 --target-port=80
  • kubectl scale deployment nginx --replicas=3
  • kubectl delete pod pod-name
  • kubectl delete service svc-name
  • kubectl logs pod-name
  • kubectl describe pod pod-name
  • kubectl exec -it pod-name -- /bin/bash
  • kubectl apply -f config.yaml
  • kubectl edit deployment nginx
  • kubectl patch deployment nginx --patch '{"spec":{"replicas":2}}'
  • kubectl label pod pod-name environment=dev
  • kubectl annotate pod pod-name description='frontend pod'
  • kubectl port-forward pod-name 8080:80
  • kubectl config set-context --current --namespace=my-namespace
  • kubectl config get-contexts
  • kubectl config current-context
  • kubectl top node
  • kubectl top pod
  • kubectl cordon node-name
  • kubectl uncordon node-name
  • kubectl drain node-name --ignore-daemonsets
  • kubectl rollout restart deployment nginx
  • kubectl rollout status deployment nginx
  • kubectl rollout history deployment nginx
  • kubectl expose pod pod-name --port=80 --target-port=8080
  • kubectl delete all --all