You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2024-04-14-advanced-kubernetes-networking.md
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -392,6 +392,40 @@ If all of the tests passed, you should be good!
392
392
393
393
You can now do the same thing for your other workloads that need to use Multus!
394
394
395
+
## Gotchas
396
+
397
+
### RKE2
398
+
399
+
If you're using RKE2 and you notice that your worker nodes are using the wrong IP address after adding an additional NIC, you can override the Node IP with config:
400
+
401
+
```yaml
402
+
# /etc/rancher/rke2/config.yaml
403
+
node-ip: 192.168.60.53 # the node's primary IP used for kubernetes
404
+
node-external-ip: 192.168.60.53 # the node's primary IP used for kubernetes
405
+
```
406
+
407
+
You will need to restart the rke service or reboot.
408
+
409
+
Check with
410
+
411
+
```bash
412
+
kubectl get nodes -o wide
413
+
```
414
+
415
+
You should then see the IP on the node (note my `k8s-home-worker-01` has the fix, but `k8s-home-worker-02` and `k8s-home-worker-03` don't)
416
+
417
+
```bash
418
+
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
You can see more flags on the [RKE2 documentation page](https://docs.rke2.io/reference/linux_agent_config)
428
+
395
429
## Join the conversation
396
430
397
431
<blockquote class="twitter-tweet" data-dnt="true" data-theme="dark"><p lang="en" dir="ltr">Today I released 40 minute, super niche technical video on advanced Kubernetes networking with Multus. <br><br>I didn't do it for the algorithm, I did it because I loved every minute of it. (Well, after I got it working)<a href="https://t.co/O7sLjDIMXt">https://t.co/O7sLjDIMXt</a> <a href="https://t.co/bBnBbmlsDx">pic.twitter.com/bBnBbmlsDx</a></p>— Techno Tim (@TechnoTimLive) <a href="https://twitter.com/TechnoTimLive/status/1779516238533627905?ref_src=twsrc%5Etfw">April 14, 2024</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
0 commit comments