From: stephan48 Date: Sun, 13 Aug 2023 20:08:49 +0000 (+0200) Subject: (no commit message) X-Git-Url: https://blog.stejau.de/gitweb/gitweb.cgi?a=commitdiff_plain;h=afb58a1977597d7ab28da9e8f337fb61c5c6cea2;p=stejau-blog.git --- 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 a50a508..551f24f 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 @@ -12,6 +12,8 @@ How does k3s setup the network: * Rootlesskit does child network configuration - https://github.com/rootless-containers/rootlesskit/blob/master/pkg/child/child.go#L156 * where does the tap0 device comes from? https://github.com/rootless-containers/rootlesskit/blob/master/pkg/network/slirp4netns/slirp4netns.go#L182 * 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 Wrote slirp4netns wrapper(crude & insecure, will need to harden):