Kubernetes icon

Kubernetes

Interact with Kubernetes

Overview

This node interacts with Kubernetes clusters to perform various operations on Kubernetes resources. Specifically, for the 'DaemonSets' resource with the 'List' operation, it retrieves a list of DaemonSets within a specified namespace. This is useful for monitoring and managing DaemonSets in a Kubernetes environment, such as listing all DaemonSets in the 'default' namespace or any other specified namespace.

Use Case Examples

  1. List all DaemonSets in the 'default' namespace to monitor running DaemonSets.
  2. Retrieve DaemonSets in a specific namespace to check their status or configuration.

Properties

Name Meaning
Namespace The Kubernetes namespace in which to list the DaemonSets. Defaults to 'default' if not specified.
Resource Name The name of the specific resource to target, if applicable. For listing, this can be left empty to list all DaemonSets in the namespace.

Output

JSON

  • items - An array of DaemonSet objects returned from the Kubernetes API representing the listed DaemonSets in the specified namespace.

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 namespace does not exist or is misspelled, the node may return an empty list or an error. Verify the namespace name is correct.
  • If the resource name is specified incorrectly or does not exist, the list operation may fail or return no results. For listing DaemonSets, the resource name can typically be left empty to list all.

Discussion