Open HoustonDad opened 4 months ago
Additionally, the install.sh
could be modified to automatically detect and better support AL2 and AL2023. Unfortunately, the last PR (https://github.com/rancher/rke2/pull/4973) only covered AL2023.
I know this issue is very important to Rancher Government customers.
After speaking with product about this, we intend to pursue validation of Amazon Linux 2 in a coming release.
Great news! Thank you for working to support this @caroline-suse-rancher
For those looking for work around steps... https://gist.github.com/zackbradys/88096b6c5b8a77ff30386ea065068cf8
Related issues for history: https://github.com/rancher/rke2/issues/6354 https://github.com/rancher/rke2/issues/6521
Versions and Validations to be covered for AL2
Versions to be Validated
v1.31.0+rke2r1 v1.30.4+rke2r1 v1.29.8+rke2r1 v1.28.13+rke2r1
Testing Considerations
cluster-reset-restore-path
Pre-requisite step on Amazon Linux 2 setup to get selinux packages/policies installable:
sudo amazon-linux-extras enable selinux-ng; sudo yum install selinux-policy-targeted -y
sounds like docs fodder!
Is your feature request related to a problem? Please describe. Numerous customers have requested official support for Amazon Linux 2.
Describe the solution you'd like RKE2 works in Amazon Linux 2 fine, you just need to add '2023' to '/etc/os-release' and install things normally
Additional context https://gist.github.com/zackbradys/88096b6c5b8a77ff30386ea065068cf8