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 'Deployments' resource with the 'List' operation, it retrieves a list of deployments within a specified namespace. This is useful for monitoring and managing deployments in a Kubernetes environment, such as listing all deployments in the 'default' namespace or any other specified namespace.
Use Case Examples
- List all deployments in the 'default' namespace to monitor active deployments.
- Retrieve deployments in a specific namespace to manage application versions and scaling.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace to target for the operation, defaulting to 'default' if not specified. |
| Resource Name | The specific name of the deployment resource to target, if applicable. |
Output
JSON
deployments- An array of deployment objects retrieved from the Kubernetes cluster.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure Kubernetes credentials are correctly configured and accessible; missing credentials will cause the node to throw an error.
- Verify that the specified namespace exists in the Kubernetes cluster; an invalid namespace may result in empty or error responses.
- If the resource name is specified, ensure it matches an existing deployment; otherwise, the list operation may return no results or errors.
Links
- Kubernetes Deployments - Official Kubernetes documentation on Deployments, explaining their purpose and usage.
- kubectl Command Reference - Reference for Kubernetes command-line tool, useful for understanding operations like listing deployments.