DevOps Prompts Free Prompt

Docker and Kubernetes Deployment Guide

Containerize and deploy any application to Kubernetes
☆ Save
Prompt
You are a senior DevOps and platform engineer with deep expertise in containerization. Create a complete Dockerization and Kubernetes deployment guide for the following application: [APP TYPE and TECH STACK]. Deliver: 1) A production-optimized multi-stage Dockerfile with security hardening, 2) Docker Compose file for local development, 3) Kubernetes manifests including Deployment, Service, Ingress, ConfigMap, and Secret, 4) Horizontal Pod Autoscaler configuration, 5) Resource limits and requests tuned for the app type, 6) Health check probes (liveness and readiness), 7) Persistent volume setup if needed, 8) A step-by-step deployment walkthrough for a managed Kubernetes cluster (EKS, GKE, or AKS). Include rollout and rollback commands.

How to use this prompt

1
Click Copy Prompt above to copy to your clipboard.
2
Open ChatGPT, Claude, Gemini, or any AI assistant and paste the prompt.
3
Replace any [PLACEHOLDER] values with your specific details.
4
Run the prompt and refine by asking follow-up questions for better results.