Skip to content

Commit b4efb88

Browse files
Merge pull request #455 from thomasferrandiz/multus-doc
Change rke2-multus configuration when version >= v4.2.202
2 parents 72100bc + 3256a25 commit b4efb88

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/networking/multus-ipams.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ spec:
4646
confDir: /var/lib/rancher/k3s/agent/etc/cni/net.d
4747
binDir: /var/lib/rancher/k3s/data/cni/
4848
kubeconfig: /var/lib/rancher/k3s/agent/etc/cni/net.d/multus.d/multus.kubeconfig
49+
# Comment the following line when using rke2-multus < v4.2.202
50+
multusAutoconfigDir: /var/lib/rancher/k3s/agent/etc/cni/net.d
4951
```
5052
5153
</TabItem>
@@ -70,6 +72,8 @@ spec:
7072
confDir: /var/lib/rancher/k3s/agent/etc/cni/net.d
7173
binDir: /var/lib/rancher/k3s/data/cni/
7274
kubeconfig: /var/lib/rancher/k3s/agent/etc/cni/net.d/multus.d/multus.kubeconfig
75+
# Comment the following line when using rke2-multus < v4.2.202
76+
multusAutoconfigDir: /var/lib/rancher/k3s/agent/etc/cni/net.d
7377
rke2-whereabouts:
7478
fullnameOverride: whereabouts
7579
enabled: true
@@ -123,6 +127,8 @@ spec:
123127
confDir: /var/lib/rancher/k3s/agent/etc/cni/net.d
124128
binDir: /var/lib/rancher/k3s/data/cni/
125129
kubeconfig: /var/lib/rancher/k3s/agent/etc/cni/net.d/multus.d/multus.kubeconfig
130+
# Comment the following line when using rke2-multus < v4.2.202
131+
multusAutoconfigDir: /var/lib/rancher/k3s/agent/etc/cni/net.d
126132
manifests:
127133
dhcpDaemonSet: true
128134
```

0 commit comments

Comments
 (0)