Generate Kubernetes Deployment Manifest
Generate production-ready Kubernetes deployment manifests with best practices, resource limits, health checks, and security configurations.
Prompt Template
Variables to Customize
[APPLICATION_NAME] The name of your application
Example: web-api
[CONTAINER_IMAGE] The Docker image to deploy
Example: myregistry/web-api:v1.2.3
[APPLICATION_PORT] The port your application listens on
Example: 8080
[ENVIRONMENT] Target environment (dev, staging, prod)
Example: production
[NAMESPACE] Kubernetes namespace for deployment
Example: web-apps
[REPLICA_COUNT] Number of pod replicas
Example: 3
[RESOURCE_REQUIREMENTS] CPU and memory requirements
Example: CPU: 500m-1000m, Memory: 512Mi-1Gi
Example Output
Pro Tips for Best Results
- Always specify resource requests and limits to prevent resource starvation and enable proper scheduling
- Use specific image tags instead of 'latest' for predictable deployments and easy rollbacks
- Configure both liveness and readiness probes with appropriate endpoints for your application type
- Include security context with non-root user and read-only filesystem when possible for enhanced security
- Add meaningful labels and annotations for better organization and monitoring integration
Tags
Want 500+ Expert Prompts?
Get the Premium Prompt Pack — organized, tested, and ready to use.
Get it for $29Related Prompts You Might Like
Create Comprehensive Unit Tests for Any Function
You are an expert software testing engineer. I need you to create comprehensive unit tests for a function. Function to ...
Write Professional API Documentation
You are a technical documentation specialist tasked with creating comprehensive API documentation for [API_NAME]. Create...
Implement Rate Limiting for APIs
You are an expert backend engineer specializing in API security and performance optimization. I need you to implement a ...
Handle API Error Responses
You are an expert API developer. Create comprehensive error handling code for API responses in [PROGRAMMING_LANGUAGE]. T...
Debug Python Syntax Errors
You are an expert Python debugger helping beginners fix syntax errors. I need you to analyze the following Python code t...
Write End-to-End Tests
You are an expert QA engineer specializing in end-to-end testing. I need you to write comprehensive E2E test cases for a...