|
|
||
|---|---|---|
| .. | ||
| scalewaygo | ||
| OWNERS | ||
| README.md | ||
| scaleway_cloud_provider.go | ||
| scaleway_node_group.go | ||
| scaleway_node_group_test.go | ||
README.md
Cluster Autoscaler for Scaleway
The Scaleway Cloud Provider implementation scales nodes on different pools
attached to a Kapsule cluster. It can be configured from Scaleway Kapsule API.
The cluster pools need to have the option Autoscaling set to true to be managed by the autoscaler.
Configuration
Cluster Autoscaler can be configured with 2 options
Config file
a config file can be passed with the --cloud-config flag.
here is the corresponding JSON schema:
cluster_id: Kapsule Cluster Idsecret_key: Secret Key used to manage associated Kapsule resourcesregion: Region where the control-plane is runnningapi_url: URL to contact Scaleway, defaults toapi.scaleway.com
Env variables
The values expected by the autoscaler are the same as above
CLUSTER_IDSCW_SECRET_KEYSCW_REGIONSCW_API_URL
Notes
k8s nodes are identified through node.Spec.ProviderId, the scaleway node name or id MUST NOT be used.