Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Kubernetes Pod Disruption Budget (PDB)
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[PDB_NAME] - ✦
[APP_LABEL] - ✦
[MIN_AVAILABLE]
k8s-pod-disruption-budget-pdb-generator.txt
As a Reliability Engineer, generate a PodDisruptionBudget (PDB) named '[PDB_NAME]'. Target pods with the label 'app=[APP_LABEL]'. Set the 'minAvailable' parameter to '[MIN_AVAILABLE]'. This manifest must ensure that during voluntary disruptions (like node drains or upgrades), at least the specified number of replicas remain operational to maintain microservice availability.
Example Output
"The AI will provide a PDB YAML that prevents Kubernetes from taking down too many pods at once during maintenance."