Hi All, How to install network plugin, weave. as per the solution on udemy it is . . .

dheeraj yadav:
Hi All, How to install network plugin, weave. as per the solution on udemy it is asking to run some commands but those commands are not there on the latest documents

Deekshith Hadil:
https://www.weave.works/docs/net/latest/kubernetes/kube-addon/

George Lazaroff:
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/#stacked-control-plane-and-etcd-nodes

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

dheeraj yadav:
Thank you, @George Lazaroff and @Deekshith Hadil

dheeraj yadav:
What is the importance of this step “Sysctl net.bridge.bridge-nf-call-iptables=1” do we have to run this for any network plugin or just weave? In the document of v1.17 which is referred on udemy solution, weave NP is installed by running Sysctl net.bridge.bridge-nf-call-iptables=1 command and then

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

but in v1.19 documents, those steps are not here. Am I missing something?

Deekshith Hadil:
These are required to run on all the nodes. The kernel should be allowed to forward packets. Look at Network section in the course. It is clearly explained how pods talks to each other . How services work.