Replies: 1 comment
-
I suspect there is an issue with either your NetworkAttachmentDefinition or the networks annotation. I'm no Multus expert but I can't say I've ever seen JSON in the annotation value like that - normally its something like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environmental Info:
RKE2 Version:
rke2 version v1.31.4+rke2r1 (5142bee)
go version go1.22.9 X:boringcrypto
Node(s) CPU architecture, OS, and Version:
Linux master-01 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
k get node
NAME STATUS ROLES AGE VERSION
master-01 Ready control-plane,etcd,master 58m v1.31.4+rke2r1
worker-01 Ready 57m v1.31.4+rke2r1
worker-02 Ready 57m v1.31.4+rke2r1
Describe the bug:
Multus is not called, an example Pod is created without a new network interface.
Steps To Reproduce:
I used lablabs.rke2 with this config:
Then I did the following to have cni.exclusive = false: https://docs.rke2.io/networking/multus_sriov#using-multus-with-cilium
The cluster then looks like this
Then I created the following NetworkAttachmentDefinition. I also tried others with type dhcp, ...
Creating the following Pods works, however no interface is added:
Expected behavior:
Multus creates a second network interface in addition to the one Cilium is providing.
Actual behavior:
The created Pod looks like this:
As you can see the events not even mention Multus
Additional context / logs:
I first played around with K3s, where I installed Cilium manually, first with a pretty vanilla installation, then adjusting the cni paths, as I suspected that this might be a problem
cilium install --version 1.16.5 --set=ipam.operator.clusterPoolIPv4PodCIDRList="10.42.0.0/16" --set=cni.exclusive=false --set=cni.binPath='/var/lib/rancher/k3s/data/cni/' --set=cni.confPath='/var/lib/rancher/k3s/agent/etc/cni/net.d'
. As I couldn't get it to work with K3s I switched to RKE2, as multus and cilium is part of the standard installation and I hoped I had more luck with thisBeta Was this translation helpful? Give feedback.
All reactions