Kubernetes version: 1.19.2
Cloud being used: private
Installation method: kubeadm init
Host OS: ubuntu 18.04
CNI and version: Calico: 0.3.1
CRI and version: Docker: 19.03.13
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.
I am currently trying to setup a k8s cluster. But I run into trouble, my master node is connected to the internet and accessible by public. The other working nodes, currently 3 more, are connected by a separate network interface, which is private.
Everything seems to work fine, except that my nodes persist in the mode “NotReady”.
Checking the proxy pod on the added worker node with the following command
kubectl describe pod kube-proxy-828vb -n kube-system
leads to the subsquent errors:
Type Reason Age From Message
Normal Scheduled 28m default-scheduler Successfully assigned kube-system/kube-proxy-828vb to k8snode1
Warning FailedCreatePodSandBox 6m56s (x80 over 31m) kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed pulling image “k8s.gcr.io/pause:3.2”: Error response from daemon: Get https://k8s.gcr.io/v2/: dial tcp: lookup k8s.gcr.io: Temporary failure in name resolution
I am pretty new to kubernetes. Any help would be appreciated.