4

Anyone knows if there is a solution to provision (non-managed) autoscaling Kubernetes clusters in the cloud?

I am looking for a generic solution that will work in any public cloud and in private data centers.

After quite a bit of research, the known available options do not answer the requirement above -

  • kops which is AWS specific is using own AMI images.

  • kubespray (aka kargo) has no notion of autoscaling, executes Ansible on a specific inventory of hosts.

  • kubeadm expects a known list of hosts and does not take care of OS setup like docker, kubelet, etc...

  • kubernetes autoscaler controls existing auto scaling groups, does not prepare the images used by those groups.

Is there some generic solution to make an autoscaling group deploy Kubernetes cluster on itself? Possibly a way to build cloud images (like AMI in AWS) using Packer for this.

Looking for a method that is not specific to one public cloud and allows to use an elastic environment that scales automatically based on prepared images.

030
  • 13,383
  • 17
  • 76
  • 178
Evgeny Zislis
  • 9,023
  • 5
  • 39
  • 72

1 Answers1

1

Recently Kubernetes started preview work on https://cluster-api.sigs.k8s.io which is meant to be the standard way to solve the way how High Availability clusters are deployed.

The kubeadm tool has also been updated with features to deploy multiple masters since this question was first asked, which help tremendously. With the exception of deploying cloud-specific configuration, the documentation for kubeadm configuration YAML file brings you quite the way towards having a properly deployed cluster.

docs for kubeadm: https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm/

Evgeny Zislis
  • 9,023
  • 5
  • 39
  • 72