Skip to content

fix(ark): run as uid 25000 — the server cannot start as root - #17

Merged
ValgulNecron merged 1 commit into
mainfrom
fix/ark-runas-gameserver
Jul 13, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
fix/ark-runas-gameserver

Conversation

@ValgulNecron

Copy link
Copy Markdown
Collaborator

ARK's image runs the server as the gameserver user (uid 25000) and cannot initialise Proton as root:

ProtonFixes WARN: Parent directory "/root/.config/protonfixes" does not exist. Abort.

The server then never listens on RCON, so the startup probe kills it — forever. Observed on the test cluster: 195 failed startup probes. The entrypoint (#14) and startup-window (#15/#16) fixes were necessary but not sufficient; this is why ARK still never came up.

The image's own compose sets user: gameserver and ships a separate set-permissions service that chown -R 25000:25000s the volumes. fsGroup makes the kubelet do that chown instead, so the PVC is writable by the non-root game user.

Requires Gameplane#128, which adds spec.security to GameTemplate — no module could express this before.

The image runs the server as the 'gameserver' user (uid 25000) and cannot
initialise Proton as root: ProtonFixes aborts with

  Parent directory "/root/.config/protonfixes" does not exist

the server never listens on RCON, and the startup probe kills it forever.
Observed on the test cluster — 195 failed startup probes.

The image's own compose sets 'user: gameserver' and ships a separate
set-permissions service that chowns the volumes to 25000:25000. fsGroup
makes the kubelet do that chown instead, so the PVC is writable by the
non-root game user.

Requires the GameTemplate spec.security field (Gameplane#128).

Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
@ValgulNecron
ValgulNecron merged commit f9a3ff9 into main Jul 13, 2026
@ValgulNecron
ValgulNecron deleted the fix/ark-runas-gameserver branch July 13, 2026 21:52
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.

1 participant