The rest of succeeding sections is focused on on-premise implementation of Kubernetes.
If you prefer to use cloud platforms such as AWS to run Kubernetes, you may jump to the Kubernetes in the Cloud section.
There are multiple ways to setup a kubernetes cluster.
There are available tools to automate bootstrapping clusters on on-premise and public cloud platforms.
For production-grade cluster:
For development-grade cluster (testing):
k3s is a lightweight version of kubernetes that can be installed using one binary.
Here are some ways to run Kubernetes on your local machine.
Before we start running Kubernetes, we must review some considerations.
Where to install?
Cloud Kubernetes is a cloud-native tool and we could leverage the available services from cloud platforms.
On-prem
Which one should we choose?
We’ve decided where to run Kubernetes, what’s next?
Checkout these resources to learn more about installation considerations:
After installing the Kubernetes packages, the next steps are:
Before we can provision a cluster, we must ensure that the control plane and data plane is up and running, which is known as bootstraping the cluster.
This can be done manually but there’s a risk for misconfiguration since we would need to run independent components separately.
We’ll use kubeadm to create our cluster. The phases include:
kubeadm init
.Note that the process defined above can be customized by specifying parameters.