Open
Description
Hi! We're using Multus with Cilium to supply some of our apps with additional interfaces.
Example of CR:
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
name: nad-dhcp
spec:
config: '{
"cniVersion":"0.3.1",
"name":"nad-dhcp",
"plugins":[
{
"type":"bridge",
"bridge":"br111",
"isGateway":true,
"ipam":{
"type":"static",
"addresses":[
{
"address":"169.254.169.103/24",
"gateway":"169.254.169.1"
}
],
"routes":[
{
"dst":"169.252.252.0/24",
"gw":"169.254.169.1"
}
]
}
}
]
}'
The problem is that after node reboot our container is not getting additional interface from Multus, instead we can the see the following errors in Multus logs:
time="2025-02-12T16:02:07Z" level=warning msg="Errors encountered while deleting endpoint" error="[DELETE /endpoint][404] deleteEndpointNotFound " subsys=cilium-cni
time="2025-02-12T16:02:07Z" level=warning msg="Unable to enter namespace \"\", will not delete interface" error="failed to Statfs \"\": no such file or directory" subsys=cilium-cni
To resolve this issue, we need to restart the pod that uses the Multus additional interface.
Additionally, if we simply kill the container within a pod, it will be restored with the additional interface, but there will be no log messages from Multus. It appears that Cilium is handling all the work.
When using Multus with Flannel, we didn't experience these issues.
Can you please advise on what we might be doing wrong?