It deploys an app with the 10GiB
of persistent storage mounted over /opt/data
path.
The image used ubuntu:22.04
with sleep infinity
, so it does nothing, just sleeps..
So you can akash provider lease-shell
into your deployment and inspect the storage.
---
version: "2.0"
services:
sleep:
image: ubuntu:22.04
command:
- "sh"
- "-c"
args:
- sleep infinity
expose:
- port: 8080
as: 80
to:
- global: true
params:
storage:
data:
mount: /opt/data
profiles:
compute:
global:
resources:
cpu:
units: 1.0
memory:
size: 512Mi
storage:
- size: 768Mi
- name: data
size: 10Gi
attributes:
persistent: true
class: beta3
placement:
akash:
pricing:
global:
denom: uakt
amount: 100000
deployment:
sleep:
akash:
profile: global
count: 1