-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrag-deployment.yaml
44 lines (44 loc) · 1 KB
/
rag-deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
apiVersion: apps/v1
kind: Deployment
metadata:
name: llamaindex-rag
labels:
app: llamaindex-rag
spec:
selector:
matchLabels:
app: llamaindex-rag
template:
metadata:
labels:
app: llamaindex-rag
spec:
containers:
- name: llamaindex-rag
image: us-central1-docker.pkg.dev/peteryizhong-gke-dev/peteryizhong-repository/demo-app
imagePullPolicy: Always
env:
- name: MODEL_NAME
value: gemma2:9b
- name: OLLAMA_SERVER_URL
value: http://ollama-service:11434
- name: NEO4J_URI
value: "bolt://neo4j:7687"
- name: NEO4J_USERNAME
value: "neo4j"
- name: NEO4J_PASSWORD
value: "password123"
ports:
- containerPort: 8000
---
apiVersion: v1
kind: Service
metadata:
name: llamaindex-rag-service
spec:
selector:
app: llamaindex-rag
ports:
- protocol: TCP
port: 8000
targetPort: 8000