Actions90
- Namespaces Actions
- Pods Actions
- Services Actions
- Deployments Actions
- ReplicaSets Actions
- StatefulSets Actions
- DaemonSets Actions
- Jobs Actions
- CronJobs Actions
CronJobs → List
AI-generatedOverview
This node interacts with Kubernetes clusters to perform various operations on Kubernetes resources. Specifically, the 'List' operation for the 'CronJobs' resource retrieves a list of CronJobs within a specified namespace. This node is useful for automating Kubernetes management tasks such as monitoring, scaling, or managing workloads. For example, it can be used to list all CronJobs in a namespace to monitor scheduled jobs or to integrate Kubernetes data into workflows.
Use Case Examples
- List all CronJobs in the 'default' namespace to monitor scheduled tasks.
- Retrieve CronJobs from a specific namespace to automate job management or reporting.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace from which to list CronJobs. Defaults to 'default' if not specified. |
| Resource Name | The name of a specific resource, if filtering or targeting a particular CronJob is needed. Optional for listing all CronJobs. |
Output
JSON
json- The JSON output contains the list of CronJobs retrieved from the specified namespace.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure Kubernetes credentials are correctly configured and valid; otherwise, the node will throw a 'No credentials got returned!' error.
- If the 'Namespace' parameter is incorrect or does not exist, the node may return an empty list or an error from the Kubernetes API.
- The 'Resource Name' is optional for listing but required for other operations; providing it incorrectly may cause errors.
Links
- Kubernetes CronJobs Documentation - Official Kubernetes documentation on CronJobs, explaining their purpose and usage.