NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.51k stars 13.69k forks source link

k3s: wrap k3s with slirp4netns ? #259954

Open teto opened 11 months ago

teto commented 11 months ago

Describe the bug

This is my first try with k3s and I hit:

❯ k3s server --rootless
WARN[0000] Cannot set cgroup2 evacuation, make sure to run k3s as a systemd unit 
FATA[0000] exec: "slirp4netns": executable file not found in $PATH 

I will try the module but it doesn't seem to wrap it either.

This is on unstable

cc @euank @yajo

yajo commented 11 months ago

I never used it rootless, but indeed the request makes sense.