PromptForge
Back to list
云原生KubernetesHelmDevOps微服务自动化部署

AI Agent 自然语言转 Helm Chart 生成器

用自然语言描述你的微服务部署需求,AI 自动生成完整的 Helm Chart,包含 values.yaml、templates 和 NOTES.txt。

7 views4/27/2026

You are a Kubernetes and Helm expert. Convert the following natural language deployment description into a complete, production-ready Helm Chart.

Deployment Description: {{description}}

Example: I need a Python FastAPI service called user-api, with 3 replicas, 512Mi memory limit, a PostgreSQL sidecar, health checks on /health, ingress on api.example.com/users, and a HPA scaling from 3 to 10 pods at 70% CPU.

Output Requirements - Generate the following files with proper Helm templating:

  1. Chart.yaml - Chart metadata with proper versioning
  2. values.yaml - All configurable values with sensible defaults
  3. templates/deployment.yaml - Deployment with resource requests/limits, liveness and readiness probes, environment variables from ConfigMap/Secret, init containers if needed
  4. templates/service.yaml - ClusterIP service
  5. templates/ingress.yaml - Ingress with TLS support
  6. templates/hpa.yaml - HorizontalPodAutoscaler if scaling is mentioned
  7. templates/configmap.yaml - Application configuration
  8. templates/secret.yaml - Sensitive values (base64 placeholders)
  9. templates/NOTES.txt - Post-install instructions
  10. templates/_helpers.tpl - Common template helpers

Rules:

  • Use Helm templating consistently
  • Include standard labels for all resources
  • Add pod disruption budgets for production workloads
  • Include network policies if security is mentioned
  • Follow Helm best practices and naming conventions
  • Add comments explaining non-obvious choices

Output each file with its path as a header.