Kubernetes icon

Kubernetes

Interact with Kubernetes

Overview

This node interacts with Kubernetes clusters, specifically supporting operations on various Kubernetes resources such as Deployments, Pods, Services, and more. For the 'Logs' operation on Deployments, it retrieves the logs of a specified deployment within a given namespace. This is useful for monitoring and debugging applications running in Kubernetes by accessing their runtime logs.

Use Case Examples

  1. Retrieve logs from a specific deployment in the 'default' namespace to diagnose issues or monitor application behavior.
  2. Fetch logs from a deployment in a custom namespace to analyze application performance or errors.

Properties

Name Meaning
Namespace The Kubernetes namespace where the deployment resource is located.
Resource Name The name of the deployment resource to retrieve logs from.

Output

JSON

  • logs - The logs output from the specified deployment resource.

Dependencies

  • Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.

Troubleshooting

  • If no credentials are provided or invalid, the node throws an error 'No credentials got returned!'. Ensure valid Kubernetes API credentials are configured.
  • If the resource name or namespace is incorrect or the deployment does not exist, the logs retrieval will fail. Verify the resource name and namespace are correct.
  • The node expects the command property as an array for certain operations; providing incorrect formats may cause errors.

Links

Discussion