Different master for macvlan (additional) interface in networks.operator.openshift.io cluster
I want to configure additional interface for pods in the cluster using macvlan.
I am referring to:
- https://docs.openshift.com/container-platform/4.5/networking/multiple_networks/configuring-macvlan-basic.html#configuring-macvlan-basic
- https://docs.openshift.com/container-platform/4.5/networking/multiple_networks/configuring-macvlan.html#configuring-macvlan
Now, in the spec section (simple and raw), there is a field master: <master>
to specify the host interface to use for macvlan.
Is there a way I can specify this host's interface master
for macvlan different for each host?
For example, in the cluster on worker1
node the master
interface is: eth1
on worker2
node the master
interface is: ensf1
.
How can specify this using the config for networks.operator.openshift.io cluster ?