Automated Fedora CoreOS 35 for Raspberry Pi 4(B)/400

As part of a personal project involving Raspberry Pi 400s and Microshift I’ve created a not-aptly-named repo on GitHub called ignition-configs which automates the setup of the local Fedora workstation for provisioning Fedora CoreOS on sdcards. The goal being that, with a minor edit to the Ansible inventory and a single make command, one can automatically generate an sdcard which will boot into Fedora CoreOS and run a Microshift “cluster” for edge use-cases.

The project is still in early phases and is by no means “production ready”, but is in a useful state and will only become more useful as I work through some of the planned improvements, such as caching, post-provisioning clean-ups, and eventually, a custom ostree which includes everything necessary to actually execute microshift. The current state is that everything is prepared, including a microshift.service systemd unit which will start microshift using the podman method described here. As of now the user is required to log into the system once booted and conduct a package layering exercise to get cri-o installed before they can enable and start the microshift service.

My overarching goal with this project is to make it easy for even novice users in Fedora’s ecosystem to provision and make use of otherwise sophisticated technologies, for experimentation or edge use-cases.

I’m sure there are larger implications for Fedora CoreOS here, even if I don’t readily see them. At the very least I wanted to share with this community my own usage in the hopes that you all who are working on Fedora CoreOS, specifically in the ARM space, can delight in the fact that someone took an interest.

If there is already a project within Fedora CoreOS around doing this sort of thing, I’m happy to review and potentially submit pull requests where my own implementations make sense or can be of use.

Here are some screenshots of the Raspberry Pi 400 running microshift on Fedora CoreOS 35 for happy feels :slight_smile:


2 Likes

Your project inspired me to extend my first basic Pi server to logging and analytics workloads using Podman. Maybe use cases like those are a bit of over stretching to my experience. But I thought of earmarking as a next step and learning foundational stuff on Podman.

Here is a mindmap for my use cases to extend the PI server.

1 Like

First off. Thank you so much for sharing. I have been interested in Mircroshift ever since I saw Sally O’Malley talk about it at the 03/15/2022 OKD Working Group Meeting.

Would you be willing to come to a FCOS working group meeting and give a short presentation/demo on this? I think people would be very interested.

Similarly there is devconf.us in August that would be great to submit a talk (CFP was extended to April 30) on this if you’d be interested.

1 Like

Would you be willing to come to a FCOS working group meeting and give a short presentation/demo on this? I think people would be very interested.

Absolutely! I’ll definitely need to clean up the code, but yeah, would totally be down for sharing “live”.