Actions90
- Namespaces Actions
- Pods Actions
- Services Actions
- Deployments Actions
- ReplicaSets Actions
- StatefulSets Actions
- DaemonSets Actions
- Jobs Actions
- CronJobs Actions
Overview
This node interacts with a Kubernetes cluster to perform various operations such as running pods, deleting resources, executing commands, patching resources, and more. It is useful for automating Kubernetes management tasks within workflows, such as deploying applications, scaling services, or retrieving logs. For example, it can run a pod with a specified image and command, or patch a Kubernetes resource in a given namespace.
Use Case Examples
- Run a pod with a specific container image and command to execute a task.
- Patch a Kubernetes resource like a deployment or pod to update its configuration.
- Delete a Kubernetes resource such as a pod or service by name.
Properties
| Name | Meaning |
|---|---|
| Image | The container image to use when running or patching a pod. |
| Namespace | The Kubernetes namespace where the resource is located or the operation will be performed. |
| Resource Name | The name of the Kubernetes resource to operate on. |
Output
JSON
stdout- The standard output from running a pod or executing a command in Kubernetes.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure Kubernetes credentials are correctly configured; otherwise, the node will throw 'No credentials got returned!' error.
- The 'command' parameter must be a valid JSON array when running a pod; otherwise, an error 'Command must be an array!' is thrown.
- Verify that the specified namespace and resource name exist in the Kubernetes cluster to avoid resource not found errors.