f599c2a691
* add macvlan cni to kubespray * macvlan: lint yaml files and fix sample config file * macvlan: add OWNERS file * add macvlan to README * macvlan : CI first shoot * macvlan : CI add full masquerade * delegate retrive pod cidr to master only * macvlan: add config for CI * macvlan: add netchecker deployment
14 lines
291 B
Django/Jinja
14 lines
291 B
Django/Jinja
DEVICE=mac0
|
|
DEVICETYPE=macvlan
|
|
TYPE=macvlan
|
|
BOOTPROTO=none
|
|
ONBOOT=yes
|
|
NM_CONTROLLED=no
|
|
|
|
MACVLAN_PARENT=eth2
|
|
MACVLAN_MODE=bridge
|
|
|
|
IPADDR={{ node_pod_cidr|ipaddr('net')|ipaddr(1)|ipaddr('address') }}
|
|
NETMASK={{ node_pod_cidr|ipaddr('netmask') }}
|
|
NETWORK={{ node_pod_cidr|ipaddr('network') }}
|
|
|