The following workflow actions are available for Kubernetes Connector. All actions correspond to a command of the command-line interface kubectl.
Apply a configuration change to a resource or create a new resource.
Field | Type | Description | Required |
---|---|---|---|
Kubernetes resources | string | YAML configuration that is applied. The namespace must be specified. | required |
Delete resources by YAML configuration, or by type and name.
Field | Type | Description | Required |
---|---|---|---|
Delete by | Enum | Choose delete by "Resource name" or by "YAML configuration". | required |
Kubernetes resources | string | YAML configuration that describes the resources to be deleted. The namespace must be specified. | required |
Resource type | Enum | Type of the resource. | required |
Resource name | string | Name of the resource. | required |
Namespace | string | The namespace scope. | required |
Forcefully delete resources | Boolean | Defaults to false . The resource may continue to run on the cluster indefinitely, if forcefully deleted. | optional |
Grace period | number | Period of time in seconds given to the resource to terminate gracefully. The grace period must be greater than 0. | optional |
Get the logs for a container in a pod (limited to max. 6MB).
Field | Type | Description | Required |
---|---|---|---|
Namespace | string | The namespace scope. | required |
Pod | string | Pod to get the logs from. | required |
Container | string | The name of the container within the pod (only required if the pod has multiple containers). | optional |
Timeframe | number | Only return logs newer than a relative duration (in seconds) like 5 or 60. Defaults to all logs. | optional |
Retrieve detailed information about a specific Kubernetes resource.
Field | Type | Description | Required |
---|---|---|---|
Namespace | string | The namespace scope. | required |
Resource type | enum | Type of the resource. | required |
Name | string | Name of the resource. | required |
List resources of a specific type within a namespace, optionally filtered by labels or field values.
Field | Type | Description | Required |
---|---|---|---|
Namespace | string | The namespace scope. | required |
Resource type | enum | Type of the resource. | required |
Field selector | string | A filter that retrieves resources by comparing their field values against specific conditions. | optional |
Label selector | string | Selector (label query) to filter on. | optional |
Update fields of a resource using a patch strategy.
Field | Type | Description | Required |
---|---|---|---|
Patch strategy | string | The patch strategy that is used to apply the Patch. | required |
Namespace | string | The namespace scope. | required |
Resource type | enum | Type of the resource. | required |
Name | string | The name of the resource. | required |
Patch | string | The patch to be applied to the resource formatted as JSON or YAML. | required |
Restart a resource in a namespace.
Field | Type | Description | Required |
---|---|---|---|
Resource type | enum | Type of the resource. | required |
Namespace | string | The namespace scope. | required |
Resource name | string | Name of the resource to restart. | required |
Restart a deployment in a namespace.
This action is deprecated. Use the Rollout restart resource action instead.
Field | Type | Description | Required |
---|---|---|---|
Namespace | string | The namespace scope. | required |
Deployment | string | Name of the deployment to restart. | required |
Waits for a condition on a specified resource.
Field | Type | Description | Required |
---|---|---|---|
Namespace | string | The namespace scope. | required |
Resource type | enum | Type of the resource. | required |
Name | string | Name of the resource. | required |
For | string | What to wait for. At the moment the value of this field is fixed to Condition . | required |
Type | string | Type of the condition to wait for (e.g. Ready ). | required |
Status | string | The desired status of the condition (e.g. True ). | required |