rancher / rke2

https://docs.rke2.io/
Apache License 2.0
1.51k stars 264 forks source link

Official support for Amazon Linux 2 #5810

Open HoustonDad opened 4 months ago

HoustonDad commented 4 months ago

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

zackbradys commented 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.

caroline-suse-rancher commented 3 months ago

After speaking with product about this, we intend to pursue validation of Amazon Linux 2 in a coming release.

zackbradys commented 3 months ago

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

aganesh-suse commented 1 month ago

Related issues for history: https://github.com/rancher/rke2/issues/6354 https://github.com/rancher/rke2/issues/6521

ShylajaDevadiga commented 1 week ago

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

  1. Install and run sonobuoy conformance tests on a hardened cluster
  2. Validate SUC upgrade
  3. Install Rancher Manager
  4. Validate snapshot restore via cluster-reset-restore-path
aganesh-suse commented 1 week ago

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
brandond commented 1 week ago

sounds like docs fodder!