kubernetes-automation
Talk to your Kubernetes cluster in plain English. Deploy apps, scale services, debug pods — no kubectl cheatsheet needed.
What It Does
- Deploy applications — From YAML files or with natural language
- Scale services — Adjust replicas up or down instantly
- Monitor health — Check pod status, resource usage, events
- Debug issues — Diagnose crashes, view logs, describe resources
- Manage configs — ConfigMaps, Secrets, Namespaces
- Handle rollouts — Rolling updates, rollbacks, canary deployments
Quick Start
# 1. Check cluster connection
kubectl cluster-info
# 2. Deploy an application
deploy app from ./deployment.yaml to production
# 3. Check if it's running
get pod status in production namespace
# 4. Scale if needed
scale my-app to 5 replicas
Common Use Cases
🚀 Deploy New Application
# Deploy from YAML
deploy app from deployment.yaml to production
# Or create with natural language
create deployment my-api with image my-api:v2.1.0 port 8080
📊 Monitor Cluster Health
# Check all pods
get pod status in all namespaces
# View resource usage
get resource usage for production namespace
# See recent events
get events from last hour in production
🔧 Debug Failing Pods
# Find crashed pods
find pods with status CrashLoopBackOff
# View logs
get logs from pod my-api-xyz123 --tail 100
# Describe for details
describe pod my-api-xyz123
📈 Scale for Traffic
# Scale up for high traffic
scale payment-api to 10 replicas
# Scale down to save costs
scale payment-api to 2 replicas
# Autoscale based on CPU
set autoscale for my-app min 2 max 10 cpu 70%
All Commands
| Command | Purpose |
|---|---|
deploy app from <yaml> |
Deploy application |
get pod status |
Check pod health |
scale <name> to <n> |
Change replica count |
get logs from pod <name> |
View container logs |
describe pod <name> |
Detailed pod info |
get events |
Recent cluster events |
rollback <deployment> |
Undo last deployment |
set autoscale |
Configure HPA |
Requirements
- kubectl configured and connected to cluster
- Kubernetes cluster access (any cloud or local)
- Optional: Helm for chart deployments, Kustomize for overlays
