add: parameters

master
kvaps 2017-12-22 14:58:35 +01:00 committed by GitHub
parent 9dd2fce120
commit 98a3bf4eef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -16,3 +16,14 @@ In addition bridget can automatically configure VLAN and bridge interfaces for t
![](images/scheme.svg)
bridget automatically retrieves IP-addresses from your pod-network, and configures cni for use it. Collision check is carried out each new run by arping tool.
## Parameters
- **BRIDGE** *(example: `cbr0`)* - Bridge name. Mandatory option.
- **VLAN** *(example: `100`)* - VLAN id. If set, the new vlan-interface under IFACE will be created, then added to BRIDGE.
- **IFACE** *(example: `eth0`)* - Physical interface for connect to bridge. Mandatory if VLAN is set, but can be used singly.
- **MTU** *(default: `1500`)* - MTU value for cni config
- **CHECK_SLAVES** *(example: `1`)* - Make bridget for configure slave interfaces, if bridge already exists.
- **POD_NETWORK** *(default: `10.244.0.0/16`)* - Your pod network.
- **DIVISION_PREFIX** *(default: `24`)* - Network CIDR prefix for devide your POD_NETWORK.
- **DEBUG** *(example: `1`)* - Enable verbose output.