Skip to content

Kubernetes support, again, maybe - #7

Open
dmolesUC wants to merge 10 commits into
BerkeleyLibrary:masterfrom
dmolesUC:kube-support-2026
Open

dmolesUC wants to merge 10 commits into
BerkeleyLibrary:masterfrom
dmolesUC:kube-support-2026

Conversation

@dmolesUC

@dmolesUC dmolesUC commented Dec 3, 2026 •

Copy link
Copy Markdown

As mentioned in this StackOverflow question, in Docker, /proc/1/cgroup no longer contains this list of values, but rather just

0::/

(tested on Debian, and on macOS with Colima).

A container in a K8s pod seems to also contain just 0::/ in /proc/1/cgroup, while an ordinary Debian box contains /0::/init.scope, and on macOS the file doesn't exist.

This PR therefore:

In addition, it updates .ruby-version from 2.7.6 to 3.4.13 (the most recent security patchlevel for 3.4) — as of 96b945a we aren't testing on 2.7 anymore anyway.

awilfox and others added 8 commits May 27, 2025 16:49
* Use frozen_string_literal magic comment instead of calling #freeze on
  each string.  This has been supported since Ruby 2.3.

* Call this 0.3.0.a1.

* Update HOMEPAGE with new repository URL.
This solves the issue of running Selenium tests on Arm Mac (via Podman
Desktop), among other issues.
* A Podman check for `/run/.containerenv` and `/var/run/.containerenv`

* Check for the systemd-specified `container` environment variable

* Tests are massively cleaned up and use FakeFS instead of potentially
  fragile expect/allow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants