mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-05 21:21:02 +00:00
46 lines
956 B
YAML
46 lines
956 B
YAML
|
apiVersion: v1
|
||
|
kind: PersistentVolumeClaim
|
||
|
metadata:
|
||
|
name: qdrant-pvc
|
||
|
spec:
|
||
|
accessModes:
|
||
|
- ReadWriteOnce
|
||
|
resources:
|
||
|
requests:
|
||
|
storage: 10Gi
|
||
|
|
||
|
---
|
||
|
|
||
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: qdrant
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: qdrant
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: qdrant
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: qdrant
|
||
|
image: qdrant/qdrant:latest
|
||
|
ports:
|
||
|
- containerPort: 6333
|
||
|
resources:
|
||
|
limits:
|
||
|
memory: "2Gi" # Adjust based on your needs
|
||
|
cpu: "1" # Adjust based on your needs
|
||
|
requests:
|
||
|
memory: "1Gi" # Adjust based on your needs
|
||
|
cpu: "500m" # Adjust based on your needs
|
||
|
volumeMounts:
|
||
|
- name: qdrant-data
|
||
|
mountPath: /qdrant/storage
|
||
|
volumes:
|
||
|
- name: qdrant-data
|
||
|
persistentVolumeClaim:
|
||
|
claimName: qdrant-pvc
|