Kubernetes icon

Kubernetes

Interact with Kubernetes

Overview

This node interacts with Kubernetes clusters to perform various operations on Kubernetes resources. Specifically, for the 'Services' resource with the 'Get' operation, it retrieves details about a specified Kubernetes service within a given namespace. This node is useful for automating Kubernetes management tasks such as fetching service configurations or statuses programmatically within workflows.

Use Case Examples

  1. Retrieve details of a specific Kubernetes service by specifying its name and namespace.
  2. Automate monitoring by fetching service information regularly to check its status or configuration changes.

Properties

Name Meaning
Namespace The Kubernetes namespace where the target service resides. Defaults to 'default' if not specified.
Resource Name The name of the specific Kubernetes service to retrieve information about.

Output

JSON

  • metadata - Metadata information of the Kubernetes service, including name, namespace, labels, and annotations.
  • spec - Specification details of the service, such as type, selector, ports, and cluster IP.
  • status - Current status of the service, including load balancer information if applicable.

Dependencies

  • Requires Kubernetes API credentials for authentication and access to the cluster.

Troubleshooting

  • Ensure Kubernetes credentials are correctly configured and have sufficient permissions to access the specified namespace and service.
  • Verify that the 'Resource Name' and 'Namespace' inputs are correctly set and that the service exists in the cluster.
  • Common error: 'No credentials got returned!' indicates missing or invalid Kubernetes API credentials; resolve by providing valid credentials in the node configuration.

Discussion