Skip to content

Commit

Permalink
Update 00installation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishrpandey authored Dec 9, 2020
1 parent fd9301b commit 0311c9c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions 00installation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@


For Amazon Linux 2 systems
Launch 2 amazon linux 2 machines
1 master and 1 slaves
- Launch 2 amazon linux 2 machines
- 1 master and 1 worker

On both master and slave nodes :
On both master and worker nodes :

sudo su
yum install docker -y
Expand Down Expand Up @@ -41,7 +41,9 @@ On both master and slave nodes :
### On master node initialize the cluster

sudo kubeadm init --pod-network-cidr=192.168.0.0/16 --ignore-preflight-errors=NumCPU
# sudo kubeadm init --pod-network-cidr=192.168.0.0/16 #Do this only if proper CPU cores are available

### On master node place Kubeconfig file at proper location

mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
Expand Down

0 comments on commit 0311c9c

Please sign in to comment.