The kubectl package provides tasks for interacting with kubernetes via kubectl.
It supplies the create, apply, and delete commands.
An apply task will apply kubernetes manifests to the cluster.
| Name | Required | Default | Description |
| ----------| -------- | ---------- | ----------- |
| context | | | The kubernetes context to use. |
| files | Yes | | The list of manifest files to apply. |
| namespace | | | The kubernetes namespace to use. |
| selector | | | The selector to use. |
A create task will create kubernetes manifests on the cluster.
| Name | Required | Default | Description |
| ----------| -------- | ---------- | ----------- |
| context | | | The kubernetes context to use. |
| files | Yes | | The list of manifest files to apply. |
| namespace | | | The kubernetes namespace to use. |
| selector | | | The selector to use. |
A delete task will delete kubernetes manifests from the cluster.
| Name | Required | Default | Description |
| ----------| -------- | ---------- | ----------- |
| context | | | The kubernetes context to use. |
| files | Yes | | The list of manifest files to apply. |
| namespace | | | The kubernetes namespace to use. |
| selector | | | The selector to use. |