Skip to content
Draft
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
7 changes: 5 additions & 2 deletions charts/operator-wandb/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,14 @@ dependencies:
- name: wandb-base
repository: file://../wandb-base
version: 0.9.0
- name: wandb-base
repository: file://../wandb-base
version: 0.9.0
- name: reloader
repository: https://stakater.github.io/stakater-charts
version: 1.3.0
- name: clickhouse
repository: oci://registry-1.docker.io/bitnamicharts
version: 9.1.0
digest: sha256:729c4f1618ec5265da5d9c17715a88027619eb35dc65512441137bc23cd08a98
generated: "2025-08-19T14:44:12.983838-07:00"
digest: sha256:cfc50aebbd90e2471dbf17c14681d35eafb1ff364faf06d1290727b87a2a885c
generated: "2025-08-20T18:24:12.875422-07:00"
7 changes: 6 additions & 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.34.3
version: 0.34.4
appVersion: 1.0.0
icon: https://wandb.ai/logo.svg

Expand Down Expand Up @@ -132,6 +132,11 @@ dependencies:
condition: metric-observer.install
repository: file://../wandb-base
version: "*.*.*"
- name: wandb-base
alias: history
condition: history.install
repository: file://../wandb-base
version: "*.*.*"
- name: wandb-base
alias: glue
condition: global.glue.enabled
Expand Down
6 changes: 3 additions & 3 deletions charts/operator-wandb/templates/_queues.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ TODO(Zachary B) - Check with dpanzella to see if this is correct.
{{- if .Values.global.pubSub.enabled -}}
pubsub:/{{ .Values.global.pubSub.project }}/{{ .Values.global.pubSub.runUpdateShadowTopic }}/{{ .Values.pubSub.subscription }}
{{- else if .Values.global.bufstream.enabled -}}
kafka://$(KAFKA_BROKER_HOST):9092/$(KAFKA_TOPIC_RUN_UPDATE_SHADOW_QUEUE)?consumer_group_id=flat-run-fields-updater&num_partitions=$(KAFKA_RUN_UPDATE_SHADOW_QUEUE_NUM_PARTITIONS)
kafka://$(KAFKA_BROKER_HOST):9092/$(KAFKA_TOPIC_RUN_UPDATE_SHADOW_QUEUE)?consumer_group_id={{ .Values.kafka.consumerGroup }}&num_partitions=$(KAFKA_RUN_UPDATE_SHADOW_QUEUE_NUM_PARTITIONS)
{{- else -}}
kafka://$(KAFKA_CLIENT_USER):$(KAFKA_CLIENT_PASSWORD)@$(KAFKA_BROKER_HOST):9092/$(KAFKA_TOPIC_RUN_UPDATE_SHADOW_QUEUE)?consumer_group_id=flat-run-fields-updater&num_partitions=$(KAFKA_RUN_UPDATE_SHADOW_QUEUE_NUM_PARTITIONS)
kafka://$(KAFKA_CLIENT_USER):$(KAFKA_CLIENT_PASSWORD)@$(KAFKA_BROKER_HOST):9092/$(KAFKA_TOPIC_RUN_UPDATE_SHADOW_QUEUE)?consumer_group_id={{ .Values.kafka.consumerGroup }}&num_partitions=$(KAFKA_RUN_UPDATE_SHADOW_QUEUE_NUM_PARTITIONS)
{{- end -}}
{{- end -}}

