-
Notifications
You must be signed in to change notification settings - Fork 776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test and make work with new 64-bit Raspberry Pi OS #36
Comments
When I tested in a pre-release version of their 64 bit OS a couple weeks back I found ansible needs to to test for aarch64 to download the correct version of k3s for 64 bit raspbian. See my pull https://github.com/rancher/k3s-ansible/pull/34/files#diff-a6257193d67fe18587001a0e1c080878 which (in addition to adding Ubuntu support) works on 64 bit raspbian. I'll grab their latest 64 bit beta raspbian build and verify my pull works there as well.
|
I've created pull request #37 which works for the latest Raspios 64 beta. It was also tested on the current Raspios 32 release. |
@geerlingguy can you grab the tip and verify this works for you, then close the issue if so? Thanks :) |
@fnord123 - I will test this out later today. |
I can confirm the entire playbook runs:
But then I checked the status of the cluster and it seems none of the nodes were connected, only the master was visible:
|
Ah... that was due to:
Since I'm using Pi OS it defaults to
And then after the reboot, they started appearing in the cluster.
Yay! Looks like this issue is good to go, thanks SO much to @fnord123 for the PR! |
Closing as this is working great on the new OS (confirmed on my 2GB Pi 4s, but I'll likely also run some tests on some Compute Module 3+s which are the equivalent CPU of a 3 B+). |
Yeah I ran into this too and found it to be a bit of a hassle. Personally I would like it for the ansible script to do that work too :). Perhaps something like kmaster and knode1..knodeN. If I put something together, would a PR of this sort be interesting to this project?
You are welcome :) |
The hard thing is there are dozens of different ways hostnames are managed, whether via I've tried in the past to write some universal automation for it and gave up. Instead, I always put in the docs something like "make sure each server has a unique hostname" and let them figure it out :D |
@geerlingguy just FYI I use this in my home lab:
Not sure what the |
From a commenter on on of my YouTube videos:
(see comment).
I've been slowly working through testing some of my own automation on the new 64-bit version of the Pi OS, and I've found that some images and binaries have to be downloaded differently based on the arch (which, in the past, I always assumed was armv7 or arm32 on Raspbian, which is not necessarily true as of yesterday).
So this issue is mostly a reminder to me to do some work testing k3s-ansible on the 64-bit OS. I'm also tracking this internally for my Turing Pi cluster work, which uses a mix of different Pi versions (some which can't run Pi OS 64-bit), so it would be helpful to be able to make it work with all flavors for the foreseeable future.
The text was updated successfully, but these errors were encountered: