This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
ff-deployments.yaml
107 lines (107 loc) · 2.08 KB
/
ff-deployments.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
service: api
name: api
spec:
replicas: 1
selector:
matchLabels:
service: api
strategy:
type: Recreate
template:
metadata:
labels:
api: "true"
detectors: "true"
frontend: "true"
service: api
spec:
containers:
- image: iqtlabs/fakefinder-api
imagePullPolicy: Never
name: api
ports:
- containerPort: 5000
resources: {}
volumeMounts:
- mountPath: /uploads
name: uploads
restartPolicy: Always
volumes:
- name: uploads
hostPath:
path: /ff-data/uploads
type: Directory
status: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
service: dash
name: dash
spec:
replicas: 1
selector:
matchLabels:
service: dash
strategy: {}
template:
metadata:
labels:
frontend: "true"
service: dash
spec:
containers:
- image: iqtlabs/fakefinder-dash
imagePullPolicy: Never
name: dash
ports:
- containerPort: 8050
resources: {}
restartPolicy: Always
status: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
service: detectors
name: detectors
spec:
replicas: 1
selector:
matchLabels:
service: detectors
strategy:
type: Recreate
template:
metadata:
labels:
detectors: "true"
service: detectors
spec:
containers:
- image: iqtlabs/fakefinder-detectors
imagePullPolicy: Never
name: detectors
resources: {}
volumeMounts:
- mountPath: /weights
name: weights
- mountPath: /uploads
name: uploads
restartPolicy: Always
volumes:
- name: uploads
hostPath:
path: /ff-data/uploads
type: Directory
- name: weights
hostPath:
path: /ff-data/weights
type: Directory
status: {}