Saranya Jena:
Hi everyone,I was doing the kubeconfig practice test, in ques 13 where we need to change the default kubeconfig, I followed the hint and did cp my-kube-config ~/.kube/config
the config is getting updated but the check fails and says incomplete
. Can anyone please help me with this?
unnivkn:
$ mv .kube/config .kube/config.bak $ cp /root/my-kube-config .kube/config –> hope you performed similar commands.
Saranya Jena:
Yes tried the above steps too, was still showing the same message
Saranya Jena:
Opened a new window and restarted the lab, it worked, thankyou! Can you please explain why the first step is needed: mv .kube/config .kube/config.bak
?
unnivkn:
its just a safer side backup of an existing config file