Closed l50 closed 8 months ago
Looks like there are conflicts that need to be resolved
@l50 I've love to get this in if this is still valid. There are a few small conflicts with all the changes that need to be resolved first
Apologies for the delay - conflict resolved.
No worries at all and no rush! I just wanted to ping you just to be sure this is something you wanted to be included. My fault that the PRs got backed logged, but all caught up now that CI is working.
Alright, finally had a minute to sit down and actually update everything. Hopefully this'll do it with the CI.
Thank you!
Huge fan of this project, thanks for creating and maintaining it!
I'm happy to submit another PR to implement PXE boot support for the server role, but wanted to make sure there was interest in the existing work I've done first.
Proposed Changes
k3s_agent
role to address a specific issue encountered while setting up a Raspberry Pi 4 for PXE booting. This includes adding checks for PXE-boot conditions and modifying thek3s.service.j2
template to dynamically set thenative
snapshotter, resolving issues related to "overlayfs" snapshotter incompatibilities in such setups.k3s_agent
role by adopting idiomatic Ansible practices. This involved restructuring tasks into logical blocks, implementing conditional task execution, and transitioning to Ansible builtin modules for future-proofing and better compatibility.Context
While adding a new Raspberry Pi 4 to the cluster and setting it up to PXE boot from a Synology NAS, I encountered an error related to the "overlayfs" snapshotter. After some investigation, I realized that specifying the "native" snapshotter could resolve this. These changes are intended to help others who might face the same issue, streamlining their setup process and enhancing the usability of this project.
Checklist
site.yml
playbookreset.yml
playbook