Actions90
- Namespaces Actions
- Pods Actions
- Services Actions
- Deployments Actions
- ReplicaSets Actions
- StatefulSets Actions
- DaemonSets Actions
- Jobs Actions
- CronJobs Actions
Jobs → Scale
AI-generatedOverview
This node interacts with Kubernetes to perform various operations on Kubernetes resources. Specifically, the 'Scale' operation allows users to adjust the number of replicas for a specified Kubernetes resource, such as a Job. This is useful for scaling workloads up or down dynamically based on demand or operational requirements.
Use Case Examples
- Scaling a Kubernetes Job to increase or decrease the number of active pods to handle workload changes.
- Adjusting the replica count of a deployment or stateful set to manage resource utilization.
Properties
| Name | Meaning |
|---|---|
| Namespace | The Kubernetes namespace where the target resource resides. Defaults to 'default' if not specified. |
| Resource Name | The name of the specific Kubernetes resource (e.g., Job) to scale. |
| Replicas | The desired number of replicas to scale the resource to. |
Output
JSON
json- The JSON response from the Kubernetes API after scaling the resource, typically containing the updated resource status.
Dependencies
- Requires Kubernetes API credentials to authenticate and interact with the Kubernetes cluster.
Troubleshooting
- Ensure that the 'Resource Name' is provided; otherwise, the node will throw an error indicating the resource name is required for the scale operation.
- Verify that the Kubernetes credentials are correctly configured and valid, as missing or invalid credentials will cause the node to fail.
- The 'Replicas' property must be a valid number; invalid values may cause the scaling operation to fail.