Skip to content

Support openrc systems on agent nodes, added openrc test matrix#489

Merged
dereknola merged 1 commit into
mainfrom
openrc
Jan 20, 2026
Merged

Support openrc systems on agent nodes, added openrc test matrix#489
dereknola merged 1 commit into
mainfrom
openrc

Conversation

@dereknola

@dereknola dereknola commented Jan 13, 2026

Copy link
Copy Markdown
Member

General Notes

A long term goal of mine as maintainer is to remove the entire concept of Jinja2 templating from this repo. By more heavily utilizing the default nature of the http://get.k3s.io install script, we don't need to manage and replace both the service and env files around an install or upgrade.

This is a step towards adding complete support for openrc service manager based OSes. Since the agent role has previously had its jinga2 template removed, I decided to start with implementing the openrc feature with just agents.

I also took this opportunity to move towards the goal of consolidating the update and site playbooks. I'm currently not completely sold on the idea of completely removing the upgrade playbook, but there is significant simplification that should take place for the upgrade role. Now this PR may seem like I'm "adding" more lines to the role right now, but when I start ripping out the templating for servers, the entire role will become more simplified. Baby steps.

Changes

  • Added support openrc based OSes for k3s agents
  • Reduce usage of "find and replace" for the service file, rely more upon the k3s install script to configure env and service files for us
  • Added a test case to the integration test, using a openrc based alpine image for validation of feature.

Linked Issues

#463
#485

Signed-off-by: Derek Nola <derek.nola@suse.com>
@dereknola
dereknola merged commit f6491bb into main Jan 20, 2026
4 checks passed
@dereknola
dereknola deleted the openrc branch February 27, 2026 18:27
cioionut pushed a commit to cioionut/k3s-ansible that referenced this pull request Mar 6, 2026
…io#489)

Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Ionut <ionutnciocoiu@gmail.com>
alluabhijeet pushed a commit to alluabhijeet/k3s-ansible that referenced this pull request Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant