Run flannel on Raspberry Pi

  • The udp backend from Flannel version 0.5.0 will work on Raspberry pi.
  • The udp backend from Flannel version 0.10.0 will NOT work on Raspberry pi.
  • The vxlan backend from Flannel version 0.10.0 WILL work on Raspberry pi.
##
## Set the flannel network configuration in etcd
##
/opt/etcd/etcdctl \
  --endpoints=http://0.0.0.0:2379 \
  set /coreos.com/network/config \
  '{"Network": "10.200.0.0/16"}'

##
## Verify the flannel network configuration in etcd
##
/opt/etcd/etcdctl \
  --endpoints=http://0.0.0.0:2379 \
  get /coreos.com/network/config

##
## Start the flannel daemon interactively to test
##
/opt/flannel/flanneld \
  --etcd-endpoints=http://0.0.0.0:2379
categories: flannel | etcd | raspberrypi |