Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions source/plugins/cloudstack-kubernetes-service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,26 @@ Only running Kubernetes clusters can be scaled for size. When the service fails

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

Auto-Scaling Kubernetes cluster
###############################

CloudStack has been officially added to the list of Kubernetes supported `Cloud Provides
<https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler#deployment>`_
This allows Kubernetes to dynamically scale the size of the cluster based on the capacity requirements.
Details on how the cluster-autoscaler works can be found on the official `Kubernetes cluster autoscaler repository
<https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md>`_

From 4.16, CloudStack supports automated deployment of the cluster autoscaler for Kubernetes Cluster versions 1.15.0 and higher.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we say v1.16 if 1.15 is not supported?

The autoscaler runs as a `cluster-autoscaler` service on the kubernetes cluster consisting of one pod which determines the capacity needs of the cluster.

In order for the autoscaler to communicate with CloudStack, a separate service user **kubeadmin** is created in the same account as the cluster owner.
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
is not altered or have its keys regenerated.

The cluster-autoscaler can still be manually deployed on older versions of CloudStack for supported Kubernetes versions.
The guide to manually deploying the cluster autoscaler can be found `here
<https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/cloudstack/README.md>`_

Upgrading Kubernetes cluster
#############################

Expand Down