Skip to content

What is the proper, talos way to install basic (bridge, macvlan etc.) CNI plugins? #7583

Answered by smira
ajgon asked this question in Q&A
Discussion options

You must be logged in to vote

Most usually the CNI plugins are shipped as part of the CNI installation (e.g. Cilium, Calico).

If they are not shipped with CNI, you have an option to use a Talos-provided init container which contains the plugins.

You can check it out in the default installation mode of Talos with Flannel CNI:

  - command:
    - /install-cni.sh
    image: ghcr.io/siderolabs/install-cni:v1.5.0
    imagePullPolicy: IfNotPresent
    name: install-cni
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /host/opt/cni/bin/
      name: cni-plugin

You can use this container image or any other similar image.

We would love to ma…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ajgon
Comment options

Answer selected by smira
Comment options

You must be logged in to vote
1 reply
@frezbo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants