forked from jhurlocker/llm-on-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathattu-deployment.yaml
61 lines (61 loc) · 996 Bytes
/
attu-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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apiVersion: v1
kind: Service
metadata:
name: attu-svc
labels:
app: attu
spec:
type: ClusterIP
ports:
- name: attu
protocol: TCP
port: 3000
targetPort: 3000
selector:
app: attu
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: attu
labels:
app: attu
spec:
replicas: 1
selector:
matchLabels:
app: attu
template:
metadata:
labels:
app: attu
spec:
containers:
- name: attu
image: zilliz/attu:v2.3.8
imagePullPolicy: IfNotPresent
ports:
- name: attu
containerPort: 3000
protocol: TCP
env:
- name: MILVUS_URL
value: "vectordb-milvus:19530"
---
kind: Route
apiVersion: route.openshift.io/v1
metadata:
name: attu
labels:
app: attu
spec:
to:
kind: Service
name: attu-svc
weight: 100
port:
targetPort: attu
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect
wildcardPolicy: None