-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add ARM version of the worker-manager #22
Comments
I would like to help with this I have a bunch of raspberry pi's I want to manage/provision and nebula seems like a good opensource fit. Any pointers on where to start? |
Hi @mr-sour, I think that the first step is to get a working dev env of nebula (non ARM) which basically boils down to the following steps:
Now that you have a real dev env running the real work can begin (yes I know it's annoying to create a dev env but on the bright side it only has to be done once), the good news is that the Python base image that the worker-manager uses supports ARM based chipsets so the only steps needed to create the ARM based version is:
After this is done all that's left is a bit of bureaucracy to let the community knows there is now an ARM version available:
Let me know if you need any help with any of the steps above, I know starting is always a lot harder then updating something that's already configured. |
Hopefully because its not my first rodeo with porting to arm it wont be so bad. I've got a arm cluster on order that I was going to use to experiment with so when that shows up I'm sure I'll have plenty of questions when I get into the thick of it. Ideally when Im done I want a digital ocean instance that can push updates to my devices as long as they have internet. But gotta get it working locally first. Thanks for the response! |
Also my username on the docker hub is mrsour I think my hardware is showing up midweek also I guess this will be supported and will mainly be tested on ARMv7 but I should be able to spit out builds for ARM11(legacy) to ARMv8 and get the matching hardware in to test. |
@mr-sour gave you push privileges to docker hub Nebula worker repo, let's standardize on the tag format being <nebula_version_number>-armv<arm_version> Also please make sure not to accidentally push to any existing tag as having an ARM version on them will break workers on any existing non ARM auto-pulling system. |
Both the worker and the API now have ARM64v8 automated builds thanks to shippable - the images are stored in docker HUB and are tagged as follows:
@mr-sour thanks for your offer to assist in that matter but as shippable allows automatic CD I think it's a better way then manually having to build each time. At the time of writing only the latest is pushed to ARM - I'm not going to manually rebuild older version on ARM but any numbered version & pushes to latest from now on will be automatically built on ARM as well. |
As a lot of IoT devices are ARM based it could be wise to have an ARM version of the worker-manager to allow managing them as well.
The text was updated successfully, but these errors were encountered: