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 Services. For the 'Logs' operation on Services, it retrieves the logs of the specified service within a given namespace. This is useful for monitoring and debugging services running in Kubernetes clusters. For example, a user can fetch logs from a service to diagnose issues or verify service behavior.
Use Case Examples
- Fetching logs from a Kubernetes service named 'my-service' in the 'default' namespace to troubleshoot issues.
- Listing logs of a service to monitor its runtime output and errors.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the service is located. |
| Resource Name | The name of the specific service resource to operate on. |
Output
JSON
logs- The logs output retrieved from the specified Kubernetes service.
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 to be an array but is not, an error 'Command must be an array!' is thrown. Verify the command input format.
- Logs retrieval might fail if the specified service or namespace does not exist or the user lacks permissions. Verify resource names and access rights.