Production DevOpsCommand Cheatsheets
Battle-tested CLI syntax, cloud infrastructure templates, Kubernetes manifests, and incident runbooks — curated for DevOps engineers and SREs who ship to production.
apiVersion: apps/v1
kind: Deployment
metadata:
name: production-api
namespace: production
spec:
replicas: 3
selector:
matchLabels:
app: production-api
template:
metadata:
labels:
app: production-api
spec:
containers:
- name: api
image: ghcr.io/org/api:v2.4.0
ports:
- containerPort: 8080
resources:
limits:
cpu: "1"
memory: "1Gi"
requests:
cpu: "250m"
memory: "256Mi"End-to-End DevOps Pipeline
Command runbooks structured by actual software delivery phases, from source control commits to production monitoring.
Code & VCS
Trunk-based branching, interactive rebase, Git hooks & PR reviews.
CI/CD Pipelines
Matrix testing, multi-arch builds, artifact caching & CD rollouts.
Security & Scan
Container vulnerability triage, static SAST analysis & secrets rotation.
IaC & Cluster
Declarative state provisioning, Kubernetes manifests & Helm charts.
Observability
PromQL alerts, metric scraping, distributed tracing & log aggregation.
Explore DevOps Categories
Specialized commands, manifest definitions, and deployment blueprints organized by infrastructure pillar.
Containerization & K8s
Docker engine commands, multi-stage builds, kubectl references, and Helm package deployment.
CI/CD Automation
Workflow syntax, matrix testing, self-hosted runners, artifact uploads, and deploy stages.
Cloud Architecture
AWS CLI reference, Azure ARM templates, gcloud commands, EKS clusters, and Terraform on AWS.
Infrastructure as Code
Terraform state locking, declarative HCL modules, Ansible playbooks, Chef recipes, and Puppet.
Version Control
Trunk-based Git workflows, interactive rebase, branch permissions, and repository hooks.
Security & Secrets
HashiCorp Vault dynamic engines, Trivy vulnerability scanning, and SonarQube static analysis.
Networking & Mesh
Istio traffic management, Consul service discovery, Envoy proxy filters, and Linkerd mTLS.
Observability & Metrics
Prometheus PromQL queries, Grafana visualization dashboards, ELK stack, and AWS CloudWatch.
Battle-Tested Incident Commands
Instant copy-paste snippets for live triage, cluster recovery, and disk reclamation when production needs immediate action.
Identify Crashing Pods
Filter across all namespaces to pinpoint CrashLoopBackOff and Pending pods.
$kubectl get pods -A --field-selector=status.phase!=RunningEmergency Disk Reclamation
Remove stopped containers, unused networks, dangling images, and build cache.
$docker system prune -a --volumes -fForce Release State Lock
Override stuck DynamoDB or remote state lock after an interrupted pipeline.
$terraform force-unlock <LOCK_ID>Pod CPU Throttling Rate
Calculate throttling frequency across Kubernetes pods to tune CPU limits.
$sum(increase(container_cpu_cfs_throttled_periods_total[5m])) by (pod)Built for High-Velocity Teams
Designed after real incident response and daily operations: instant recall, no broken syntax, and no fluff.
Instant Search
Press ⌘K or Ctrl+K anywhere to find commands, flags, and templates across all 35+ tools.
Verified Terminal Syntax
Every code snippet is verified against real cloud environments and container engines.
LLM & Agent-Friendly
All cheatsheets are available as clean raw markdown at /docs/*.md and compiled into /llms.txt.
Copy-Ready Manifests
Production Kubernetes manifests, Dockerfiles, and Terraform blocks ready for deployment.
Accelerate Your Infrastructure Pipeline
Bookmark this command center, share it with your engineering team, or contribute new syntax templates directly on GitHub.