Question:
I am working through some training on kubernetes and have the following config. 4 vm’s running ubuntu 20.04 with the, one master and 3 nodes with calico CNI. I managed to deploy some nginx pods and got the connectivity to work as expected/I am trying to use multus to add a macvlan and have been following the instructions here https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/docs/quickstart.md
The server output for ip ad on the master shows (nodes show just the first 3 interfaces)
A describe show the the following
Am I missing something (quite likely)
Here is the samplepod output before the error showing the config
Best Answer:
Try the config from the officialmultus-cni
repo – https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/examples/macvlan-pod.ymlSpecifically focusing on the
plugins
part, i.e.:After making the change, do all the normal jazz, such as restarting the
multus
daemonset and deleting your pod.If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com
Leave a Review