Programming & Dev
Advanced
Modern DevOps & GitOps
Continuous Integration and Continuous Deployment (CI/CD) coupled with Kubernetes is standard for enterprise apps. This prompt helps you generate production-grade deployment manifests, Dockerfiles, and pipeline definitions that prioritize security, speed, and reliability.
How to Run it
Specify your application stack, database dependencies, and the target hosting platform (e.g., AWS EKS, GCP GKE, or self-hosted).
Optimization Tips
- Multi-Stage Builds: Emphasize using multi-stage Dockerfiles to keep production images tiny, minimizing the security attack surface.
- Secrets Management: Let the AI know how you manage secrets (e.g., HashiCorp Vault, GitHub Secrets, Kubernetes Secrets) to ensure proper environment variable injection.
Customize Prompt Parameters
AI Prompt Blueprint
Act as a Lead DevOps and Infrastructure Engineer. Design a complete, secure CI/CD pipeline and Kubernetes deployment configuration for: [Insert Application Stack, e.g., Node.js with PostgreSQL]. Deliver: 1. A detailed multi-stage Dockerfile optimized for small image size and security (non-root user). 2. A production-ready GitHub Actions or GitLab CI pipeline YAML file including linting, security scanning (Trivy), unit tests, building, and pushing stages. 3. Kubernetes manifests (Deployment, ClusterIP Service, Ingress with SSL/TLS, and HPA for autoscaling). 4. A brief explanation of the infrastructure decisions, focusing on zero-downtime deployments and resource limit configurations.