Skip to content

Commit 7810eaa

Browse files
authored
chore: add support to args modification & update readme (qdrant#35)
Signed-off-by: Cyril Corbon <corboncyril@gmail.com>
1 parent c4d78e6 commit 7810eaa

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# Qdrant helm chart
22

3-
[Qdrant documentation](https://qdrant.tech/documentation/)
3+
[Qdrant documentation](https://qdrant.tech/documentation/)
44

5+
## Disclaimer
56

6-
## Disclaimer;
77
For production use cases, please pin the version of the qdrant image in the values.yaml file to a specific version instead of latest
88

9-
## TLDR;
10-
9+
## TLDR
1110

1211
```bash
1312
helm repo add qdrant https://qdrant.github.io/qdrant-helm
@@ -19,7 +18,6 @@ helm install your-qdrant-installation-name qdrant/qdrant
1918

2019
This chart installs and bootstraps a Qdrant instance.
2120

22-
2321
## Prerequisites
2422

2523
- Kubernetes
@@ -35,10 +33,12 @@ helm install your-qdrant-installation-name .
3533
```
3634

3735
To install a specific version of the qdrant image
36+
3837
```bash
3938
helm install your-qdrant-installation-name . --set image.tag=v0.9.0
4039
```
41-
DISCLAIMER: This could lead to unexpected behaviour depending on chart version vs Qdrant image version
40+
41+
DISCLAIMER: This could lead to unexpected behaviour depending on chart version vs Qdrant image version
4242

4343
Unistall via:
4444

@@ -55,7 +55,7 @@ kubectl delete pvc -l app.kubernetes.io/instance=your-qdrant-installation-name
5555
## Configuration
5656

5757
For documentation of the settings please refer to [Qdrant Configuration File](https://github.com/qdrant/qdrant/blob/master/config/config.yaml)
58-
All of these configuration options could be overwritten under config in `values.yaml`.
58+
All of these configuration options could be overwritten under config in `values.yaml`.
5959
A modifcation example is provided there.
6060

6161
### Distributed setup
@@ -75,6 +75,12 @@ To restore a snapshot create a Persistent Volume and a Persistent Volume Claim u
7575
Example EBS pv, pvc and volume creation command is added in examples directory
7676
Note: Make sure volume is on the same region and availability zone as where qdrant is going to be installed.
7777

78+
### Metrics endpoints
79+
80+
Metrics are availables on rest api (default port set to 6333) at `/metrics`
81+
82+
Refer to [qdrant metrics configuration](https://qdrant.tech/documentation/telemetry/#metrics) for more information
83+
7884
### Enable rolling update on configuration change
7985

8086
To enable rolling update on config map modification set `updateConfigurationOnChange` to true

templates/statefulset.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ spec:
3737
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
3838
imagePullPolicy: {{ .Values.image.pullPolicy }}
3939
command: ["/bin/sh", "-c"]
40-
args: ["./config/initialize.sh"]
40+
{{- with .Values.args }}
41+
args:
42+
{{- toYaml . | nindent 10 }}
43+
{{- end }}
4144
ports:
4245
{{- range .Values.service.ports }}
4346
- name: {{ .name }}

values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ image:
88
imagePullSecrets: []
99
nameOverride: ""
1010
fullnameOverride: ""
11+
args: ["./config/initialize.sh"]
1112

1213
# checks - Readiness and liveness checks can only be enabled for either http (REST) or grpc (multiple checks not supported)
1314
# grpc checks are only available from k8s 1.24+ so as of per default we check http

0 commit comments

Comments
 (0)