CentOS7 : Error pulling image configuration while bootstrapping kubernetes cluster with kubeadm

12/26/2018

I was trying to setup a Kubernetes cluster with kubeadm.

I was following the official documentation :

https://kubernetes.io/docs/setup/independent/install-kubeadm/

After installing kubeadm, I referred here :

https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/

I tried initializing my master with this :

kubeadm init --pod-network-cidr=10.244.0.0/16

I get the following error:

error pulling image configuration: Get https://storage.googleapis.com/us.artifacts.google-containers.appspot.com/containers/images/sha256:3cab8e1b9802cbe23a2703c2750ac4baa90b049b65e2a9e0a83e9e2c29f0724f: remote error: tls: handshake failure
, error: exit status 1
        [ERROR ImagePull]: failed to pull image k8s.gcr.io/coredns:1.2.6: output: 1.2.6: Pulling from coredns

This is quite strange because I tried debugging this by :

curl -v https://storage.googleapis.com/kubernetes-release/release/stable-1.7.txt

and I got an HTTP 200 OK as the response for the cURL command.

I also did :

systemctl stop firewalld

But that doesn't solve the issue for me.

Please help.

-- pep8
kubeadm
kubernetes

0 Answers