K8 Setup using KUBEADM On AWS cloud Start with Spinning Ec2 instance one t2.medium and two t3.micro for worker nodes
Connect With your terminal use putty / mobaxterm / gitbash
run sh master.sh
RUN THESE commands on Master
kubeadm init
mkdir -p \(HOME/.kube sudo cp -i /etc/kubernetes/admin.conf \)HOME/.kube/config sudo chown \((id -u):\)(id -g) $HOME/.kube/config
kubectl get nodes
kubectl get pods -o wide -n kube-system
kubectl apply -f https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s.yaml
In node Join Using the kubeadm join command
Now if you run kubectl get po , it will list all the clusters
Running a sample pod
listing all namespaces
