I am following the below blog to create a kubernetes cluster (on AWS EC2).
https://www.edureka.co/blog/install-kubernetes-on-ubuntu
I completed executing the commands till master config. But dashboard and calico network is stuck on pending state. Googled and found many resources which are not useful in my case, for example: some faced issues because of scheduler unavailability. Here, I have that. And I am very much sure that I have executed all those steps one by one, without fail. Here's the result:
kubectl get pods -o wide --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
kube-system calico-kube-controllers-694687c474-r55p7 0/1 Pending 0 18m <none> <none> <none> <none>
kube-system coredns-86c58d9df4-25fxt 0/1 Pending 0 33m <none> <none> <none> <none>
kube-system coredns-86c58d9df4-w6mfx 0/1 Pending 0 33m <none> <none> <none> <none>
kube-system etcd-kmaster 1/1 Running 0 37m 172.31.40.185 kmaster <none> <none>
kube-system kube-apiserver-kmaster 1/1 Running 0 37m 172.31.40.185 kmaster <none> <none>
kube-system kube-controller-manager-kmaster 1/1 Running 0 37m 172.31.40.185 kmaster <none> <none>
kube-system kube-proxy-l4wr6 1/1 Running 0 38m 172.31.40.185 kmaster <none> <none>
kube-system kube-scheduler-kmaster 1/1 Running 0 37m 172.31.40.185 kmaster <none> <none>
kube-system kubernetes-dashboard-57df4db6b-s7pzt 0/1 Pending 0 16m <none> <none> <none> <none>
As you can see, its been more than 15 minutes its in pending state for calico and kube dashboard. Any other solutions/ideas would really be appreciated.