Setting up ElasticKube on CentOS

ElasticKube is ‘Enterprise container management for Kubernetes’ an option to various other open-source software projects like Nulecule, LocalKube, Ansible, etc. but only supports Kubernetes.


You need a working Kubernetes cluster to setup ElasticKube on it. Easiest way to create a single node Kubernetes cluster, follow the steps.

$ git clone
$ cd adb-atomic-developer-bundle/components/centos/centos-k8s-singlenode-setup/
$ vagrant up
$ vagrant ssh

Now you have a Vagrant Box with running Kubernetes cluster on it.                                             m7S2-kubernetes

To setup ElasticKube follow following instructions. Disable SELinux first, because without this ElasticKube won’t run, this is a security risk but for testing purposes you can disable it.

$ sudo setenforce 0

Create namespace named “kube-system”

$ cat namespace.yaml
kind: "Namespace"
apiVersion: "v1"
  name: "kube-system"
    name: "kube-system"

Install ElasticKube

$ curl -s | bash

When successfully installed, note the IP address at the end of the above command, which says “Please complete the installation here:“.

Find the IP address of this machine

$ ip a sh eth0

Open new terminal and create a SSH port-forwarding this is done so that you can access the ElasticKube running inside the Vagrant Box.

$ ssh -L 'some-port':'IP-address-from-output':80 vagrant@'IP-address-of-VM'
password: vagrant


$ ssh -L 9898: vagrant@

Now open browser and goto localhost:9898 and you are good to go.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s