Skip to content

Commit

Permalink
Update Qdrant Helm release configuration and add to kustomization res…
Browse files Browse the repository at this point in the history
…ources

- Changed Helm chart name and version in helmrelease.yaml to 'qdrant' version '0.7.4'.
- Refactored values section to streamline configuration, including image repository and security context.
- Updated service configuration to specify ClusterIP and ports for HTTP and gRPC.
- Added Qdrant resource to kustomization.yaml for deployment management.
  • Loading branch information
ekenheim committed Dec 28, 2024
1 parent 2ad1fea commit 6ca1077
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 63 deletions.
98 changes: 35 additions & 63 deletions kubernetes/apps/datasci/qdrant/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.6.0
chart: qdrant
version: 0.7.4
sourceRef:
kind: HelmRepository
name: bjw-s
name: qdrant
namespace: flux-system
install:
remediation:
Expand All @@ -24,70 +24,42 @@ spec:
- name: rook-ceph-cluster
namespace: rook-ceph
values:
defaultPodOptions:
securityContext:
fsGroup: 65534
runAsGroup: 65534
runAsUser: 65534
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
replicaCount: 1

controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: qdrant/qdrant
tag: v1.12.5
env:
QDRANT__SERVICE__HTTP_PORT: &port 6333
QDRANT__SERVICE__GRPC_PORT: &grpcPort 6334
QDRANT__STORAGE__STORAGE_PATH: "/data"
resources:
requests:
cpu: 100m
memory: 500Mi
limits:
memory: 4Gi
image:
repository: qdrant/qdrant
tag: v1.12.5
pullPolicy: IfNotPresent

service:
main:
controller: main
ports:
http:
port: *port
grpc:
port: *grpcPort
p2p:
port: 6335
type: ClusterIP
port: 6333
grpcPort: 6334

ingress:
main:
enabled: true
className: internal
annotations:
gethomepage.dev/enabled: "true"
gethomepage.dev/group: AI
gethomepage.dev/name: Qdrant
gethomepage.dev/icon: database.png
gethomepage.dev/description: Vector Database
external-dns.alpha.kubernetes.io/target: internal.${SECRET_DOMAIN}
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
identifier: main
port: http
enabled: true
className: internal
annotations:
gethomepage.dev/enabled: "true"
gethomepage.dev/group: AI
gethomepage.dev/name: Qdrant
gethomepage.dev/icon: database.png
gethomepage.dev/description: Vector Database
external-dns.alpha.kubernetes.io/target: internal.${SECRET_DOMAIN}
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}"
paths:
- path: /
pathType: Prefix

persistence:
data:
enabled: true
type: persistentVolumeClaim
storageClass: ceph-block
accessMode: ReadWriteOnce
size: 10Gi
enabled: true
storageClass: ceph-block
accessMode: ReadWriteOnce
size: 10Gi

securityContext:
fsGroup: 65534
runAsGroup: 65534
runAsUser: 65534
runAsNonRoot: true
1 change: 1 addition & 0 deletions kubernetes/flux/repositories/helm/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ resources:
- ./userinit-controller.yaml
- ./weave-gitops.yaml
- ./windmill.yaml
- ./qdrant.yaml
- ./nvidia-charts.yaml
9 changes: 9 additions & 0 deletions kubernetes/flux/repositories/helm/qdrant.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: qdrant
namespace: flux-system
spec:
interval: 1h
url: https://qdrant.github.io/qdrant-helm

0 comments on commit 6ca1077

Please sign in to comment.