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 'Pods' resource and 'Logs' operation, it retrieves logs from specified pods within a namespace. This is useful for monitoring and debugging applications running in Kubernetes by accessing their runtime logs.
Use Case Examples
- Fetching logs from a specific pod in the 'default' namespace to troubleshoot application issues.
- Listing logs from multiple pods in a given namespace to monitor application behavior.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the pod resides. Defaults to 'default' if not specified. |
| Resource Name | The name of the specific pod resource to operate on within the namespace. |
Output
JSON
logs- The logs output retrieved from the specified 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.
- If the 'command' parameter is expected as an array but is not, an error 'Command must be an array!' is thrown. Ensure the command input is a valid JSON array when applicable.