autoscaler/cluster-autoscaler/cloudprovider/ionoscloud
Maciek Pytel 08d18a7bd0 Define interfaces for per NodeGroup config.
This is the first step of implementing
https://github.com/kubernetes/autoscaler/issues/3583#issuecomment-743215343.
New method was added to cloudprovider interface. All existing providers
were updated with a no-op stub implementation that will result in no
behavior change.
The config values specified per NodeGroup are not yet applied.
2021-01-25 11:00:16 +01:00
..
examples Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
ionos-cloud-sdk-go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
.gitignore Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
OWNERS Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
README.md Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
cache.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
cache_test.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
client.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
client_test.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
ionoscloud_cloud_provider.go Define interfaces for per NodeGroup config. 2021-01-25 11:00:16 +01:00
ionoscloud_cloud_provider_test.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
ionoscloud_manager.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
ionoscloud_manager_test.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
mock_api_client_test.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
mock_ionos_cloud_manager_test.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
utils.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00
utils_test.go Add Ionos Cloud cloudprovider 2020-11-27 16:56:23 +01:00

README.md

Cluster Autoscaler on Ionos Cloud Managed Kubernetes

The cluster autoscaler for the Ionos Cloud scales worker nodes within Managed Kubernetes cluster node pools. It can be deployed as Deployment in your cluster.

Deployment

Managed

Managed autoscaling can be enabled or disabled via Kubernetes Manager in the DCD or API. In this case a Deployment is not needed, since it will be deployed in the managed Kubernetes controlplane.

In-cluster

Build and push a docker image in the cluster-autoscaler directory:

make build-in-docker BUILD_TAGS=ionoscloud
make make-image BUILD_TAGS=ionoscloud TAG='<tag>' REGISTRY='<registry>'
make push-image BUILD_TAGS=ionoscloud TAG='<tag>' REGISTRY='<registry>'

If you don't have a token, generate one:

curl -u '<username>' -p '<password>' https://api.ionos.com/auth/v1/tokens/generate

Edit cluster-autoscaler-standard.yaml and deploy it:

kubectl apply -f examples/cluster-autoscaler-standard.yaml