kubernetes HA joing work node error - cluster CA found in cluster-info configmap is invalid: public key

4/6/2018

I trying to setup the 3 node Multi Master kubernetes v1.10.0 cluster setup using Centos 7.

following kubeadm document steps. I was able to setup the 3 master all of them in Ready status.

https://kubernetes.io/docs/setup/independent/high-availability/#kubeadm-init-master0

while joining work node. I am getting certificate issue, kubeadm join command giving this error message.

kubeadm join <masterip>:6443 --token v5ylg8.jgqn122kewvobaoo --discovery-token-ca-cert-hash sha256:b01832713190461cc96ca02e5c2b1e578473c6712b0965d2383aa9de9b41d4b6 --ignore-preflight-errors=cri
[preflight] Running pre-flight checks.
        [WARNING SystemVerification]: docker version is greater than the most recently validated version. Docker version: 17.09.1-ce. Max validated version: 17.03
        [WARNING CRI]: unable to check if the container runtime at "/var/run/dockershim.sock" is running: exit status 1
[discovery] Trying to connect to API Server "<masterip>:6443"
[discovery] Created cluster-info discovery client, requesting info from "https://<masterip>:6443"
[discovery] Failed to connect to API Server "<masterip>:6443": cluster CA found in cluster-info configmap is invalid: public key sha256:87d28cf32666a75cb7ed6502ab5c726de29438754c48507687648e84ad9b6693 not pinned
[discovery] Trying to connect to API Server "<masterip>:6443"
[discovery] Created cluster-info discovery client, requesting info from "https://<masterip>:6443"
[discovery] Failed to connect to API Server "<masterip>:6443": cluster CA found in cluster-info configmap is invalid: public key sha256:87d28cf32666a75cb7ed6502ab5c726de29438754c48507687648e84ad9b6693 not pinned

How to find out root cause for this certificate error message?

Thanks SR

-- sfgroups
kubeadm
kubernetes

0 Answers