Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#Kubernetes

Advanced AI Prompt for Kubernetes Pod Topology Spread Constraints

Customize the variables below to instantly engineer your prompt.

Required Variables

k8s-pod-topology-spread-constraints.txt
Act as a Kubernetes High Availability (HA) Architect. Develop a Deployment specification engineered to survive total Availability Zone (AZ) failures by leveraging Pod Topology Spread Constraints. For the critical microservice labeled '[APP_LABEL]', configure a constraint mapping to the `topologyKey` '[TOPOLOGY_KEY]' (e.g., `topology.kubernetes.io/zone`). Enforce a maximum distribution imbalance by setting `maxSkew` to '[MAX_SKEW]'. Dictate strict scheduler behavior by setting `whenUnsatisfiable` to `DoNotSchedule`, guaranteeing that the Kubernetes scheduler will physically block deployment rather than placing multiple replicas in the same failure domain, thereby eliminating single points of failure.

Example Text Output

"The AI will generate a Deployment YAML with a 'topologySpreadConstraints' block that optimizes pod distribution across failure domains."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Kubernetes Pod Topology Spread Constraints" prompt used for?

The AI will generate a Deployment YAML with a 'topologySpreadConstraints' block that optimizes pod distribution across failure domains.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.