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, executing commands inside pods, deleting resources, and more. It is useful for automating Kubernetes management tasks within workflows, such as deploying containers, managing pod lifecycles, and retrieving logs or resource information. For example, it can run a container image with a specified command in a given namespace and return the output, or delete a specified Kubernetes resource.
Use Case Examples
- Run a pod with a specific container image and command, then capture the output for further processing.
- Execute a command inside an existing pod to perform maintenance or retrieve information.
- Delete a Kubernetes resource like a pod or deployment by specifying its name and namespace.
Properties
| Name | Meaning |
|---|---|
| Image | The container image to use when running or executing commands in a pod. |
| Namespace | The Kubernetes namespace where the resource or pod is located or will be created. |
| Resource Name | The name of the Kubernetes resource to operate on, such as a pod or deployment. |
Output
JSON
stdout- The standard output returned from running a pod or executing a command inside a pod.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- If no credentials are provided or returned, the node will throw an error indicating missing credentials. Ensure Kubernetes API credentials are configured correctly.
- The 'command' input must be a valid JSON array; otherwise, an error will be thrown. Verify the command format before execution.