Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Kubernetes Readiness and Liveness Probes with gRPC
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[SERVICE_NAME] - ✦
[PORT] - ✦
[INITIAL_DELAY] - ✦
[PERIOD]
k8s-grpc-health-probes-manifest.txt
Create a Kubernetes Deployment for a gRPC-based microservice '[SERVICE_NAME]'. Instead of HTTP, implement native gRPC health probes for both liveness and readiness. Configure them to target port '[PORT]'. Set 'initialDelaySeconds' to '[INITIAL_DELAY]' and 'periodSeconds' to '[PERIOD]'. This requires the container to support the gRPC Health Checking Protocol.
Example Output
"The AI will generate a Deployment YAML utilizing the modern 'grpc' field within the liveness and readiness probe specifications."