Pods scheduled to a node receive an IP address from the node's Pod CIDR range. At this point pods can not communicate with other pods running on different nodes due to missing network routes.
In this lab you will create a route for each worker node that maps the node's Pod CIDR range to the node's internal IP address.
There are other ways to implement the Kubernetes networking model.
Calico installation docs
helm repo add projectcalico https://docs.tigera.io/calico/charts
cat > values.yaml <<EOF
installation:
cni:
type: Calico
calicoNetwork:
ipPools:
- cidr: 10.200.0.0/16
EOF
kubectl create namespace tigera-operator
helm install calico projectcalico/tigera-operator --version v3.27.0 -f values.yaml --namespace tigera-operator
Wait until all pods are up:
kubectl -n tigera-operator get po -w