-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Ubuntu Server with Alpine Linux #22
Comments
Steps:
|
I gave a shot at persistent storage as described in https://wiki.alpinelinux.org/wiki/Raspberry_Pi_4_-_Persistent_system_acting_as_a_NAS_and_Time_Machine but I had an issue where wlan0 device could not be found after reboot. Sticking with immutable storage is fine for the time being, I can revert to previous configs and be sure that a reboot resets to the last working config |
It also seems that it's not possible to create an user. The changes are not committed and even so they are recreated as root after reboot. https://gitlab.alpinelinux.org/alpine/aports/-/issues/10124 |
K3s server doesn't seem to be working on Alpine Linux due to missing storage. I cannot add cgroup config to Anyway memory cgroups seems not work neither: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11308 |
Final status: all nodes have been migrated to Alpine Linux. The final status is a diskless mode with persistent overlay in The memory usage of Alpine w/o k3s is 55MB, compared to about ~400MB for Ubuntu Server. With k3s-server it's up to ~500MB in the master, because Go is garbage collected and it prefers to increase the memory if available instead of running the collector. Worker nodes with k3s agent use ~128MB. |
Opened PR in |
Current OS is Ubuntu Server 20.04 as done in #18 but Alpine Linux is much smaller, although requires much more initial configuration. Alpine Linux requires only about 130MB storage, 8MB RAM.
Alpine Linux for Raspberry Pi aarch64 is available at https://alpinelinux.org/downloads/
The text was updated successfully, but these errors were encountered: