Welcome to the Linux Foundation Forum!

lab 3.5 step 23 gets error validating "cilium-cni.yaml"

I am working through lab 16.2, attempting to get 2 more control planes installed. I am working through the lab 3.5 instructions and keep getting this error when running the kubectl apply to install cilium.

error: error validating "cilium-cni.yaml": error validating data: failed to download openapi: Get "https://k8scp:6443/openapi/v2?timeout=32s": dial tcp: lookup k8scp on 127.0.0.53:53: server misbehaving; if you choose to ignore these errors, turn validation off with --validate=false

I have verified I am not installing as root. I have also tried the helm install method. Same error either way on two different VMs now. What am I missing?

Answers

  • chrispokorni
    chrispokorni Posts: 2,349

    Hi @don.perkins,

    Assuming you already have an operational cluster, with Cilium CNI plugin active, there is no need to re-install it anywhere else. The very first control plane node operates the CNI plugin for the entire cluster. The CNI plugin agents and the Pod network will expand onto the additional control plane nodes as they join the HA.

    Regards,
    -Chris

  • great! thanks. so working from the lab instructions from lab 3.5 (installing the first control plane), for the SECOND and THIRD control planes, can I stop at step 17 after installing kubeadm, kubectl and kubelet?

  • chrispokorni
    chrispokorni Posts: 2,349

    Yes, @don.perkins.

Categories

Upcoming Training