Skip to main content
7BBusyBoss

Kubernetes deployment YAML

Production-grade Deployment + Service + HPA + PDB for a stateless service.

Includes resource limits, probes, anti-affinity, security context.

DevOps & SREk8sdeployment

The prompt

Copy this into ChatGPT, Claude, Gemini or any assistant you already use β€” then paste your own service name + image + scale targets underneath it.

Generate Kubernetes manifests for the described service:

**Deployment** β€” replicas, resource requests/limits, liveness + readiness probes, security context (non-root, RO root FS), anti-affinity
**Service** β€” ClusterIP or LoadBalancer
**HPA** β€” CPU + memory targets
**PDB** β€” minAvailable
**ConfigMap** + **Secret** placeholders

Label everything: app, version, env, owner.

Rules:
- Resource limits required.
- Non-root, read-only filesystem where possible.
- Probes use real health endpoints.

Or run it here

0/8000
Output will appear here after you click Run.
Or run in your favourite chatbot

Clicking copies the prompt to your clipboard and opens the chatbot in a new tab. Gemini doesn't accept URL params β€” paste manually with Ctrl/Cmd+V.

Browse the full free AI prompt library or see more devops & sre prompts.