diff --git a/k8s/distributed-chroma/templates/compaction-service.yaml b/k8s/distributed-chroma/templates/compaction-service.yaml index b3df32956f5..57c829dcd5a 100644 --- a/k8s/distributed-chroma/templates/compaction-service.yaml +++ b/k8s/distributed-chroma/templates/compaction-service.yaml @@ -22,10 +22,12 @@ spec: ports: - containerPort: 50051 env: + {{ range .Values.compactionService.env }} - name: CHROMA_COMPACTION_SERVICE__MY_IP valueFrom: fieldRef: fieldPath: status.podIP + {{ end }} topologySpreadConstraints: - maxSkew: 1 topologyKey: "kubernetes.io/hostname" diff --git a/k8s/distributed-chroma/templates/query-service.yaml b/k8s/distributed-chroma/templates/query-service.yaml index fba80e65bc7..c4dc3ac7f73 100644 --- a/k8s/distributed-chroma/templates/query-service.yaml +++ b/k8s/distributed-chroma/templates/query-service.yaml @@ -43,10 +43,12 @@ spec: - name: chroma mountPath: /index_data env: + {{ range .Values.queryService.env }} - name: CHROMA_QUERY_SERVICE__MY_IP valueFrom: fieldRef: fieldPath: status.podIP + {{ end }} topologySpreadConstraints: - maxSkew: 1 topologyKey: "kubernetes.io/hostname" diff --git a/k8s/distributed-chroma/values.yaml b/k8s/distributed-chroma/values.yaml index 0ef185b9f7f..b7e05d122b6 100644 --- a/k8s/distributed-chroma/values.yaml +++ b/k8s/distributed-chroma/values.yaml @@ -51,11 +51,13 @@ queryService: image: repository: 'local' tag: 'query-service' + env: compactionService: image: repository: 'local' tag: 'compaction-service' + env: sysdbMigration: image: