flannel: doc fix and check for missing subnet.env fields
- Document that flannel outputs FLANNEL_NETWORK b/c we use it - Check and error out if expecited fields are missing in subnetEnv file Fixes #72
This commit is contained in:
@ -4,7 +4,8 @@
|
|||||||
This plugin is designed to work in conjunction with [flannel](https://github.com/coreos/flannel), a network fabric for containers.
|
This plugin is designed to work in conjunction with [flannel](https://github.com/coreos/flannel), a network fabric for containers.
|
||||||
When flannel daemon is started, it outputs a `/run/flannel/subnet.env` file that looks like this:
|
When flannel daemon is started, it outputs a `/run/flannel/subnet.env` file that looks like this:
|
||||||
```
|
```
|
||||||
FLANNEL_SUBNET=10.1.17.0/24
|
FLANNEL_NETWORK=10.1.0.0/16
|
||||||
|
FLANNEL_SUBNET=10.1.17.1/24
|
||||||
FLANNEL_MTU=1472
|
FLANNEL_MTU=1472
|
||||||
FLANNEL_IPMASQ=true
|
FLANNEL_IPMASQ=true
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user