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 to perform various operations on Kubernetes resources, including DaemonSets. Specifically, for the 'Get' operation on DaemonSets, it retrieves information about a specified DaemonSet within a given namespace. This is useful for monitoring, managing, or automating Kubernetes workloads. For example, a user can fetch the current state or configuration of a DaemonSet to verify deployment status or troubleshoot issues.
Use Case Examples
- Retrieve details of a DaemonSet named 'my-daemonset' in the 'default' namespace to check its current status and configuration.
- Automate monitoring by periodically fetching DaemonSet information to trigger alerts if the DaemonSet is not running as expected.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the DaemonSet resource is located. Defaults to 'default' if not specified. |
| Resource Name | The name of the specific DaemonSet resource to retrieve information about. |
Output
JSON
metadata- Metadata of the DaemonSet such as name, namespace, labels, and annotations.spec- Specification of the DaemonSet including the desired state and configuration.status- Current status of the DaemonSet including number of pods running, updated, and available.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- If no credentials are provided or credentials are invalid, the node will throw an error 'No credentials got returned!'. Ensure valid Kubernetes API credentials are configured.
- If the 'Resource Name' or 'Namespace' is incorrect or the DaemonSet does not exist, the node may return an error or empty result. Verify the resource name and namespace are correct.
- For operations requiring commands (like 'run'), the command must be a valid JSON array; otherwise, an error 'Command must be an array!' will be thrown.
Links
- Kubernetes DaemonSets Documentation - Official Kubernetes documentation explaining DaemonSets and their usage.