Welcome to the Linux Foundation Forum!

Getting an error while applying network plugin configuration to cluster.

Hi There,

I'm new to class & working on installation lab. Getting the below error while trying to copy calico.yaml file from root to non-user directory.
error: error loading config file "/home/student/.kube/config": no kind "ConfigMap" is registered for version "v1" in scheme "k8s.io/client-go/tools/clientcmd/api/latest/latest.go:50".
Any help would be appreciated!

Thank You,
Anu

Best Answers

  • chrispokorni
    chrispokorni Posts: 2,346
    Answer ✓

    Hi @yanupama,

    The cpcommand in step 16 of lab 3.1 is very basic, intending to copy the calico.yaml file from the /root directory to the student's home directory. It seems you may not be issuing the proper command. Please double-check the command and ensure that you copy the entire command from sudo all the way to the . which is also part of the command.

    Regards,
    -Chris

  • yanupama
    yanupama Posts: 3
    Answer ✓

    Hi Chris,

    Thank you so much for your help. yes, my command was missing the . I was able to correct & finish the installation on master.

    Thank You

Answers

Categories

Upcoming Training