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 Pods. For the 'Scale' operation on Pods, it allows users to scale the number of pod replicas within a specified namespace. This is useful for managing application load and resource allocation dynamically. For example, scaling up pods during high traffic or scaling down during low usage periods.
Use Case Examples
- Scaling a deployment's pods in the 'default' namespace to handle increased traffic.
- Reducing the number of pods in a namespace to save resources during off-peak hours.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the pod resource resides. Defaults to 'default' if not specified. |
| Resource Name | The name of the specific pod resource to scale within the given namespace. |
Output
JSON
status- The status or result of the scale operation on the pod resource.
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 'Namespace' and 'Resource Name' must be correctly specified to target the intended pod resource; incorrect values may lead to resource not found errors.
- The node expects the 'command' parameter as a JSON array for certain operations; providing invalid JSON or incorrect types will cause errors.