One CIDR for Pod across all Nodes
CNI network conf needs to be identical across all nodes. You can use the k8s/cni-infoblox-plugin.yaml
file to update the following section and deploy cni-infoblox-plugin daemonset. This will copy the infoblox plugin binary and net conf mentioned in the config map section to all the worker nodes.
Assume your pod network is 10.0.0.0/12, then:
infoblox-ipam.conf: |
{
"name": "infoblox-ipam-network",
"type": "macvlan",
"master":"eth0",
"ipam": {
"type": "infoblox",
"subnet": "10.0.0.0/12",
"gateway":"10.0.0.1",
"network-view": "flat_view"
}
}
or
If the subnet is not mentioned, a network is automatically allocated by CNI-Infoblox daemon:
infoblox-ipam.conf: |
{
"name": "infoblox-ipam-network",
"type": "macvlan",
"master":"eth0",
"ipam": {
"type": "infoblox",
"network-view": "flat_view"
}
}