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 including CronJobs. For the 'Logs' operation on CronJobs, it retrieves the logs of a specified CronJob within a given namespace. This is useful for monitoring and debugging scheduled jobs in Kubernetes environments.
Use Case Examples
- Retrieve logs from a specific CronJob in the 'default' namespace to troubleshoot job execution issues.
- Monitor the output of CronJobs to verify scheduled tasks are running as expected.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the CronJob is located. |
| Resource Name | The name of the specific CronJob resource to operate on. |
Output
JSON
logs- The logs output from the specified CronJob.
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 CronJob does not exist, the node may fail to retrieve logs. Verify the resource name and namespace are correct.
- The node expects the 'command' parameter as a JSON array for certain operations; providing an invalid format will cause an error.
Links
- Kubernetes CronJobs Documentation - Official Kubernetes documentation on CronJobs, explaining their purpose and usage.