Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion deploy/docker/services/infra/sdrc/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ services:
# Does not use wdm-env-from-config (env is explicit below, like a hand-written docker run).
sdr-controller:
profiles: ["bp_wh_2d","bp_wh_kafka_2d","bp_wh_redis_2d", "bp_wh_kafka_3d","bp_wh_redis_3d", "bp_wh_kafka_mv3dt", "bp_wh_redis_mv3dt","bp_wh_auto_calib_2d","bp_wh_auto_calib_3d", "bp_wh_auto_calib_mv3dt","bp_developer_alerts_2d_cv", "bp_developer_alerts_2d_vlm","bp_developer_search_2d","bp_developer_lvs_2d"]
image: ${SDR_MW_L_IMAGE:-nvcr.io/nvidia/vss-core/sdr-mw-l:3.2.0}
image: ${SDR_MW_L_IMAGE:-nvcr.io/nv-metropolis-dev/metropolis-analytic/sdr-mw-l:3.0.0-prd.9}
container_name: sdr-controller
ports:
- ${SDRC_CONTROLLER_HOST_PORT:-5003}:5003
Expand All @@ -157,6 +157,7 @@ services:
PORT: 5003
ROUTER_PORT: 5003
WDM_CLUSTER_TYPE: "docker"
WDM_XDS_GRPC_ADS_ENABLED: "${WDM_XDS_GRPC_ADS_ENABLED:-true}"
volumes:
- ./log:/logs
- /var/run/docker.sock:/var/run/docker.sock
Expand Down
7 changes: 5 additions & 2 deletions deploy/helm/services/infra/charts/sdrc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ dependencies:
sdrc:
enabled: true
image:
repository: nvcr.io/nvidia/vss-core/sdr-mw-l
tag: 3.2.0
repository: nvcr.io/nv-metropolis-dev/metropolis-analytic/sdr-mw-l
tag: 3.0.0-prd.9
imagePullSecrets:
- name: ngc-docker-reg-secret
service:
Expand All @@ -75,6 +75,7 @@ sdrc:
KUBERNETES_HOST: kubernetes.default.svc
KUBERNETES_PORT: "443"
WDM_CONTROLLER_HOST: "127.0.0.1"
WDM_XDS_GRPC_ADS_ENABLED: "true"
```

The `sdrc` container discovers workloads from `/config.yml`, which is the
Expand All @@ -87,6 +88,8 @@ under `service`. The chart renders one Kubernetes Service per endpoint, so each
endpoint can choose its own Service `type`, `port`, and optional `nodePort`. The
same port values are passed to the container as `WDM_CONTROLLER_PORT`,
`WDM_SDRC_DIRECT_LISTENER_PORT`, `ENVOY_ADMIN_PORT`, and `ROUTER_PORT`.
ADS-backed xDS is enabled by default with
`runtimeEnv.WDM_XDS_GRPC_ADS_ENABLED="true"`; set it to `"false"` to disable.
Workload Envoy listener ports such as `WDM_MS_LISTENER_PORT` are defined in
`config.yml`; this Service intentionally exposes only controller, SDRC direct,
and Envoy admin ports.
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,6 @@ nodePort: {{ .nodePort | int }}
value: {{ required "service.controller.port is required" .Values.service.controller.port | quote }}
- name: WDM_CLUSTER_TYPE
value: {{ required "runtimeEnv.WDM_CLUSTER_TYPE is required" (get $env "WDM_CLUSTER_TYPE") | quote }}
- name: WDM_XDS_GRPC_ADS_ENABLED
value: {{ default "false" (get $env "WDM_XDS_GRPC_ADS_ENABLED") | quote }}
Comment thread
cailani-nv marked this conversation as resolved.
{{- end -}}
5 changes: 3 additions & 2 deletions deploy/helm/services/infra/charts/sdrc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ enabled: false
global: {}

image:
repository: nvcr.io/nvidia/vss-core/sdr-mw-l
tag: 3.2.0
repository: nvcr.io/nv-metropolis-dev/metropolis-analytic/sdr-mw-l
tag: 3.0.0-prd.9
pullPolicy: IfNotPresent
imagePullSecrets: []

Expand Down Expand Up @@ -39,6 +39,7 @@ runtimeEnv:
WDM_CONTROLLER_HOST: "127.0.0.1"
HOST_IP: "127.0.0.1" # TODO
WDM_CLUSTER_TYPE: "k8s"
WDM_XDS_GRPC_ADS_ENABLED: "true"

serviceAccount:
create: true
Expand Down
Loading