Skip to content

Commit

Permalink
chore: add environment variables for Qdrant and VLLM services in depl…
Browse files Browse the repository at this point in the history
…oyment YAML files
  • Loading branch information
SawyerCzupka committed Feb 22, 2025
1 parent 3aaec55 commit e228d00
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
21 changes: 19 additions & 2 deletions deployment/ml-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,24 @@ spec:
imagePullPolicy: Always
volumeMounts:
- name: scopenfs
mountPath: /scope # Any path you want to mount to.
mountPath: /scope # Any path you want to mount to.
env:
- name: QDRANT_URL
value: "http://qdrant-svc:6333"
- name: QDRANT_COLLECTION_NAME
value: "scope-gef"
- name: VLLM_URL
value: "http://vllm-svc:8000"
- name: VLLM_MODEL_NAME
value: "TODO"
- name: TEI_URL
value: "http://text-embedding-svc:8080"
- name: DATA_BASE_DIR
value: "/scope/scope-data/gef/output"
- name: LLM_CONTEXT_WINDOW
value: "32768"
- name: LLM_NUM_OUTPUT
value: "8192"
resources:
limits:
cpu: 8
Expand All @@ -34,7 +51,7 @@ spec:
volumes:
- name: scopenfs
nfs:
server: 128.239.59.144 # NFS Server address.
server: 128.239.59.144 # NFS Server address.
path: /sciclone/geograd/scope

---
Expand Down
4 changes: 2 additions & 2 deletions deployment/text-embedding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
value: "nomic-ai/nomic-embed-text-v1.5"
volumeMounts:
- name: scopenfs-tei
mountPath: /data # Any path you want to mount to.
mountPath: /data # Any path you want to mount to.
resources:
limits:
cpu: "8"
Expand All @@ -36,7 +36,7 @@ spec:
volumes:
- name: scopenfs-tei
nfs:
server: 128.239.59.144 # NFS Server address.
server: 128.239.59.144 # NFS Server address.
path: /sciclone/geograd/scope/k8s-storage/text-embedding

---
Expand Down

0 comments on commit e228d00

Please sign in to comment.