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 services, specifically supporting the 'exec' operation among others. It allows executing commands inside a Kubernetes service container by specifying the service name, namespace, and command to run. This is useful for running administrative or diagnostic commands directly within a service's container environment, such as checking logs, running scripts, or debugging.
Use Case Examples
- Executing a shell command inside a Kubernetes service container to check the status of the application.
- Running a diagnostic command inside a service container to gather runtime information.
Properties
| Name | Meaning |
|---|---|
| Image | The container image associated with the service where the command will be executed. |
| Namespace | The Kubernetes namespace where the target service is located. |
| Resource Name | The name of the Kubernetes service resource on which the command will be executed. |
Output
JSON
stdout- The standard output from the executed command inside the Kubernetes service container.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure that the Kubernetes credentials are correctly configured and accessible; otherwise, the node will throw a 'No credentials got returned!' error.
- The 'command' input must be a valid JSON array; if not, the node throws 'Command must be an array!' error.
- Verify that the specified namespace and service name exist in the Kubernetes cluster to avoid execution failures.