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, allowing users to perform various operations on Kubernetes resources. Specifically, for the 'Namespaces' resource with the 'List' operation, it retrieves a list of namespaces within a specified Kubernetes cluster. This is useful for managing and organizing cluster resources by namespace, enabling users to view all namespaces available in their cluster environment.
Use Case Examples
- Listing all namespaces in a Kubernetes cluster to monitor resource allocation and organization.
- Retrieving namespaces to dynamically configure workflows based on available namespaces.
Properties
| Name | Meaning |
|---|---|
| Namespace | Specifies the Kubernetes namespace to operate within, defaulting to 'default' if not provided. |
| Resource Name | The name of the specific resource within the namespace to target for operations, if applicable. |
Output
JSON
namespaces- An array or list of Kubernetes namespaces retrieved from the cluster.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure Kubernetes credentials are correctly configured and valid; otherwise, the node will throw a 'No credentials got returned!' error.
- The node expects the 'command' parameter to be a JSON array for certain operations; providing a non-array will cause an error.
- If the specified namespace or resource name does not exist, the node may return an empty list or an error depending on the Kubernetes API response.
Links
- Kubernetes Namespaces - Official Kubernetes documentation explaining namespaces and their usage.
- kubectl Command Reference - Reference for Kubernetes command-line tool which performs similar operations as this node.