create_job
Create a Kubernetes Job using basic configuration with image and command, or a full YAML manifest. Supports dry-run simulation.
Instructions
Creates a new Job. Use either basic configuration or provide a raw YAML manifest.
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": {
"namespace": "<namespace>"
},
"name": "create_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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') | |
| command | No | Command to run (if using basic config) | |
| jobName | No | The name of the job to create | |
| namespace | Yes | The Kubernetes namespace | |
| yamlManifest | No | Full YAML manifest for advanced job creation |