hoverkraft-tech/OVH MKS Scaling
Scale up or down your OVH MKS nodepool.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| endpoint | The OVH endpoint to use. See the [available endpoints](https://github.com/ovh/node-ovh/blob/master/lib/endpoints.js) list. | no | — |
| application-key | The OVH application key | no | — |
| application-secret | The OVH application secret | no | — |
| consumer-key | The OVH consumer key | no | — |
| client-id | The OAuth2 client ID | no | — |
| client-secret | The OAuth2 client secret | no | — |
| project-id | The project ID of the OVH MKS project | yes | — |
| cluster-id | The ID of the OVH MKS cluster | yes | — |
| nodepool-id | The ID of the OVH MKS nodepool | yes | — |
| autoscale | Whether to enable autoscaling for the nodepool | no | true |
| number-of-nodes | The desired number of nodes to scale to. This value sets the `desiredNodes` property on the OVH API. It is also used as the default for `min-nodes` and `max-nodes` when they are not provided. The effective `desiredNodes` sent to the API is clamped between `min-nodes` and `max-nodes` (i.e. `max(number-of-nodes, min-nodes)` then `min(result, max-nodes)`). | yes | 1 |
| min-nodes | The minimum number of nodes for autoscaling (sets `minNodes` on the OVH API). Defaults to `number-of-nodes` if not provided. When autoscaling is enabled, the cluster will never scale below this value. | no | — |
| max-nodes | The maximum number of nodes for autoscaling (sets `maxNodes` on the OVH API). Defaults to `number-of-nodes` if not provided. When autoscaling is enabled, the cluster will never scale above this value. | no | — |
Outputs
| name | description |
|---|---|
| response | The response of the server |