Comments on Setup a Kubernetes Cluster on AWS EC2 Instance with Ubuntu using kubeadm
In this article, we will see how to set up a Kubernetes cluster with 2 Worker Nodes and 1 Master Node on Ubuntu LTS Servers. We will use the "kubeadm" tool to set up the cluster.
6 Comment(s)
Comments
I was wondering if you have to pay, have vmware installed or several machines in order to test kubernetes, thank you very thoughtful content.
You can install VirtualBox on your machine and create VMs to test the cluster.
Sercurity group allow port 6443
excellent material so Please provide a serial extention for this content
Hi there...I get sudo: kubeadm: command not found
when I execute the ff step:
On Master:
Initialize the cluster (Execute the following command only on the Master node):sudo kubeadm init --pod-network-cidr=10.244.0.0/16ALSO a bit lowly question, pardon, i'm just starting with this:Is the 10.244.0.0/16 network need to be followed? My setup Master and the nodes are on separate VPC IP4CIDR of 10.1.0.0/16
Master - 10.1.14.40node1 - 10.1.14.41node2 - 10.1.14.42
Do I need to modify the command to:$ sudo kubeadm init --pod-network-cidr=10.1.0.0/16 (?)Kindly clarify, many many thanks..Chris
sudo apt-get install -y docker-ce=18.06.1~ce~3-0~ubuntu kubelet=1.15.7-00 kubeadm=1.15.7-00 kubectl=1.15.7-005.7-00 kubeadm=1.15.7-00 kubectl=1.15.7-00 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '18.06.1~ce~3-0~ubuntu' for 'docker-ce' was not found ubuntu@ip-172-31-5-226:~$ sudo apt-get install -y docker-ce=5:20.10.22~ce~3-0~ubuntu kubelet=1.15.7-00 kubeadm=1.15.7-00 kubectl=1.15.7-00 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '5:20.10.22~ce~3-0~ubuntu' for 'docker-ce' was not found ubuntu@ip-172-31-5-226:~$ sudo apt-get install -y docker-ce=5:20.10.22~3-0~ubuntu kubelet=1.15.7-00 kubeadm=1.15.7-00 kubectl=1.15.7-00 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '5:20.10.22~3-0~ubuntu' for 'docker-ce' was not found