mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-29 07:23:25 +08:00
feat(deploy): default deployment configs to the official Alpine sandbox image
Update the shared gateway default_image, Helm chart values, the standalone Kubernetes manifest, and the dev gateway task scripts to use docker.io/library/alpine:3.22 instead of the community base image, consistent with default_sandbox_image(). GPU e2e image-build base is left unchanged (CUDA needs a glibc base). Part of #3116. Signed-off-by: Akram Signed-off-by: Akram <akram.benaissi@gmail.com>
This commit is contained in:
@@ -35,7 +35,7 @@ disable_tls = true
|
||||
|
||||
[openshell.drivers.docker]
|
||||
# Default image pulled for `openshell sandbox create` without --from.
|
||||
default_image = "ghcr.io/nvidia/openshell-community/sandboxes/base:latest"
|
||||
default_image = "docker.io/library/alpine:3.22"
|
||||
# Sandbox runtime image from which the openshell-sandbox binary is extracted.
|
||||
sandbox_runtime_image = "ghcr.io/nvidia/openshell/sandbox:latest"
|
||||
# Image containing the external supervisor process.
|
||||
|
||||
@@ -214,7 +214,7 @@ server:
|
||||
# `uri` key, e.g. postgresql://user:pass@host:5432/dbname.
|
||||
externalDbSecret: ""
|
||||
# -- Default sandbox image used when requests do not specify one.
|
||||
sandboxImage: "ghcr.io/nvidia/openshell-community/sandboxes/base:latest"
|
||||
sandboxImage: "docker.io/library/alpine:3.22"
|
||||
# -- Pull policy for sandbox pods. Leave unset to use the Kubernetes image
|
||||
# default (Always for :latest, IfNotPresent otherwise). Prefer always,
|
||||
# if_not_present, or never; the chart also accepts legacy Kubernetes spellings
|
||||
|
||||
@@ -29,7 +29,7 @@ spec:
|
||||
tag: latest
|
||||
pullPolicy: __IMAGE_PULL_POLICY__
|
||||
server:
|
||||
sandboxImage: ghcr.io/nvidia/openshell-community/sandboxes/base:latest
|
||||
sandboxImage: docker.io/library/alpine:3.22
|
||||
sandboxImagePullPolicy: __SANDBOX_IMAGE_PULL_POLICY__
|
||||
supervisorImage: ghcr.io/nvidia/openshell/supervisor:latest
|
||||
dbUrl: __DB_URL__
|
||||
|
||||
@@ -34,7 +34,7 @@ PORT="${OPENSHELL_SERVER_PORT:-18080}"
|
||||
GATEWAY_NAME="${OPENSHELL_DOCKER_GATEWAY_NAME:-docker-dev}"
|
||||
STATE_DIR="${OPENSHELL_DOCKER_GATEWAY_STATE_DIR:-${ROOT}/.cache/gateway-docker}"
|
||||
SANDBOX_NAMESPACE="${OPENSHELL_SANDBOX_NAMESPACE:-docker-dev}"
|
||||
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-ghcr.io/nvidia/openshell-community/sandboxes/base:latest}"
|
||||
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-docker.io/library/alpine:3.22}"
|
||||
SUPERVISOR_IMAGE="${OPENSHELL_SUPERVISOR_IMAGE:-openshell/supervisor:dev}"
|
||||
SANDBOX_RUNTIME_IMAGE="${OPENSHELL_SANDBOX_RUNTIME_IMAGE:-openshell/sandbox:dev}"
|
||||
SANDBOX_IMAGE_PULL_POLICY="$(normalize_image_pull_policy "${OPENSHELL_SANDBOX_IMAGE_PULL_POLICY:-if_not_present}")"
|
||||
|
||||
@@ -31,7 +31,7 @@ PORT="${OPENSHELL_SERVER_PORT:-18080}"
|
||||
GATEWAY_NAME="${OPENSHELL_PODMAN_GATEWAY_NAME:-podman-dev}"
|
||||
STATE_DIR="${OPENSHELL_PODMAN_GATEWAY_STATE_DIR:-${OPENSHELL_GATEWAY_STATE_DIR:-${ROOT}/.cache/gateway-podman}}"
|
||||
SANDBOX_NAMESPACE="${OPENSHELL_SANDBOX_NAMESPACE:-podman-dev}"
|
||||
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-ghcr.io/nvidia/openshell-community/sandboxes/base:latest}"
|
||||
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-docker.io/library/alpine:3.22}"
|
||||
SANDBOX_IMAGE_PULL_POLICY="$(normalize_image_pull_policy "${OPENSHELL_SANDBOX_IMAGE_PULL_POLICY:-if_not_present}")"
|
||||
GRPC_ENDPOINT="${OPENSHELL_GRPC_ENDPOINT:-}"
|
||||
LOG_LEVEL="${OPENSHELL_LOG_LEVEL:-info}"
|
||||
|
||||
@@ -207,7 +207,7 @@ PORT="${OPENSHELL_SERVER_PORT:-8080}"
|
||||
GATEWAY_NAME="${OPENSHELL_GATEWAY_NAME:-${DRIVER}-dev}"
|
||||
STATE_DIR="${OPENSHELL_GATEWAY_STATE_DIR:-${ROOT}/.cache/gateway-${DRIVER}}"
|
||||
SANDBOX_NAMESPACE="${OPENSHELL_SANDBOX_NAMESPACE:-${DRIVER}-dev}"
|
||||
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-ghcr.io/nvidia/openshell-community/sandboxes/base:latest}"
|
||||
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-docker.io/library/alpine:3.22}"
|
||||
SANDBOX_IMAGE_PULL_POLICY="$(normalize_image_pull_policy "${OPENSHELL_SANDBOX_IMAGE_PULL_POLICY:-if_not_present}")"
|
||||
GRPC_ENDPOINT="${OPENSHELL_GRPC_ENDPOINT:-}"
|
||||
LOG_LEVEL="${OPENSHELL_LOG_LEVEL:-info}"
|
||||
|
||||
@@ -29,7 +29,7 @@ K3D_CLUSTER_NAME_MAX=32
|
||||
HOST_LB_PORT="${HELM_K3S_LB_HOST_PORT:-8080}"
|
||||
# Preload the default community sandbox image so the first sandbox create does
|
||||
# not pay the full registry pull cost inside the cluster.
|
||||
DEFAULT_SANDBOX_PRELOAD_IMAGE="ghcr.io/nvidia/openshell-community/sandboxes/base:latest"
|
||||
DEFAULT_SANDBOX_PRELOAD_IMAGE="docker.io/library/alpine:3.22"
|
||||
PRELOAD_SANDBOX_IMAGE="${HELM_K3S_PRELOAD_SANDBOX_IMAGE-${DEFAULT_SANDBOX_PRELOAD_IMAGE}}"
|
||||
|
||||
# Upstream agent-sandbox release pinned for both CRDs/controller and extensions.
|
||||
|
||||
Reference in New Issue
Block a user