K3s: Difference between revisions
imported>Mic92 add firewall. |
imported>Mic92 describe zfs setup |
||
Line 16: | Line 16: | ||
After enabling you can access you cluster through <code>k3s kubectl</code> i.e. <code>k3s kubectl cluster-info</code> | After enabling you can access you cluster through <code>k3s kubectl</code> i.e. <code>k3s kubectl cluster-info</code> | ||
== ZFS support == | |||
k3s's builtin containerd does not support the zfs snapshotter. However it is possible to configure it to use an external containerd: | |||
<syntaxHighlight lang=nix> | |||
virtualisation.containerd.enable = true; | |||
# TODO describe how to enable zfs snapshotter in containerd | |||
services.k3s.extraFlags = toString [ | |||
"--container-runtime-endpoint unix:///run/containerd/containerd.sock" | |||
]; | |||
</syntaxHighlight> |