Skip to content

Commit daf527c

Browse files
AkihiroSudabrandond
authored andcommitted
k3s-rootless.service: use fuse-overlayfs snapshotter
Kernel 5.11 added support for rootless overlayfs, but still incompatible with SELinux, so we should always use fuse-overlayfs. Related: moby/moby issue 42333 Signed-off-by: Akihiro Suda <[email protected]>
1 parent 7345ac3 commit daf527c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

k3s-rootless.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Description=k3s (Rootless)
2626
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2727
# NOTE: Don't try to run `k3s server --rootless` on a terminal, as it doesn't enable cgroup v2 delegation.
2828
# If you really need to try it on a terminal, prepend `systemd-run --user -p Delegate=yes --tty` to create a systemd scope.
29-
ExecStart=/usr/local/bin/k3s server --rootless
29+
ExecStart=/usr/local/bin/k3s server --rootless --snapshotter=fuse-overlayfs
3030
ExecReload=/bin/kill -s HUP $MAINPID
3131
TimeoutSec=0
3232
RestartSec=2

0 commit comments

Comments
 (0)