create_deployment
Create a Kubernetes Deployment using basic configuration (image, replicas, port) or a custom YAML manifest for advanced use cases.
Instructions
Creates a new Deployment. Use either basic configuration or provide a raw YAML manifest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Container port to expose (if using basic config) | |
| image | No | Container image to run (if using basic config) | |
| dryRun | No | If true, simulates the action without making changes | |
| cluster | No | Target cluster name (default: 'default') | |
| replicas | No | Number of replicas (if using basic config) | |
| namespace | Yes | The Kubernetes namespace | |
| yamlManifest | No | Full YAML manifest for advanced deployment creation | |
| deploymentName | No | The name of the deployment to create |