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 to perform various operations on Kubernetes resources. Specifically for the 'Scale' operation, it allows users to scale Kubernetes resources such as pods, deployments, or replica sets within a specified namespace. This is useful for dynamically adjusting the number of replicas of an application or service running in a Kubernetes cluster to handle varying loads or to manage resource usage efficiently.
Use Case Examples
- Scaling a deployment named 'my-app' in the 'default' namespace to increase or decrease the number of pod replicas.
- Adjusting the replica count of a stateful set in a specific namespace to manage application availability.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the resource to be scaled is located. |
| Resource Name | The name of the Kubernetes resource to scale (e.g., deployment, pod, replica set). |
Output
JSON
stdout- Output from the Kubernetes operation, typically the result or status of the scaling action.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure that valid Kubernetes credentials are provided; otherwise, the node will throw an error indicating no credentials were returned.
- The 'Namespace' and 'Resource Name' must be correctly specified; incorrect values may lead to resource not found errors or failed scaling operations.
- The node expects the 'command' parameter to be a JSON array for certain operations; providing an invalid format will cause an error.