The general gist is that the v1.multus-cni.io/default-network annotation is limited to just annotations in the multus namespace.
From this snippet:
// The CRD object of default network should only be defined in multusNamespace
networks, err := parsePodNetworkAnnotation(netAnnot, conf.MultusNamespace)
The general gist is that the
v1.multus-cni.io/default-network
annotation is limited to just annotations in the multus namespace.From this snippet:
Found @: https://github.com/k8snetworkplumbingwg/multus-cni/blob/9f5c0239a804a90bf8913c9a386ca50eff9ce0cc/pkg/k8sclient/k8sclient.go#L606-L607
Is this really the functionality that we want? I'd argue that it should follow the typical conventions for a selection annotation.
It's not in the documentation for it @ https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/docs/configuration.md#specify-default-cluster-network-in-pod-annotations