Skip to content

Commit 641866e

Browse files
akramelezar
authored andcommitted
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 <[email protected]>
1 parent ae425f0 commit 641866e

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎deploy/docker/gateway.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ disable_tls = true
3535

3636
[openshell.drivers.docker]
3737
# Default image pulled for `openshell sandbox create` without --from.
38-
default_image = "ghcr.io/nvidia/openshell-community/sandboxes/base:latest"
38+
default_image = "docker.io/library/alpine:3.22"
3939
# Sandbox runtime image from which the openshell-sandbox binary is extracted.
4040
sandbox_runtime_image = "ghcr.io/nvidia/openshell/sandbox:latest"
4141
# Image containing the external supervisor process.

‎deploy/helm/openshell/values.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ server:
214214
# `uri` key, e.g. postgresql://user:pass@host:5432/dbname.
215215
externalDbSecret: ""
216216
# -- Default sandbox image used when requests do not specify one.
217-
sandboxImage: "ghcr.io/nvidia/openshell-community/sandboxes/base:latest"
217+
sandboxImage: "docker.io/library/alpine:3.22"
218218
# -- Pull policy for sandbox pods. Leave unset to use the Kubernetes image
219219
# default (Always for :latest, IfNotPresent otherwise). Prefer always,
220220
# if_not_present, or never; the chart also accepts legacy Kubernetes spellings

‎deploy/kube/manifests/openshell-helmchart.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
tag: latest
3030
pullPolicy: __IMAGE_PULL_POLICY__
3131
server:
32-
sandboxImage: ghcr.io/nvidia/openshell-community/sandboxes/base:latest
32+
sandboxImage: docker.io/library/alpine:3.22
3333
sandboxImagePullPolicy: __SANDBOX_IMAGE_PULL_POLICY__
3434
supervisorImage: ghcr.io/nvidia/openshell/supervisor:latest
3535
dbUrl: __DB_URL__

‎tasks/scripts/gateway-docker.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ PORT="${OPENSHELL_SERVER_PORT:-18080}"
3434
GATEWAY_NAME="${OPENSHELL_DOCKER_GATEWAY_NAME:-docker-dev}"
3535
STATE_DIR="${OPENSHELL_DOCKER_GATEWAY_STATE_DIR:-${ROOT}/.cache/gateway-docker}"
3636
SANDBOX_NAMESPACE="${OPENSHELL_SANDBOX_NAMESPACE:-docker-dev}"
37-
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-ghcr.io/nvidia/openshell-community/sandboxes/base:latest}"
37+
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-docker.io/library/alpine:3.22}"
3838
SUPERVISOR_IMAGE="${OPENSHELL_SUPERVISOR_IMAGE:-openshell/supervisor:dev}"
3939
SANDBOX_RUNTIME_IMAGE="${OPENSHELL_SANDBOX_RUNTIME_IMAGE:-openshell/sandbox:dev}"
4040
SANDBOX_IMAGE_PULL_POLICY="$(normalize_image_pull_policy "${OPENSHELL_SANDBOX_IMAGE_PULL_POLICY:-if_not_present}")"

‎tasks/scripts/gateway-podman.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PORT="${OPENSHELL_SERVER_PORT:-18080}"
3131
GATEWAY_NAME="${OPENSHELL_PODMAN_GATEWAY_NAME:-podman-dev}"
3232
STATE_DIR="${OPENSHELL_PODMAN_GATEWAY_STATE_DIR:-${OPENSHELL_GATEWAY_STATE_DIR:-${ROOT}/.cache/gateway-podman}}"
3333
SANDBOX_NAMESPACE="${OPENSHELL_SANDBOX_NAMESPACE:-podman-dev}"
34-
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-ghcr.io/nvidia/openshell-community/sandboxes/base:latest}"
34+
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-docker.io/library/alpine:3.22}"
3535
SANDBOX_IMAGE_PULL_POLICY="$(normalize_image_pull_policy "${OPENSHELL_SANDBOX_IMAGE_PULL_POLICY:-if_not_present}")"
3636
GRPC_ENDPOINT="${OPENSHELL_GRPC_ENDPOINT:-}"
3737
LOG_LEVEL="${OPENSHELL_LOG_LEVEL:-info}"

‎tasks/scripts/gateway.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ PORT="${OPENSHELL_SERVER_PORT:-8080}"
207207
GATEWAY_NAME="${OPENSHELL_GATEWAY_NAME:-${DRIVER}-dev}"
208208
STATE_DIR="${OPENSHELL_GATEWAY_STATE_DIR:-${ROOT}/.cache/gateway-${DRIVER}}"
209209
SANDBOX_NAMESPACE="${OPENSHELL_SANDBOX_NAMESPACE:-${DRIVER}-dev}"
210-
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-ghcr.io/nvidia/openshell-community/sandboxes/base:latest}"
210+
SANDBOX_IMAGE="${OPENSHELL_SANDBOX_IMAGE:-docker.io/library/alpine:3.22}"
211211
SANDBOX_IMAGE_PULL_POLICY="$(normalize_image_pull_policy "${OPENSHELL_SANDBOX_IMAGE_PULL_POLICY:-if_not_present}")"
212212
GRPC_ENDPOINT="${OPENSHELL_GRPC_ENDPOINT:-}"
213213
LOG_LEVEL="${OPENSHELL_LOG_LEVEL:-info}"

‎tasks/scripts/helm-k3s-local.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ K3D_CLUSTER_NAME_MAX=32
2929
HOST_LB_PORT="${HELM_K3S_LB_HOST_PORT:-8080}"
3030
# Preload the default community sandbox image so the first sandbox create does
3131
# not pay the full registry pull cost inside the cluster.
32-
DEFAULT_SANDBOX_PRELOAD_IMAGE="ghcr.io/nvidia/openshell-community/sandboxes/base:latest"
32+
DEFAULT_SANDBOX_PRELOAD_IMAGE="docker.io/library/alpine:3.22"
3333
PRELOAD_SANDBOX_IMAGE="${HELM_K3S_PRELOAD_SANDBOX_IMAGE-${DEFAULT_SANDBOX_PRELOAD_IMAGE}}"
3434

3535
# Upstream agent-sandbox release pinned for both CRDs/controller and extensions.

0 commit comments

Comments
 (0)