Generate Kubernetes manifests
generate_manifestsGenerate Kubernetes YAML manifests for a Docker Compose project, producing only required resources like Deployments, Services, and StatefulSets. Writes files locally without affecting a cluster.
Instructions
Write Kubernetes YAML for the project into a per-project directory under the server's generated/ folder. Only the resources the application actually needs are produced: a stateless service gets a Deployment, Service and ConfigMap, while a database also gets a StatefulSet with volumeClaimTemplates and a headless Service. Secrets are written with placeholders, never real credentials. The plan is re-derived from the project, so pass the same namespace/image_registry you passed to create_migration_plan. Writes files only -- it does not touch a cluster.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| namespace | No | ||
| output_dir | No | ||
| ingress_host | No | ||
| image_registry | No | ||
| include_ingress | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warnings | No | ||
| manifests | No | ||
| namespace | Yes | ||
| next_step | No | Call validate_manifests on output_dir before deploying. | |
| output_dir | Yes | ||
| project_name | Yes |