Skip to content

Legion 0.1.18

Choose a tag to compare

@grepjava grepjava released this 12 Nov 01:14
· 765 commits to main since this release

Revocation, an audit trail, and jailer's images from build to recovery.

  • Revocation. Deleting a user's RoleBinding ends their sessions (exec, logs, port-forward) and watches within 5 s. A manager removed with legion delete node leaves the Raft membership, and its certificate is refused.
  • Audit. Changes, sessions and refusals are recorded in the replicated store where they first arrive, names only, never values: legion audit lists them. Kept 30 days and at most 100 000 events by default.
  • jailer to Legion, end to end. One test takes an image built and signed by jailer through a cluster: pushed, run on three nodes, its data moved and restored after losing a node.
  • Compose and Linux images, documented as tested: docs/COMPOSE.md lists what of a Compose file is taken, and docs/LINUX.md which Linux images run through FreeBSD's Linux ABI and which don't, and why.
  • Examples: examples/, a static site on nginx and a counter on Redis, run as their READMEs say on every release.
  • Fixed: static Linux programs (Go's, gosu) ran nowhere: --linux now sets kern.elf64.fallback_brand when the host left it unset. A Volume moving to a node that was only briefly unresponsive started its copy again elsewhere; it waits now.

Install

On FreeBSD 15 for amd64, as root:

tar -xf legion-0.1.18-freebsd15-amd64.tar.xz --strip-components 1 -C /usr/local

then follow Install in the README. To upgrade: service legion stop, unpack as above, service legion start; running containers are adopted. Upgrade managers one at a time, then workers (see Versions in the design); the upgrade path from the release before is tested on every release.

Check the download with sha256 -c $(cat legion-0.1.18-freebsd15-amd64.tar.xz.sha256 | cut -d ' ' -f 1) legion-0.1.18-freebsd15-amd64.tar.xz.