Flannel介绍
最后更新于
wget http://<官网>/flannel/flannel-0.2.0-10.el7.x86_64.rpm
yum localinstall -y flannel-0.2.0-10.el7.x86_64.rpm# Flanneld configuration options
# etcd url location. Point this to the server where etcd runs
FLANNEL_ETCD="http://127.0.0.1:4001"
# etcd config key. This is the configuration key that flannel queries
# For address range assignment
FLANNEL_ETCD_KEY="/xxx/flannel/product/network"
# Any additional options that you want to pass
FLANNEL_OPTIONS=" -iface=eth0"etcdctl set /xxx/flannel/network/config '{
"Network": "10.0.0.0/16",
"Backend": {
"Type": "vxlan"
}
}'