You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
containers: prepare environmentd and clusterd for distroless migration
Move bash entrypoint logic into Rust binaries so environmentd and
clusterd can run in distroless containers without a shell:
clusterd:
- Auto-detect Kubernetes FQDN from /etc/hostname (replaces `hostname --fqdn`)
- Auto-detect StatefulSet ordinal from HOSTNAME env var
- Configure LD_PRELOAD for eatmydata (CI only, no-op in distroless)
environmentd:
- Configure LD_PRELOAD for eatmydata
- Sleep forever after graceful exit (keeps container alive for debugging)
Also add Dockerfile.distroless variants for both services that use the
distroless-prod-base image and expect a static `ssh` binary to be
copied in for SSH tunnel support.
Part of SEC-236.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments