Skip to content
Flux
Thirty-Nine Hours: How a FluxOS Release Reaches Every Node

Thirty-Nine Hours: How a FluxOS Release Reaches Every Node

FluxOS 8.25.0 was published on GitHub at 08:22 UTC on 27 November. About 39 hours later, 6,895 of the 6,897 nodes reporting their software were running it. Every Stratus node had it, all 1,907 of them.

Why every node has to agree

Flux has no central scheduler. Every node reads every application’s specification and decides for itself what to run, where to place a copy, when to hand one back. If half the network read those rules one way and half another, apps would land twice or not at all. So the software that interprets them has to move together, and a release does its job once nearly the whole fleet runs it.

8.25 was a good test, because it changed something every app owner touches: how installs, updates, redeploys and restores are carried out on a node. When nearly every node switches within two days, every app on the network gets the safer behaviour at the same time, and no owner has to wonder which rules their particular nodes are following.

How it gets there so fast

Nobody logs into 6,900 machines. The nodes update themselves. On ArcaneOS, the hardened node operating system that now runs on 6,648 nodes, or 95.4% of the fleet, the system’s own updater brings in each new FluxOS release; on the remaining legacy nodes the Flux watchdog does the same job. Every ArcaneOS node was on the same ArcaneOS build when we measured, too.

Speed only helps if what arrives is right, and that part happens before the release is tagged. The 8.25 unit suite has more than 13,600 tests, and its release gate runs 343 integration suites that boot real nodes in a test network. Some behaviour doesn’t need a release at all: since the 8.19 and 8.20 releases in September, the network reads a signed policy that can switch a rule on or off across every node, which is how 8.25’s rule for container-hosted nodes took effect on 28 November.

What it makes possible

Fast, even upgrades are what make the next big change practical. That change is the v9 application specification, which will alter how every app on Flux is described. Changes like that need the whole fleet to understand the new format before the first app uses it, and 27 November showed the fleet can get there quickly. You can follow v9’s progress on the Flux roadmap.


Posted in Education

by RunonFlux

Tags:

Comments

Leave a Reply

You must be logged in to post a comment.