Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Sync prerequisites with Helm Charts (#4483)

petertc713f38090bcb
diff --git a/helm/templates/elasticsearch.yaml b/helm/templates/elasticsearch.yaml
index 5307b9561a..8409442f13 100644
--- a/helm/templates/elasticsearch.yaml
+++ b/helm/templates/elasticsearch.yaml
@@ -52,6 +52,12 @@ spec:
volumeMounts:
- mountPath: /usr/share/elasticsearch/data
name: es-data
+ - name: sysctl
+ image: busybox
+ securityContext:
+ privileged: true
+ runAsUser: 0
+ command: ["sysctl", "-w", "vm.max_map_count=262144"]
containers:
- name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:{{ .Values.env.STACK_VERSION }}
diff --git a/helm/values.yaml b/helm/values.yaml
index ebf1b02d0a..898fdd5dbb 100644
--- a/helm/values.yaml
+++ b/helm/values.yaml
@@ -91,7 +91,8 @@ elasticsearch:
strategy:
resources:
requests:
- memory: 8Gi
+ cpu: "4"
+ memory: "16Gi"
service:
type: ClusterIP