Getting pending state of pods

Hi @mmumshad ,

i am using virtual box ubuntu 16.04

can you please help me with kubeadm installation as i am getting error

[email protected]:/etc/cni/net.d# kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-66bff467f8-bjjm2 0/1 CrashLoopBackOff 1 9s
kube-system coredns-66bff467f8-txnnx 0/1 CrashLoopBackOff 1 20s
kube-system etcd-kubemaster 1/1 Running 0 34m
kube-system kube-apiserver-kubemaster 1/1 Running 0 34m
kube-system kube-controller-manager-kubemaster 1/1 Running 0 34m
kube-system kube-flannel-ds-amd64-2hxhw 1/1 Running 0 19m
kube-system kube-flannel-ds-amd64-792wk 1/1 Running 0 21m
kube-system kube-flannel-ds-amd64-vpc8x 1/1 Running 0 26m
kube-system kube-proxy-22lsm 1/1 Running 0 21m
kube-system kube-proxy-pw2fp 1/1 Running 0 19m
kube-system kube-proxy-sp26r 1/1 Running 0 34m
kube-system kube-scheduler-kubemaster 1/1 Running 0 34m

i think there is some problem with this command :slight_smile:
kubectl create -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml

NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
kube-node1 Ready 23m v1.18.2 192.168.30.17 Ubuntu 16.04.6 LTS 4.15.0-45-generic docker://17.3.2
kube-node2 Ready 21m v1.18.2 192.168.30.16 Ubuntu 16.04.6 LTS 4.15.0-45-generic docker://17.3.2
kubemaster NotReady master 37m v1.18.2 192.168.30.15 Ubuntu 16.04.6 LTS 4.15.0-45-generic docker://17.3.2
[email protected]:/etc/cni/net.d#

i solved it by following