Step: 1 Ø Login to AWS and launch 3 EC2 Instances (Master and 2 Nodes) Ø EC2 might be any Ubuntu/fedora/Rhel OS Step: 2 Ø Add kube-master in /etc/hostname file and in Master instance Ø Add kube-node1 in /etc/hostname file and in Node-1 instance Ø Add kube-node2 in /etc/hostname file and in Node-2 instance Ø Add the below 3 lines in all the three servers (Master, Node1, Node2) in /etc/hosts file <master-Pvt-Ip-Addr> kube-master <master-Pvt-Ip-Addr> kube-node1
<master-Pvt-Ip-Addr> kube-node2 Step: 3 Ø Install Docker $ sudo su $ apt-get update $ apt-get install -y docker.io Ø Install HTTPS support (if necessary) $ apt-get update $ apt-get install -y apt-transport-https Ø Install curl command $ apt-get install -y curl Ø Retrieve the key for the Kubernetes repo and add it to...
Comments
Post a Comment