From cc6443a1328016737aee06e135ecb002f4bad42f Mon Sep 17 00:00:00 2001 From: stephan48 Date: Sun, 3 Sep 2023 11:32:47 +0200 Subject: [PATCH] --- ...3s-i-want-a-rootless-cluster-with-bgp-damn-it.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/posts/2023-08-13-k3s-i-want-a-rootless-cluster-with-bgp-damn-it.mdwn b/posts/2023-08-13-k3s-i-want-a-rootless-cluster-with-bgp-damn-it.mdwn index c8b15e4..36557e0 100644 --- a/posts/2023-08-13-k3s-i-want-a-rootless-cluster-with-bgp-damn-it.mdwn +++ b/posts/2023-08-13-k3s-i-want-a-rootless-cluster-with-bgp-damn-it.mdwn @@ -16,6 +16,8 @@ How does k3s setup the network: * we will need to remove this and redo some of the network configuration * k3s packages its own slirp4netns, need to override that to do our magic * ln -fs bin/slirp4netns .rancher/k3s/data/current/bin/slirp4netns + * because k3s sets up the bin to be used here :( https://github.com/k3s-io/k3s/blob/0d23cfe038ef22d7ca899764e9aaeea8a39d4874/cmd/k3s/main.go#L189 + Wrote slirp4netns wrapper(crude & insecure, will need to harden): @@ -49,3 +51,12 @@ TODO: Interesting Reads: * https://linux-blog.anracom.com/2017/10/30/fun-with-veth-devices-in-unnamed-linux-network-namespaces-i/ + +It works!!! + +TODO: Document Magic Script, Automate IT, PROFIT + +IPv6: + +Yes because i am a masochist. + -- 2.30.2