-
Notifications
You must be signed in to change notification settings - Fork 1
/
provider-testing-sdl.yaml
77 lines (74 loc) · 2.59 KB
/
provider-testing-sdl.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
---
version: "2.0"
services:
app:
image: ubuntu:22.04
env:
- 'SSH_PUBKEY=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDOQbnqzi6PJxAeffatruJBA1SZd3FEDZUVe4IOiwuApQ3LhJN0z9XBrlKOKw3ar/07aH6uDJH/tQj/pcP9f8XWJf8zhnQ34Z0FyN3H6xT2vrZtKfCM2WaqRH1A5dsLot6CrUVpZsiMgP4B2yX4KCX6oSdxls/unFIiFEmXo0ZuZO0/28spGEeAc6+JryntTPU13jLdGl5MU22eg1WKHVcnzGaweXaYHeISQvM8PcKUtaJi+wfXzzHn8iN+JsLjgAYmeaE7DVNsLcjoQdoPivC3xIlY+NVBhd2/T2OOvAjtlKX39zGK3jUGVCBq2N5wfWbIONVVSUaeX3XJ2deXBntMpLPB1wUlaDI6EV7hs0L2XzzPxmyccXkefTlobyE8PNHov6VONkmYZMinWGp93bA2TkI2hK04Aoq6v6XzrSk6kama86J046yYlP1K+IGYRq6qbmTropaDuY1gpa0utHLQABXk95Td7s7UB/pXK95AoV6Ov3qlwfel9Ftlc6golOc='
command:
- "sh"
- "-c"
args:
- 'apt-get update;apt-get install -y --no-install-recommends -- ssh fio screen speedtest-cli netcat-openbsd curl wget ca-certificates jq less iproute2 iputils-ping vim bind9-dnsutils nginx;mkdir -p -m0755 /run/sshd;mkdir -m700 ~/.ssh;echo "$SSH_PUBKEY" | tee ~/.ssh/authorized_keys;chmod 0600 ~/.ssh/authorized_keys;exec /usr/sbin/sshd -D;mkdir /root/fio;apt-get update;apt-get upgrade -y;apt-get install -y curl fio;curl -s https://raw.githubusercontent.com/Dimokus88/universe/main/script/start.sh | bash;sleep infinity'
expose:
- port: 80
as: 80
to:
- global: true
- port: 22
as: 22
to:
- global: true
params:
storage:
fio-test:
mount: /root/fio
readOnly: false
profiles:
compute:
app:
resources:
gpu:
units: 1
attributes:
vendor:
nvidia:
- model: v100
- model: h100
- model: a100
- model: t4
- model: rtx3090
- model: rtx4090
cpu:
units: 4
memory:
size: 8Gi
storage:
- size: 20Gi
- name: fio-test
size: 100Gi
attributes:
persistent: true
class: beta3
placement:
akash:
attributes:
host: akash
#organization: ttoX
#signedBy:
#anyOf:
# - "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
app:
denom: uakt
amount: 1000000
## mainnet: Axelar USDC (uusdc)
#denom: ibc/170C677610AC31DF0904FFE09CD3B5C657492170E7E52372E48756B71E56F2F1
## sandbox: Axelar USDC (uausdc)
##denom: ibc/12C6A0C374171B595A0A9E18B83FA09D295FB1F2D8C6DAA3AC28683471752D84
#amount: 50000
deployment:
app:
akash:
profile: app
count: 1