Skip to content

feature: Support rpm installation #308

@GabrielCFigueira

Description

@GabrielCFigueira

Summary

I saw the message in

# RKE2 installation method (do not change this option)
rke2_method: tar
but is there a reason for not using it? It would still use the supported install script by rke2.

I was able to install rke2 with the rpm method using this role with a minimal amount of changes:

  • Masking the rke2 services only if they exist
  • Fetching cis provided kernel params from /usr/share/rke2 instead of /usr/share/local/rke2 in case of the rpm install
  • Passing the INSTALL_RKE2_TYPE="{{ rke2_method }}" variable to the install script

Beyond the benefits of using rpm, it would support enabling selinux in the rke2 parameters, something the tarball install does not support: rancher/rke2#3381

Issue Type

Feature Idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions