Added config map

This commit is contained in:
Fabrizio Bonavita
2022-05-25 13:20:06 +02:00
parent 52d97405fb
commit d2de66b471
4 changed files with 47 additions and 1 deletions

View File

@@ -21,4 +21,4 @@ version: 0.1.0
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"
appVersion: "0.7.0"

7
templates/configmap.yaml Normal file
View File

@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: qdrant-config
data:
config.yaml: |
{{- toYaml .Values.config | nindent 4 }}

View File

@@ -60,6 +60,9 @@ spec:
volumeMounts:
- name: qdrant-storage
mountPath: /qdrant/storage
- name: qdrant-config
mountPath: /qdrant/config
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
@@ -72,6 +75,11 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: qdrant-config
configMap:
name: qdrant-config
volumeClaimTemplates:
- metadata:
name: qdrant-storage

View File

@@ -59,3 +59,34 @@ affinity: {}
persistence:
accessModes: [ "ReadWriteOnce" ]
size: 1Gi
config:
debug: false
log_level: INFO
storage:
storage_path: ./storage
wal:
wal_capacity_mb: 32
wal_segments_ahead: 0
performance:
max_search_threads: 0
optimizers:
deleted_threshold: 0.2
vacuum_min_vector_number: 1000
default_segment_number: 5
max_segment_size: 200000
memmap_threshold: 50000
indexing_threshold: 20000
payload_indexing_threshold: 10000
flush_interval_sec: 1
max_optimization_threads: 0
hnsw_index:
m: 16
ef_construct: 100
full_scan_threshold: 10000
service:
max_request_size_mb: 32
max_workers: 0
host: 0.0.0.0
http_port: 6333
grpc_port: null