News for hackers. Stuff that matters.

t-lo

Re:Flatcar Container Linux on Tuesday April 11, 2023 @07:42AM (#35523689)
It requires a tiny bit of messing around but yes, Flatcar runs on RPi. It's part of our docs; here's the howto: https://www.flatcar.org/docs/latest/installing/bare-metal/ra...
Re:Flatcar Container Linux on Tuesday April 11, 2023 @07:40AM (#35523665)
It's a distro to run containers on. It is configured declaratively before deployment, so there's no config drift. It's fully automatable and the OS is self-updating (atomically, including automated roll-backs to known-good states). The OS cannot be extended after provisioning and all its binaries reside on a read-only partition (under /usr). Updates always replace the whole OS partition (though roll-back is possible). The root remains writable so users can add containerised apps and services etc.

Think of it as rather strong separation between operating system and user-defined workloads (containerised apps, Kubernetes, etc.).

For a (very) lightweight hands-on intro check out https://www.flatcar.org/docs/latest/installing/ .

Re:Flatcar Container Linux on Tuesday April 11, 2023 @07:36AM (#35523628)
Thanks for the feedback :) Apparently there's always room to improve our docs. A maintainer has taken a stab on that (see https://github.com/flatcar/flatcar-website/pull/263 for progress) and we'll update our docs shortly.
Re:Flatcar Container Linux on Tuesday April 11, 2023 @07:33AM (#35523595)
As Flatcar is a very minimal, immutable distribution to run containers / Kubernetes, our development environment (aka the "Flatcar SDK") is containerised too.

Flatcar releases are tied to git commits in our distro automation repo; so to develop for Flatcar, one would:

1. clone the distro automation repo

2. check out the release version one wants to develop for (tag or branch)

3. starts the SDK container via a wrapper script in the repo

This enables Flatcar development across all distros that run git, and docker or podman (it even works on WSL if one is inclined to use it that way).

More information here: https://www.flatcar.org/docs/latest/reference/developer-guid...

Re:Flatcar Container Linux on Tuesday April 11, 2023 @07:27AM (#35523552)
Infrastructure using cloud-init is under risk of suffering from config drift. Cloud-init runs at (each) boot while ignition runs once, at provisioning time.

The benefit is reproducible deployments: Any deployment of a given configuration will reproduce with the same end result. Configuration is kept outside of the instance and does not drift. This us guaranteed across releases / versions (something we very explicitly and thoroughly test, for each of our releases).

(Perceived) drawback can be that it's a bit of a paradigm shift for operators. While Ignition eliminates the need to meddle with instances after provisioning, it can be a bit of a learning curve to produce a node's full config beforehand.

Re:Flatcar Container Linux on Tuesday April 11, 2023 @07:20AM (#35523507)
For more on immutable / image-based Linux you might want to check out the UAPI group, a recently founded cross-distro interest group: https://uapi-group.org/

We have contributing members from many FOSS projects gravitating around image-based Linux, including quite a few distros.

Re:Flatcar Container Linux on Tuesday April 11, 2023 @07:18AM (#35523489)
The most significant change this acquisition brought to Flatcar was to turn it from a vendor-driven open source project to a community-driven one. Also see Kinvolk's statement at the time: https://kinvolk.io/blog/2021/04/microsoft-acquires-kinvolk/

Since then, the project has opened up and has become fully community driven - releases, features, stewardship, everything. To further underline independent stewardship, Flatcar was recently proposed to join the CNCF as an incubating project: https://github.com/cncf/toc/pull/991 .