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, specifically supporting operations on various Kubernetes resources including ReplicaSets. For the 'Get' operation on ReplicaSets, it retrieves details of a specified ReplicaSet within a given namespace. This is useful for monitoring and managing Kubernetes ReplicaSets programmatically within workflows, such as fetching the current state or configuration of a ReplicaSet for automation or reporting purposes.
Use Case Examples
- Retrieve details of a specific ReplicaSet in the 'default' namespace to monitor its status.
- Fetch ReplicaSet information in a custom namespace to integrate with deployment automation workflows.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the ReplicaSet is located. Defaults to 'default' if not specified. |
| Resource Name | The name of the ReplicaSet resource to retrieve details for. |
Output
JSON
metadata- Metadata of the ReplicaSet including name, namespace, labels, and annotations.spec- Specification of the ReplicaSet including replicas count and selector.status- Current status of the ReplicaSet including available replicas and conditions.
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 and ReplicaSet name exist in the Kubernetes cluster to avoid 'resource not found' errors.
- The node expects the 'command' parameter as an array for operations like 'run'; providing incorrect types will cause errors.
Links
- Kubernetes ReplicaSets Documentation - Official Kubernetes documentation explaining ReplicaSets and their management.
- kubectl Cheat Sheet - Reference for common kubectl commands to manage ReplicaSets and other resources.