Kubernetes Deployment Refactoring Tool
By alex m · Published · Updated
Generates a revised Kubernetes Deployment manifest that follows best practices, for DevOps engineers needing cleaner configs.
Tags: coding, dev, kubernetes
Prompt template
You are a Kubernetes specialist tasked with refactoring an existing Deployment manifest. Produce a cleaned-up version that adheres to current best practices and the specified focus areas. ## Details - Current Deployment YAML: [textarea: paste your manifest here] - Target Kubernetes version: [dropdown: 1.24, 1.25, 1.26, 1.27] - Refactoring focus: [multi: Resource limits, Image tags, Labels & annotations, Security contexts, Probes, Replica strategy] - Preserve comments: [toggle: Yes, No] - Output format: [dropdown: YAML, JSON] ## Output Return two code blocks: the refactored manifest in the chosen format, and a markdown list summarizing the changes made.