If you are new to Kubernetes, a question will come into your mind that How to Setup and use Kubernetes in your environment.
We are going to explain step by step procedure to setup the Kubernetes using different platforms. This article is meant to get you familiar with the manual process for setting up Kubernetes.
Before proceeding further, you need to know that what all steps it includes to setup Kubernetes.
Here is 5 steps that you need to perform for complete the setup:
You need to setup a Virtual DataCenter (vDC).
Once vDC is setup, Install Kubernetes Components.
Move to Configuring Kubernetes Hosts
Configure Kubernetes Master
Configure Kubernetes Node
Kubernetes Installation Models:
Kubernetes can be setup on various platforms starting from your laptop, to VMs on a cloud provider, to a rack of bare metal servers.
Local-machine Solutions (minikube)
Hosted Solutions (Google Container Engine)
On-Premises turnkey cloud solutions (AWS Provider)
Custom Solutions (Manual Install)
1. Local-machine Solutions
It’s easy enough to install Kubernetes in your home lab or laptop if you just want to “kick the tires” on Kubernetes, use the local Docker-based solutions.
- Kubernetes using Minikube
- Kubernetes using Containers
- Installer-based Kubernetes
- Kubernetes with kubeadm
- Kubernetes with kops
- Kubernetes with kargo
- Ubuntu on LXD
- IBM Cloud Private-CE
2. Hosted Solutions
When you are ready to scale up to more machines and higher availability, a hosted solution is the easiest to create and maintain.
- Google Kubernetes Engine
- Amazon Elastic Container Service for Kubernetes
- Azure Container Service
- OpenShift Dedicated
- OpenShift Online
- IBM Cloud Container Service
- Pivotal Container Service
- Oracle Container Engine for Kubernetes
3. On-Premises turnkey cloud solutions
Turnkey cloud solutions require only a few commands to create and cover a wide range of cloud providers. On-Premises turnkey cloud solutions have the simplicity of the turnkey cloud solution combined with the security of your own private network.
- IBM Cloud Private
- SUSE CaaS Platform
- SUSE Cloud Application Platform
- Rancher 2.0
- Kontena Pharos
If you already have a way to configure hosting resources, use kubeadm to easily bring up a cluster with a single command per machine.
4. Custom Solutions
Custom solutions vary from step-by-step instructions to general advice for setting up a Kubernetes cluster from scratch. These solutions are combinations of cloud providers and operating systems not covered by the above solutions.
- CoreOS on AWS or GCE
- Kubernetes on Ubuntu
- Rancher Kubernetes Engine (RKE)
- Vagrant (uses CoreOS and flannel)
- CloudStack (uses Ansible, CoreOS and flannel)
- VMware vSphere
- VMware vSphere, OpenStack, or Bare Metal (uses Juju, Ubuntu and flannel)
- VMware (uses CoreOS and flannel)
- Fedora (Multi Node) (uses Fedora and flannel)
- Fedora (Single Node)
- Fedora (Multi Node)
- Kubernetes on Ubuntu
That’s all from this topic. In next articles we will see how to use and configure Kubernetes using these installation models.
If you want to add something in this article, please do share in comment box. If you find any mistake, please do correct it.
If you found it useful, please do share with others.
Related Articles: –