In this post we take a look at Kubernetes and help you setup a Kubernetes Cluster on your existing OpenStack Cloud using its Orchestration Service Heat. This Kubernetes Cluster should only be used as a Proof of Concept.
The Heat Template used in this Post is available on Github.
What is Kubernetes?
A complete overview of Kubernetes is found on the Kubernetes Repo.
The provisioned Cluster consists of 5 VMs. The first one, discovery, is a dedicated etcd host. This allows easy etcd discovery thanks to a static IP-Address.
A Kubernetes Master host is setup with the Kubernetes components apiserver, scheduler, kube-register, controller-manager as well as proxy. This machine also gets a floating IP assined and acts as a access point to your Kubernetes cluster.
Follow the instructions on the Github repo to get your Kubernetes cluster up and running:
Two examples are provided in the repo: