Skip to content

Commit

Permalink
docs: extend multus configuration for Cilium
Browse files Browse the repository at this point in the history
Add some notes.

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
  • Loading branch information
xvzf authored and smira committed Jul 30, 2024
1 parent 19aa44c commit 96492c0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions website/content/v1.8/kubernetes-guides/network/multus.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,35 @@ If you would like to use KubeVirt and expose your virtual machine to the outside
>
> The reason is similar: the bridge interface type moves the pod interface MAC address to the VM, leaving the pod interface with a different address.
> The aforementioned CNIs require the pod interface to have the original MAC address.

## Notes on using Cilium in combination with Multus

Cilium does not ship the CNI reference plugins, which most multus seutps are expecting (e.g. macvlan).
This can be addressed by extending the daemonset with an additional init-container, setting them up, e.g. using the following kustomize strategic-merge patch:

```yaml
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-multus-ds
namespace: kube-system
spec:
template:
spec:
initContainers:
- command:
- /install-cni.sh
image: ghcr.io/siderolabs/install-cni:v1.7.0 # adapt to your talos version
name: install-cni
securityContext:
privileged: true
volumeMounts:
- mountPath: /host/opt/cni/bin
mountPropagation: Bidirectional
name: cnibin
```

## Notes on ARM64 nodes

The official images (as of 29.07.24) are built incorrectly for ARM64 ([ref](https://github.com/k8snetworkplumbingwg/multus-cni/issues/1251)).
Self-building them is an adequate workaround for now.

0 comments on commit 96492c0

Please sign in to comment.