Can i install Kubernates cluster on single machine?

5/30/2020

i have only one instance machine which is centos-7 minimal installation. can i install kubernates cluster as a master and node same machine(without minikube and micro8s). is there any possible way?

Thanks.

-- Thanaseelan A
centos
docker
kubernetes
minikube
openshift

1 Answer

5/30/2020

You can use kind. Kind is a tool for running local Kubernetes clusters using Docker container. So on the same machine docker containers are created for each Kubernetes node.

Also you can install a single node Kubernets cluster using kubeadm and the master node can be marked as schedule-able so that pods can be scheduled on the master node.

-- Arghya Sadhu
Source: StackOverflow