Debian compatibility - #17
Open
RWejlgaard wants to merge 9 commits into
Open
Conversation
RWejlgaard
marked this pull request as ready for review
May 9, 2026 10:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Debian 13 compatibility + quality-of-life fixes
Extends support to Debian 13 (Trixie) while keeping Ubuntu fully working. Also improves script reliability
and adds uninstall scripts.
These changes has been tested against 2 VMs running Debian 13, one master and one slave. I also verified that the master setup script still works on a separate VM running Ubuntu Server 26.04 LTS.
Debian 13 compatibility
falls back to nmcli (NetworkManager) on Debian. Fails with a clear error if neither is found
default of /usr/lib/cni so Flannel and Cilium plugins are found correctly
sysctl, and swapoff to fail. Added at the top of both scripts
doesn't exist in Debian's repos
installs; --system reads all drop-in config dirs correctly on both distros
Bug fixes
-p would fail on any re-run
creates on first run. Using --wait caused a deadlock; now waits explicitly for only the controller
deployment before applying the IP pool config
Script repeatability
Re-running a partially failed script no longer errors out:
Uninstall scripts
New uninstall/ directory with:
packages and apt repo, containerd, Helm, NFS/Samba servers (share directories preserved), Cilium/Hubble/Flux
CLIs, CNI interfaces and configs, kernel module/sysctl configs, and restores swap from fstab backup
CLIs)