Kubernetes - Bet the Ranch(er) on it!

rancher-logo-horiz.png

As part of our ongoing mission to help Enterprise Teams on their digital transformation journey, we’re working more and more with Kubernetes. However, deploying and managing clusters can be hard work.

Thats where Rancher ( https://rancher.com ) comes in!

Rancher simplifies and centralises the management of Kubernetes clusters for Enterprises. On top of this it adds key Enterprise features such as granular RBAC, enhanced security configuration and built in monitoring.

Check out our 5 simple steps below to get a Rancher server up and running…

Rancher Up & Running - In 5 Easy Steps!

Step 1

Fire up a linux machine and get Docker installed;

We used a Redhat Enterprise Linux 7 machine, but CentOS or Ubuntu does just as well.

The command to install on Redhat/CentOS is;

$ sudo yum install docker -y

The command to install on Ubuntu is;

$ sudo apt-get install docker -y

Step 2

Add your user to the docker group (or use sudo/root in the next step)

$ sudo groupadd docker
$ sudo usermod -aG docker $USER

Step 3

Ensure the docker daemon is started;

$ sudo service docker start

or

$ sudo systemctl start docker

Step 4

Pull the latest Rancher image onto your machine; ( be sure to add sudo if not using root or a docker group member)

$ docker pull rancher/rancher:latest

Step 5

Run the Rancher Image! ( again be sure to add sudo if not using root or a docker group member!)

$ docker run -d --restart=unless-stopped \                      -p 80:80 -p 443:443 --privileged rancher/rancher:latest

This command runs the image in daemon mode, will restart if the machine or docker gets restarted and exposes port 80 and 443 for access to the Rancher UI

You should now be able to see Rancher by visiting https://ip-of-your-server

Want to learn more about Rancher?

TRY OUR RANCHER & KUBERNETES TRAINING!

Evolvere Technologies are a proud partner of Rancher Labs and are pleased to launch our brand new Rancher & Kubernetes Training Course!

To provide Enterprises and their teams with the best possible start on their journey, Evolvere are offering a 2 day course covering key Kubernetes concepts, Rancher installation, management and troubleshooting and more.

For more information check here; https://www.evolvere-tech.co.uk/kubernetes-rancher-training/kubernetes-and-rancher-training

Or email us -> training@evolvere-tech.co.uk