-
Notifications
You must be signed in to change notification settings - Fork 3
/
fk-covid-net-api.yaml
49 lines (48 loc) · 1.06 KB
/
fk-covid-net-api.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: fk-covid-net-api
namespace: kubeflow
labels:
app: fk-covid-net-api
spec:
replicas: 1
selector:
matchLabels:
app: fk-covid-net-api
template:
metadata:
labels:
app: fk-covid-net-api
spec:
containers:
- name: fk-covid-net-api
image: chanwit/fk-covid-net-api@sha256:586027c872fb678ea3e43f32da3c4a85ed1357c3461ee15497fb9f0a702408c8
ports:
- containerPort: 8080
env:
- name: MINIO_ENDPOINT
value: minio-service.kubeflow:9000
- name: MINIO_ACCESS_KEY
value: minio
- name: MINIO_SECRET_KEY
value: minio123
- name: MINIO_SSL
value: "false"
- name: FK_COVID_NET_INFERENCE_ENDPOINT
value: fk-covid-net-inference.kubeflow:5000
---
apiVersion: v1
kind: Service
metadata:
labels:
app: fk-covid-net-api
name: fk-covid-net-api
namespace: kubeflow
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
app: fk-covid-net-api