P5: Migrate devpi to Kubernetes #34

Merged
eblume merged 12 commits from feature/p5-devpi into main 2026-01-20 14:55:37 -08:00
Showing only changes of commit 5683a96057 - Show all commits

Fix DEVPI_PORT env var conflict with k8s service discovery

Kubernetes auto-sets DEVPI_PORT for service discovery, which conflicts
with our port configuration. Renamed to DEVPI_LISTEN_PORT.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Erich Blume 2026-01-20 11:24:04 -08:00

View file

@ -3,7 +3,8 @@ set -e
SERVERDIR="${DEVPI_SERVERDIR:-/devpi}"
HOST="${DEVPI_HOST:-0.0.0.0}"
PORT="${DEVPI_PORT:-3141}"
# Note: Can't use DEVPI_PORT - Kubernetes auto-sets it for service discovery
PORT="${DEVPI_LISTEN_PORT:-3141}"
OUTSIDE_URL="${DEVPI_OUTSIDE_URL:-}"
# Check if devpi is initialized