Hello,
I am getting error when trying to run “kubeadm init” & “docker run” command. It can connect to internet by using proxy server. “yum install” works fine. Following error:
# docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:52688->[::1]:53: read: connection refused.
See 'docker run --help'.
# kubeadm init --pod-network-cidr=10.244.0.0/16
I0211 16:25:01.176120 102262 version.go:94] could not fetch a Kubernetes version from the internet: unable to get URL "https://dl.k8s.io/release/stable-1.txt": Get https://dl.k8s.io/release/stable-1.txt: x509: certificate signed by unknown authority
I0211 16:25:01.176204 102262 version.go:95] falling back to the local client version: v1.13.3
[init] Using Kubernetes version: v1.13.3
[preflight] Running pre-flight checks