Actions90
- Namespaces Actions
- Pods Actions
- Services Actions
- Deployments Actions
- ReplicaSets Actions
- StatefulSets Actions
- DaemonSets Actions
- Jobs Actions
- CronJobs Actions
Overview
This node interacts with Kubernetes clusters, specifically supporting operations on various Kubernetes resources such as Pods. For the 'Exec' operation on Pods, it allows executing commands inside a running Pod within a specified namespace. This is useful for debugging, running scripts, or managing containerized applications dynamically within Kubernetes environments.
Use Case Examples
- Executing a shell command inside a specific Pod to troubleshoot an application.
- Running a script inside a Pod to perform maintenance tasks without redeploying the container.
Properties
| Name | Meaning |
|---|---|
| Image | The container image to use when running or executing commands in a Pod. |
| Namespace | The Kubernetes namespace where the Pod resides or where the operation will be performed. |
| Resource Name | The name of the specific Kubernetes resource (e.g., Pod) to target for the operation. |
Output
JSON
stdout- The standard output resulting from executing the command inside the Pod.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- If no credentials are provided or invalid, the node throws an error 'No credentials got returned!'. Ensure valid Kubernetes API credentials are configured.
- The 'command' parameter must be a JSON array; otherwise, an error 'Command must be an array!' is thrown. Validate the command input format before execution.