Skip to content

Commit

Permalink
fix: Anaconda for sweeps (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyblasczyk authored Jan 28, 2025
1 parent cc6b00c commit a349502
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/operator-wandb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: operator-wandb
description: A Helm chart for deploying W&B to Kubernetes
type: application
version: 0.24.5
version: 0.24.6
appVersion: 1.0.0
icon: https://wandb.ai/logo.svg

Expand Down
5 changes: 5 additions & 0 deletions charts/operator-wandb/charts/app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ spec:
- name: prometheus
containerPort: 8181
protocol: TCP
- name: anaconda
containerPort: 8082
protocol: TCP
- name: gorilla-statsd
containerPort: 8125
protocol: TCP
Expand Down Expand Up @@ -285,6 +288,8 @@ spec:
}
- name: GORILLA_SETTINGS_CACHE
value: "{{ include "app.redis" . | trim }}"
- name: GORILLA_SWEEP_PROVIDER
value: "{{ .Values.global.sweepProvider | default (printf "http://%s-app:8082" .Release.Name) }}"
- name: GORILLA_METADATA_CACHE
value: "{{ include "app.redis" . | trim }}"
- name: GORILLA_HISTORY_STORE
Expand Down
3 changes: 3 additions & 0 deletions charts/operator-wandb/charts/app/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ spec:
- port: 8181
protocol: TCP
name: prometheus
- port: 8082
protocol: TCP
name: anaconda
selector:
{{- include "app.labels" . | nindent 4 }}
3 changes: 2 additions & 1 deletion charts/operator-wandb/templates/gorilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ data:
{{- if .Values.extraCors }}
GORILLA_CORS_ORIGINS: "{{ join "," .Values.extraCors }}"
{{- end }}
GORILLA_SWEEP_PROVIDER: "{{ .Values.global.sweepProvider | default (printf "http://127.0.0.1:8082") }}"
GORILLA_SWEEP_PROVIDER: "{{ .Values.global.sweepProvider | default (printf "http://%s-app:8082" .Release.Name) }}"
WANDB_BASE_URL: "{{ .Values.global.baseUrl | default (printf "http://%s-app:8081" .Release.Name) }}"
GORILLA_VIEW_SPEC_UPDATER_EXECUTABLE: "/usr/local/bin/view-spec-updater-linux"
GORILLA_LIMITER: "noop://"
GORILLA_PARQUET_RPC_PATH: "/_goRPC_"
Expand Down

0 comments on commit a349502

Please sign in to comment.