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 to perform various operations on resources such as DaemonSets. Specifically, for the 'Logs' operation on DaemonSets, it retrieves the logs of a specified DaemonSet within a given namespace. This is useful for monitoring and debugging DaemonSets by accessing their runtime logs.
Use Case Examples
- Retrieve logs from a DaemonSet named 'my-daemonset' in the 'default' namespace to troubleshoot issues.
- Monitor the output of a DaemonSet during deployment to ensure it is running correctly.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the DaemonSet resource is located. |
| Resource Name | The name of the DaemonSet resource to retrieve logs from. |
Output
JSON
logs- The logs output from the specified DaemonSet resource.
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 logs retrieval will fail. Verify the resource name and namespace are correct.
- The node expects the command input as an array for certain operations; providing a non-array command will cause an error 'Command must be an array!'. Ensure the command is formatted correctly.