Masakela Layrock:
When installing a CNI do you have to remember the command to do so? In the lab we are asked to install weave, however the kubernetes documentation navigates you to a weave site which I am not sure is acceptable while taking the exam
Fernando Jimenez:
Hello @Masakela Layrock
The command is available in the approved site
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/#steps-for-the-first-control-plane-node
Fernando Jimenez:
kubectl apply -f "<https://cloud.weave.works/k8s/net?k8s-version=$(kubectl> version | base64 | tr -d '\n')"
Masakela Layrock:
@Fernando Jimenez I was looking a the solution for the lab and the documentation seems to have changed. Do you happen to know where I would see the command for other CNIs (i.e. Calico)?
Fernando Jimenez:
The only one I am aware as spell out reference in the official kubernetes documentation is weave. All others link out to external sites. Maybe is a clue?
SaidBen:
Good question, if I remember correctly, the command for all other cnis are available in an archived kubernetes official doc, I am not sure if archived documentation are allowed during the exam tho.
PR:
Then how to install cni is it in docs or does it(in exam) provide any url to install?
SaidBen:
It’s on k8s docs, the page of ‘set up highly available cluster’. There is the command to install weave
PR:
I know that command but other than weave is there anything to install like cni or calico