Expand All @@ -129,4 +129,4 @@ pubsub:/{{ .Values.global.pubSub.project }}/{{ .Values.global.pubSub.filestreamT
{{- else -}}
{{ include "wandb.mysql" . }}
{{- end -}}
{{- end -}}
{{- end -}}
148 changes: 143 additions & 5 deletions charts/operator-wandb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1024,8 +1024,8 @@
filestream:
install: false
deploymentPostfix: "bc"
pubsub:
subscriptions: ""
pubSub:
subscription: ""
envFrom:
"{{ .Release.Name }}-bucket-configmap": "configMapRef"
"{{ .Release.Name }}-kafka-configmap": "configMapRef"
Expand Down Expand Up @@ -1128,8 +1128,10 @@
flat-run-fields-updater:
install: false
deploymentPostfix: "bc"
pubsub:
subscriptions: ""
pubSub:
subscription: ""
kafka:
consumerGroup: "flat-run-fields-updater"
env:
GORILLA_RUN_UPDATE_SHADOW_QUEUE_SUBSCRIPTIONS_FLAT_RUN_FIELDS_UPDATER:
value: '{{ include "wandb.runUpdateShadowQueue" . }}'
Expand Down Expand Up @@ -1461,8 +1463,10 @@
image:
repository: wandb/megabinary
tag: latest
pubsub:
pubSub:
subscription: ""
kafka:
consumerGroup: "metric-observer"
env:
GORILLA_RUN_UPDATE_SHADOW_QUEUE_SUBSCRIPTIONS_METRIC_OBSERVER:
value: '{{ include "wandb.runUpdateShadowQueue" . }}'
Expand Down Expand Up @@ -1531,6 +1535,140 @@
path: redis_ca.pem
optional: true

history:
install: false
image:
repository: wandb/megabinary
tag: latest
service:
enabled: true
ports:
- port: 8087
protocol: TCP
name: history
pubSub:
subscription: ""
kafka:
consumerGroup: "history-updater"
env:
GORILLA_PORT:
value: "8087"
GORILLA_RUN_UPDATE_SHADOW_QUEUE_SUBSCRIPTIONS_HISTORY_UPDATER:
value: '{{ include "wandb.runUpdateShadowQueue" . }}'
envFrom:
"{{ .Release.Name }}-bucket-configmap": "configMapRef"
"{{ .Release.Name }}-mysql-configmap": "configMapRef"
"{{ .Release.Name }}-redis-configmap": "configMapRef"
"{{ .Release.Name }}-kafka-configmap": "configMapRef"
"{{ .Release.Name }}-global-configmap": "configMapRef"
"{{ .Release.Name }}-global-secret": "secretRef"
envTpls:
- '{{ include "wandb.downwardEnvs" . }}'
- '{{ include "wandb.bucket.cwIdentity" . }}'
- '{{ include "wandb.bucketEnvs" . }}'
- '{{ include "wandb.mysqlEnvs" . }}'
- '{{ include "wandb.redisEnvs" . }}'
- '{{ include "wandb.queueEnvs" . }}'
- '{{ include "wandb.historyStoreEnvs" . }}'
- '{{ include "wandb.observabilityEnvs" . }}'
- '{{ include "wandb.license" . }}'
containers:
history:
args: ["history"]
ports:
- name: history
containerPort: 8087
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: 8087
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 30
failureThreshold: 3
successThreshold: 1
readinessProbe:
httpGet:
path: /ready
port: 8087
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 30
failureThreshold: 3
successThreshold: 1
volumeMountsTpls:
- '{{ include "wandb.caCertsVolumeMounts" . }}'
volumesTpls:
- '{{ include "wandb.caCertsVolumes" . }}'
size: ""
sizing:
small:
resources:
limits:
cpu: "2"
memory: 4Gi
requests:
cpu: "1"
memory: 2Gi
autoscaling:
horizontal:
enabled: true
maxReplicas: 2
minReplicas: 1
medium:
resources:
limits:
cpu: "2"
memory: 4Gi
requests:
cpu: "1"
memory: 2Gi
autoscaling:
horizontal:
enabled: true
maxReplicas: 3
minReplicas: 1
large:
resources:
limits:
cpu: "2"
memory: 4Gi
requests:
cpu: "1"
memory: 3Gi
autoscaling:
horizontal:
enabled: true
maxReplicas: 4
minReplicas: 1
xlarge:
resources:
limits:
cpu: "2"
memory: 4Gi
requests:
cpu: "1"
memory: 3Gi
autoscaling:
horizontal:
enabled: true
maxReplicas: 5
minReplicas: 1
xxlarge:
resources:
limits:
cpu: "2"
memory: 4Gi
requests:
cpu: "1"
memory: 3Gi
autoscaling:
horizontal:
enabled: true
maxReplicas: 6
minReplicas: 1

Check failure on line 1670 in charts/operator-wandb/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test

1670:25 [trailing-spaces] trailing spaces

parquet:
install: true
deploymentPostfix: "bc"
Expand Down
Loading