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 Deployments, Pods, Services, and more. For the 'Logs' operation on Deployments, it retrieves the logs of a specified deployment within a given namespace. This is useful for monitoring and debugging applications running in Kubernetes by accessing their runtime logs.
Use Case Examples
- Retrieve logs from a specific deployment in the 'default' namespace to diagnose issues or monitor application behavior.
- Fetch logs from a deployment in a custom namespace to analyze application performance or errors.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the deployment resource is located. |
| Resource Name | The name of the deployment resource to retrieve logs from. |
Output
JSON
logs- The logs output from the specified deployment resource.
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 resource name or namespace is incorrect or the deployment does not exist, the logs retrieval will fail. Verify the resource name and namespace are correct.
- The node expects the command property as an array for certain operations; providing incorrect formats may cause errors.
Links
- Kubernetes Deployments - Official Kubernetes documentation on Deployments, useful for understanding the resource this node operates on.
- Get Logs from Kubernetes Pods - Guide on how to retrieve logs from Kubernetes pods, relevant to the Logs operation.