Hi Guyz, How do I install a network plugin such as weave if I cannot acces the w . . .

Alexandra:
Hi Guyz, How do I install a network plugin such as weave if I cannot acces the weave official docs? :sweat_smile:

Mohamed Ayman:
Hello @Alexandra
in the exam, the link will be a part of your question

Thanks,
KodeKloud Support

Sparsh Gupta:
Save this as bookmark. This has one-liner weave config, if ever needed.

https://v1-19.docs.kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/

Alexandra:
Thanks a lot! :blush:

Krishnaprasad:
Is it this one ?

kubectl apply -f "<https://cloud.weave.works/k8s/net?k8s-version=$(kubectl> version | base64 | tr -d '\n')"

IK:
Yes! And remember to append &amp;env.IPALLOC_RANGE=&lt;_ip_subnet_of_pod_network_&gt; if you ever have issues with default IP range weave assigns to your pod network overlapping with your node (server) IP range. In such case you want to tell weave to assign a different IP range.

So, say for instance I want weave to assign 10.50.0.0/12 to my pod network, I will do the following:

kubectl apply -f "<https://cloud.weave.works/k8s/net?k8s-version=$(kubectl> version | base64 | tr -d '\n')&amp;env.IPALLOC_RANGE=10.50.0.0/12"