Skip to content

Commit 6c5cd74

Browse files
authored
Merge pull request #9 from stackhpc/opensearch-default
Switch to OpenSearch as default vector DB
2 parents ca539b2 + b08b444 commit 6c5cd74

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

helm-azimuth/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ zenithClient:
1111
ragflow:
1212
env:
1313
RAGFLOW_IMAGE: infiniflow/ragflow:v0.19.1
14-
DOC_ENGINE: infinity
14+
DOC_ENGINE: opensearch

helm/templates/opensearch.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,14 @@ spec:
8585
runAsUser: 1000
8686
allowPrivilegeEscalation: false
8787
livenessProbe:
88-
httpGet:
89-
path: /
90-
port: 9201
88+
exec:
89+
command:
90+
- sh
91+
- -c
92+
- curl -u admin:$OPENSEARCH_PASSWORD localhost:9201
9193
initialDelaySeconds: 30
9294
periodSeconds: 10
93-
timeoutSeconds: 10
94-
failureThreshold: 120
95+
failureThreshold: 6
9596
volumes:
9697
- name: opensearch-data
9798
persistentVolumeClaim:

helm/templates/redis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ spec:
6868
- metadata:
6969
name: redis-data
7070
labels:
71-
{{- include "ragflow.labels" . | nindent 10 }}
71+
{{- include "ragflow.selectorLabels" . | nindent 10 }}
7272
app.kubernetes.io/component: redis
7373
spec:
7474
accessModes:
@@ -109,4 +109,4 @@ spec:
109109
selector:
110110
matchLabels:
111111
{{- include "ragflow.selectorLabels" . | nindent 6 }}
112-
app.kubernetes.io/component: redis
112+
app.kubernetes.io/component: redis

helm/values.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,6 @@ redis:
192192
resources:
193193
service:
194194
type: ClusterIP
195-
persistence:
196-
enabled: false
197195

198196

199197
# This block is for setting up web service ingress. For more information, see:

0 commit comments

Comments
 (0)