Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL for testing persistent storage subsystem of an Akash provider #512

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

shimpa1
Copy link
Contributor

@shimpa1 shimpa1 commented Mar 26, 2024

No description provided.

@Dimokus88
Copy link
Contributor

Dimokus88 commented Apr 13, 2024

Hello @shimpa1 !
I'm not sure that fio needs so many installations of additional components.
Using ssh is also unnecessary for such a test. Unless, of course, we are talking only about testing the persistent storage of providers. Although I may be wrong, let me know what you think about it.

UPD. Add info in root README.md about this template.

Perhaps this solution will also solve the same tasks:

---
version: "2.0"

services:
  app:
    image: ubuntu:22.04
    expose:
      - port: 80
        to:
          - global: true
    command:
      - "bash"
      - "-c"
    args:
      - 'apt-get update ; apt-get upgrade -y ; apt-get install -y fio ; date ;
      fio --filename=/root/fio/fio_random_rw_iops_1 --size=90GB --direct=1 --rw=randrw --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name=iops-test-job --eta-newline=1 ;
      echo Test complited! ; sleep infinity '
    params:
      storage:
        fio-test:
          mount: /root/fio
          readOnly: false
profiles:
  compute:
    app:
      resources:
        cpu:
          units: 1.0
        memory:
          size: 1Gi
        storage:
          - size: 10Gi
          - name: fio-test
            size: 100Gi
            attributes:
              persistent: true
              class: beta3
  placement:
    akash:
      attributes:
      pricing:
        app:
          denom: uakt
          amount: 10000
deployment:
  app:
    akash:
      profile: app
      count: 1

Added support for persistent storage so historic data persists through pod restarts

By default it is enabled.
@shimpa1
Copy link
Contributor Author

shimpa1 commented Sep 15, 2024

hey Dimokus!

Of course, please do any changes you deem neccessary!

@Dimokus88
Copy link
Contributor

Dimokus88 commented Sep 16, 2024

Hey @shimpa1 !
Add info in root README.md (awesome-akash repo) about this template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants