You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In calico's spidermultusconfig, the name of net-attach-def is specified as k8s-pod-network through multus.spidernet.io/cr-name.
Create a new SpiderMultusConfig (cniType is macvlan) with the same name as k8s-pod-network
root@controller-node-1:~# kubectl get smc -A
NAMESPACE NAME AGE
kube-system calico 147d
kube-system k8s-pod-network 2m27s
root@controller-node-1:~# kubectl get network-attachment-definitions.k8s.cni.cncf.io -A | grep k8s-pod-network
kube-system k8s-pod-network 14d
Check network-attachment-definitions.k8s.cni.cncf.io and find that multusConfig named k8s-pod-network is managed by two spiderpoolmultus (Changing, sometimes managed by calico, sometimes managed by macvlan).
Spiderpool Version
any
Main CNI
any
bug description
The value specified by multus.spidernet.io/cr-name when creating spidermultusconfig is not validated and can be repeated
What did you expect to happen?
Unreasonable data should be rejected.
How to reproduce it (as minimally and precisely as possible)
The spidermultusconfig of calico corresponds to the following:
In calico's spidermultusconfig, the name of net-attach-def is specified as k8s-pod-network through multus.spidernet.io/cr-name.
Create a new SpiderMultusConfig (cniType is macvlan) with the same name as k8s-pod-network
Check network-attachment-definitions.k8s.cni.cncf.io and find that multusConfig named k8s-pod-network is managed by two spiderpoolmultus (Changing, sometimes managed by calico, sometimes managed by macvlan).
If the user expects the default network to be calico, frequent changes will cause the cluster's default network to be unavailable.
Additional Context
No response
The text was updated successfully, but these errors were encountered: