Skip to content

k3s rootless - two step install #7615

Answered by brandond
vsoch asked this question in Q&A
May 26, 2023 · 1 comments · 16 replies
Discussion options

You must be logged in to vote

Rootless K3s runs fully isolated with its own pid/user/network namespaces. All instances of rootless k3s will use the same node IP for the user network namespace by default, although this can be overridden with the K3S_ROOTLESS_CIDR environment variable. Slirp4netns handles routing traffic between the actual host network namespace, and the user network namespace. It also handles mapping unprivileged ports on the host to privileged ports in the user network namespace.

The current unsolved challenges probably mostly revolve around how to get the Flannel CNI working through the port mapping; at the moment there is no way to tell either k3s or flannel to communicate with the peer using the 10…

Replies: 1 comment 16 replies

Comment options

You must be logged in to vote
16 replies
@vsoch
Comment options

@vsoch
Comment options

@vsoch
Comment options

@brandond
Comment options

Answer selected by vsoch
@vsoch
Comment options

@brandond
Comment options

@vsoch
Comment options

@AkihiroSuda
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
3 participants
Converted from issue

This discussion was converted from issue #7614 on May 26, 2023 20:08.