P5: Migrate devpi to Kubernetes #34
1 changed files with 2 additions and 1 deletions
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>
commit
5683a96057
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue