Skip to content

Commit 008556e

Browse files
authored
[NEW CHART] Qdrant (#148)
1 parent a356caa commit 008556e

File tree

5 files changed

+456
-0
lines changed

5 files changed

+456
-0
lines changed

charts/qdrant/.helmignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/

charts/qdrant/Chart.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
apiVersion: v2
2+
name: qdrant
3+
description: Qdrant - Vector Database for the next generation of AI applications.
4+
home: https://qdrant.tech
5+
sources:
6+
- https://github.com/qdrant/qdrant
7+
- https://github.com/qdrant/qdrant-helm
8+
keywords:
9+
- vector database
10+
icon: https://minio.lab.sspcloud.fr/projet-onyxia/assets/servicesImg/qdrant.png
11+
12+
# A chart can be either an 'application' or a 'library' chart.
13+
#
14+
# Application charts are a collection of templates that can be packaged into versioned archives
15+
# to be deployed.
16+
#
17+
# Library charts provide useful utilities or functions for the chart developer. They're included as
18+
# a dependency of application charts to inject those utilities and functions into the rendering
19+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
20+
type: application
21+
22+
# This is the chart version. This version number should be incremented each time you make changes
23+
# to the chart and its templates, including the app version.
24+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25+
version: 0.1.0
26+
27+
# This is the version number of the application being deployed. This version number should be
28+
# incremented each time you make changes to the application. Versions are not expected to
29+
# follow Semantic Versioning. They should reflect the version the application is using.
30+
# It is recommended to use it with quotes.
31+
appVersion: "1.13.2"
32+
33+
dependencies:
34+
- name: qdrant
35+
version: 1.13.2
36+
repository: https://qdrant.github.io/qdrant-helm

charts/qdrant/templates/NOTES.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{{- if .Values.qdrant.apiKey }}
2+
Your api key is: **{{ .Values.qdrant.apiKey }}**
3+
{{ end }}
4+
5+
{{- if .Values.qdrant.ingress.enabled }}
6+
You can connect to qdrant with your browser on this [link](https://{{ index .Values.qdrant.ingress.hosts 0 "host" }}/dashboard)
7+
{{- end }}
8+
9+
You can connect to qdrant from inside the datalab at this url : **https://{{ .Values.qdrant.fullnameOverride }}:6333**
10+
11+
Only one chart of {{ .Chart.Name }} can be started in a namespace
12+
13+
*NOTES about deletion :*
14+
15+
- **You can safely delete this chart and recreate one later**
16+
- Data volumes will not be deleted
17+
- If you start a new {{ .Chart.Name }}, it will reuse those volumes silently.
18+
- If you want to delete those volumes definitely : `kubectl delete pvc data-qdrant-0`
19+

charts/qdrant/values.schema.json

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema",
3+
"type": "object",
4+
"properties": {
5+
"qdrant": {
6+
"title": "Qdrant",
7+
"type": "object",
8+
"properties": {
9+
"image": {
10+
"title": "Docker image",
11+
"type": "object",
12+
"properties": {
13+
"pullPolicy": {
14+
"title": "Pull image from registry",
15+
"type": "string",
16+
"default": "IfNotPresent",
17+
"enum": [
18+
"IfNotPresent",
19+
"Always",
20+
"Never"
21+
]
22+
},
23+
"tag": {
24+
"type": "string",
25+
"default": "v1.13.2-gpu-nvidia"
26+
},
27+
"repository": {
28+
"type": "string",
29+
"default": "docker.io/qdrant/qdrant"
30+
}
31+
}
32+
},
33+
"ingress": {
34+
"type": "object",
35+
"form": true,
36+
"title": "Ingress Details",
37+
"properties": {
38+
"enabled": {
39+
"description": "Enable Ingress",
40+
"type": "boolean",
41+
"default": true,
42+
"x-onyxia": {
43+
"hidden": true,
44+
"overwriteDefaultWith": "k8s.ingress"
45+
}
46+
},
47+
"ingressClassName": {
48+
"type": "string",
49+
"title": "ingressClassName",
50+
"default": "",
51+
"x-onyxia": {
52+
"overwriteDefaultWith": "k8s.ingressClassName",
53+
"hidden": true
54+
}
55+
},
56+
"hosts": {
57+
"type": "array",
58+
"x-onyxia": {
59+
"hidden": true,
60+
"default": [],
61+
"overwriteDefaultWith": [
62+
{
63+
"host": "{{project.id}}-{{k8s.randomSubdomain}}-0.{{k8s.domain}}",
64+
"paths": [
65+
{
66+
"path": "/",
67+
"pathType": "Prefix",
68+
"servicePort": 6333
69+
}
70+
]
71+
}
72+
]
73+
}
74+
},
75+
"tls": {
76+
"type": "array",
77+
"description": "TLS settings for ingress.",
78+
"default": [],
79+
"x-onyxia": {
80+
"hidden": true,
81+
"overwriteDefaultWith": [
82+
{
83+
"hosts": [
84+
"{{project.id}}-{{k8s.randomSubdomain}}-0.{{k8s.domain}}"
85+
],
86+
"secretName": "tls-secret-name"
87+
}
88+
]
89+
}
90+
}
91+
}
92+
},
93+
"persistence": {
94+
"title": "Persistence",
95+
"type": "object",
96+
"properties": {
97+
"size": {
98+
"type": "string",
99+
"title": "Persistent volume size",
100+
"description": "Size of the persistent volume",
101+
"default": "10Gi",
102+
"form": true,
103+
"render": "slider",
104+
"sliderMin": 1,
105+
"sliderMax": 100,
106+
"sliderStep": 1,
107+
"sliderUnit": "Gi"
108+
}
109+
}
110+
},
111+
"apiKey": {
112+
"title": "Api Key",
113+
"type": "string",
114+
"default": "",
115+
"x-onyxia":{
116+
"overwriteDefaultWith": "service.oneTimePassword"
117+
}
118+
}
119+
}
120+
}
121+
}
122+
}

0 commit comments

Comments
 (0)