Skip to content

Commit 61552f0

Browse files
committed
Adding docs for CKS cluster autoscaling
1 parent a27b9ec commit 61552f0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

source/plugins/cloudstack-kubernetes-service.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,26 @@ Only running Kubernetes clusters can be scaled for size. When the service fails
272272

273273
Note: Only upscaling is supported while scaling clusters for service offering.
274274

275+
Auto-Scaling Kubernetes cluster
276+
###############################
277+
278+
CloudStack has been officially added to the list of Kubernetes supported `Cloud Provides
279+
<https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler#deployment>`_
280+
This allows Kubernetes to dynamically scale the size of the cluster based on the capacity requirements.
281+
Details on how the cluster-autoscaler works can be found on the official `Kubernetes cluster autoscaler repository
282+
<https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md>`_
283+
284+
From 4.16, CloudStack supports automated deployment of the cluster autoscaler for Kubernetes Cluster versions 1.15.0 and higher.
285+
The autoscaler runs as a `cluster-autoscaler` service on the kubernetes cluster consisting of one pod which determines the capacity needs of the cluster.
286+
287+
In order for the autoscaler to communicate with CloudStack, a separate service user **kubeadmin** is created in the same account as the cluster owner.
288+
The autoscaler uses this user's API keys to get the details of the cluster as well as dynamically scale it. It is imperative that this user
289+
is not altered or have its keys regenerated.
290+
291+
The cluster-autoscaler can still be manually deployed on older versions of CloudStack for supported Kubernetes versions.
292+
The guide to manually deploying the cluster autoscaler can be found `here
293+
<https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/cloudstack/README.md>`_
294+
275295
Upgrading Kubernetes cluster
276296
#############################
277297

0 commit comments

Comments
 (0)