forked from akash-network/awesome-akash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.yaml
80 lines (77 loc) · 1.39 KB
/
deploy.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
---
version: "2.0"
services:
tfserver:
image: wlouie1/mnist-tf-serve:1.0
expose:
- port: 8501
flaskserver:
image: wlouie1/mnist-flask-serve:1.0
expose:
- port: 5000
depends-on:
- tfserver
web:
image: wlouie1/mnist-app:1.0
expose:
- port: 80
as: 80
to:
- global: true
depends-on:
- flaskserver
profiles:
compute:
tfserver:
resources:
cpu:
units: 0.2
memory:
size: 512Mi
storage:
size: 512Mi
flaskserver:
resources:
cpu:
units: 0.2
memory:
size: 256Mi
storage:
size: 1Gi
web:
resources:
cpu:
units: 0.1
memory:
size: 256Mi
storage:
size: 512Mi
placement:
westcoast:
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
- "akash18qa2a2ltfyvkyj0ggj3hkvuj6twzyumuaru9s4"
pricing:
tfserver:
denom: uakt
amount: 10000
flaskserver:
denom: uakt
amount: 10000
web:
denom: uakt
amount: 10000
deployment:
tfserver:
westcoast:
profile: tfserver
count: 1
flaskserver:
westcoast:
profile: flaskserver
count: 1
web:
westcoast:
profile: web
count: 1