Installing Kubernetes on Bare Metal Server or Virtual machine via kubeadm
Kubernetes is docker orchestration tool developed by google. For Installing kubernetes we required 4 packages to be installed on machine. Install Docker for Ubuntu: $ apt-get update $ apt-get install -y docker.io Install Docker for CentOS/RHEL: $ yum install -y docker $ systemctl enable docker && systemctl start docker Install kubeadm, kubelet and kubectl. kubeadm: The command to bootstrap the cluster. kubelet: The component that runs on all of the machines in your cluster and does things like starting pods and containers. kubectl: The command line util to talk to your cluster. Install kubelet kubeadm kubectl kubernetes-cni for Ubuntu: $ apt-get update && apt-get install -y apt-transport-https $ curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - $ cat <<EOF >/etc/apt/sources.list.d/kubernetes.list deb http://apt.kubernetes.io/ kubernetes-xenial main EOF $ apt-get update ...