kubectl_apply
Apply Kubernetes YAML manifests to the cluster from a string or file, with support for dry-run validation and forced resource removal.
Instructions
Apply a Kubernetes YAML manifest from a string or file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manifest | No | YAML manifest to apply | |
| filename | No | Path to a YAML file to apply (optional - use either manifest or filename) | |
| namespace | No | Kubernetes namespace | default |
| dryRun | No | If true, only validate the resource, don't actually execute the operation | |
| force | No | If true, immediately remove resources from API and bypass graceful deletion | |
| context | No | Kubeconfig Context to use for the command (optional - defaults to null) |