generate_k8s_deployment
Generate K8s Deployment, Service, ConfigMap, and HPA manifests
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"service": "<service>",
"image": "<image>",
"port": "<port>"
},
"name": "generate_k8s_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Container port | |
| image | Yes | Container image (e.g. myapp:1.0.0) | |
| service | Yes | Service name | |
| withHPA | No | Include HPA (then the Deployment omits replicas so the two never fight) | |
| cpuLimit | No | CPU limit (default: 500m) | |
| replicas | No | Initial replica count | |
| cpuRequest | No | CPU request (default: 100m) | |
| healthPath | No | HTTP path for the probes (default /health) | |
| memoryLimit | No | Memory limit (default: 512Mi) | |
| livenessPath | No | Liveness probe path (default healthPath) | |
| memoryRequest | No | Memory request (default: 128Mi) | |
| readinessPath | No | Readiness probe path (default healthPath) |