add: parameters
parent
9dd2fce120
commit
98a3bf4eef
11
README.md
11
README.md
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue