Actions90
- Namespaces Actions
- Pods Actions
- Services Actions
- Deployments Actions
- ReplicaSets Actions
- StatefulSets Actions
- DaemonSets Actions
- Jobs Actions
- CronJobs Actions
Namespaces → List
AI-generatedOverview
This node interacts with a Kubernetes cluster to perform various operations on Kubernetes resources. Specifically, for the 'Namespaces' resource with the 'List' operation, it retrieves and lists all namespaces in the cluster. This is useful for scenarios where users need to view or manage namespaces programmatically within their Kubernetes environment, such as automation workflows for cluster management or monitoring.
Use Case Examples
- Listing all namespaces in a Kubernetes cluster to display or process them further in an automation workflow.
- Automating namespace audits or cleanup tasks by retrieving the list of namespaces.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace context to operate within. Defaults to 'default' if not specified. |
| Resource Name | The specific name of the Kubernetes resource to target. Optional for listing namespaces. |
Output
JSON
json- The JSON object containing the list of namespaces retrieved from the Kubernetes cluster.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the cluster.
Troubleshooting
- Common issues include missing or invalid Kubernetes credentials, which will cause authentication failures.
- If the resource name is required but not provided for certain operations, the node throws an error indicating the missing resource name.
- Errors related to malformed input parameters such as non-array commands or environment variables for certain operations may occur and should be validated before execution.
Links
- Kubernetes Namespaces Documentation - Official Kubernetes documentation explaining namespaces and their usage.