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 Deployments such as executing commands inside a pod. It is useful for automating Kubernetes management tasks like running commands within deployment pods, managing deployment lifecycle, and retrieving deployment information. For example, it can execute a shell command inside a pod of a deployment to troubleshoot or configure the application dynamically.
Use Case Examples
- Executing a command inside a pod of a deployment to check application status or logs.
- Restarting a deployment by running a specific command or patching deployment configuration.
- Listing deployments in a specific namespace for monitoring or auditing purposes.
Properties
| Name | Meaning |
|---|---|
| Image | The container image to use when running or executing commands in a pod. |
| Namespace | The Kubernetes namespace where the deployment resource resides. |
| Resource Name | The name of the deployment resource to operate on. |
Output
JSON
stdout- The standard output from executing a command inside the deployment's 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' property must be a JSON array; otherwise, an error 'Command must be an array!' is thrown. Validate the command input format before execution.