projects
/
stejau-blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e20df42
)
(no commit message)
author
stephan48
<stephan48@web>
Sat, 4 Nov 2023 00:18:10 +0000
(
01:18
+0100)
committer
IkiWiki
<ikiwiki.info>
Sat, 4 Nov 2023 00:18:10 +0000
(
01:18
+0100)
posts/2023-11-04-k3s-setup-plain-rootless.mdwn
patch
|
blob
|
history
diff --git
a/posts/2023-11-04-k3s-setup-plain-rootless.mdwn
b/posts/2023-11-04-k3s-setup-plain-rootless.mdwn
index a9f4394125bf82742e52077cc26a6f58f079e3e4..bc1d110d5e7ca36559bfb63dfa1483930c893081 100644
(file)
--- a/
posts/2023-11-04-k3s-setup-plain-rootless.mdwn
+++ b/
posts/2023-11-04-k3s-setup-plain-rootless.mdwn
@@
-42,11
+42,13
@@
apt install uidmap fuse-overlayfs
printf "net.ipv4.ip_forward=1\n net.ipv6.conf.all.forwarding=1\n" | sudo tee -a /etc/sysctl.d/forwarding.conf
sysctl --system
+loginctl enable-linger username # enable k3s to be always on
+
```
-as user:
+as user
(machinectl shell username@ to ensure systemd session)
:
```
wget https://raw.githubusercontent.com/k3s-io/k3s/master/k3s-rootless.service