6 Exploring The Options
6 Exploring The Options
In this lesson, we'll look into different ways to set up a Kubernetes cluster and gure out how to set it up locally.
We could, for example, create a few nodes with Vagrant (a tool for
building and managing virtual machine environments in a single
workflow) and execute quite a few shell commands that would convert
them into a Kubernetes cluster.
We could go even further and create a VirtualBox image that would have
all the required software pre-installed and use it to create Vagrant VMs.
There are many other things that we could do, but we won’t.
At this point, the idea is not to teach you all the intricacies of setting up a
Kubernetes cluster. Instead, we want to get you up to speed as fast as possible
and let you experience Kubernetes without sidelining that experience with
installation details.
If we were using Docker Swarm, we’d have Docker for Mac or Windows (or
run it natively on Linux) and execute a single docker swarm init command.
That’s all that’s needed to create a local Docker Swarm cluster. Can we
accomplish the same simplicity with Kubernetes?
Later on, we’ll move into a more production-like environment and explore the
features that cannot be demonstrated in Minikube.