Skip to content

add a note on the provider-audit documentation page for providers who don't run gpu or ceph on what can be removed from the audit sdl template #1270

Description

@onenode-dev

url: https://akash.network/docs/providers/operations/provider-audit/

the template quoted on this page: https://github.com/akash-network/community/blob/main/audit/standalone-audit.sdl.yaml has the following sections that caused my provider to not show up in the bidders list while trying to deploy this for audit purposes:

  • for GPU:
      - AUDIT_GPU_ENABLED=true

.
.
.
        gpu:
          units: 1
          attributes:
            vendor:
              nvidia:
  • for persistent storage (CEPH):
      - AUDIT_PV_MOUNT_PATH=/data
.
.
.
        data:
          mount: /data
          readOnly: false
.
.
.
          - name: data
            size: 50Gi
            attributes:
              persistent: true
              class: beta3

GPU one was not too bad, disabling it was quite clear (however, in the documentation, it would have been good to mention that it can be removed)

But the persistent storage one, I was hesitating to remove because I wasn't sure if the audit had a test for persistent storage or not. It would be good to add that to the documentation too, that it is either safe to remove, and if not, what to do if the provider doesn't have ceph installed.

after removing, mine looked like this, and I was able to see my provider in the bidders list and was able to complete the audit.

# Akash SDL (validated against https://console.akash.network/sdl-schema.yaml)
# Stack Definition Language v2 — shareable audit (app :8080, ingress :80, no S3).
# Lives in this repo at audit/standalone-audit.sdl.yaml
#
# Tune: image tag, AUDIT_PROVIDER_ID, AUDIT_GPU_ENABLED (off by default; use auto or 1 for GPU), gpu model, resources, pricing, storage classes.
# Mount paths for volumes are only under services.*.params.storage (not on profile storage items).

---
version: "2.0"

services:
  provider-audit:
    image: zblocker64/overclock-test-deployment:0.3.3
    env:
      - AUDIT_STANDALONE_UI=1
      - AUDIT_HTTP_BIND=0.0.0.0
      - AUDIT_HTTP_PORT=8080
      - AUDIT_PROVIDER_ID=akash1dudfnsqwfecytfqxwvnfc7eqc5ca429zfkhwyd
      - AUDIT_TIMEOUT_SECONDS=3600
      - AUDIT_RAM_REQUIRED=true
      - AUDIT_RAM_MOUNT_PATH=/dev/shm
      - AUDIT_GPU_ENABLED=false
    params:
      storage:
        shm:
          mount: /dev/shm
    expose:
      - port: 8080
        as: 80
        to:
          - global: true

profiles:
  compute:
    provider-audit:
      resources:
        cpu:
          units: 8
        memory:
          size: 16Gi
        storage:
          - size: 100Gi
          - name: shm
            size: 10Gi
            attributes:
              persistent: false
              class: ram
  placement:
    akash:
      attributes:
        host: akash
      pricing:
        provider-audit:
          denom: uact
          amount: 100000

deployment:
  provider-audit:
    akash:
      profile: provider-audit
      count: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions