provisioning pod networking

install cni plugins on each worker node

# get cni plugin
> wget \

# extract plugin
> sudo tar -xzvf cni-plugins-amd64-v0.7.5.tgz \
  --directory /opt/cni/bin/

deploy weave network

on master

> kubectl apply -f \
  "$(kubectl version | base64 | tr -d '\n')"
  serviceaccount/weave-net created created created created created
  daemonset.apps/weave-net created

weave uses pod cidr by default


> kubectl get pods -n kube-system
  NAME              READY   STATUS    RESTARTS   AGE
  weave-net-9spr9   2/2     Running   1          67m
  weave-net-tztkz   2/2     Running   1          67m

output should be “READY 2/2” - something is wrong - maybe the missing scheduler

— copyleft —

all commands shown on this page are from mmumshad’s fork of “kubernetes-the-hard-way” by kelseyhightower on github