mirror of https://github.com/k3s-io/k3s
Use vxlan as default backend
parent
14bebe343c
commit
eae12de67c
|
@ -38,7 +38,7 @@ function config_etcd {
|
|||
exit 2
|
||||
fi
|
||||
|
||||
/opt/bin/etcdctl mk /coreos.com/network/config "{\"Network\":\"${FLANNEL_NET}\"}"
|
||||
/opt/bin/etcdctl mk /coreos.com/network/config "{\"Network\":\"${FLANNEL_NET}\", \"Backend\": {\"Type\": \"vxlan\"}}"
|
||||
attempt=$((attempt+1))
|
||||
sleep 3
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue