runtime icon indicating copy to clipboard operation
runtime copied to clipboard

VOLUME-CLASS not set for volumes created as part of services.

Open sangee2004 opened this issue 1 year ago • 1 comments

acorn version - v0.9.0-rc1-21-g5ec86098+5ec86098

Steps to reproduce the problem:

  1. Deploy mariadb service - acorn run -n mydb ghcr.io/acorn-io/mariadb:v1.#.#
  2. Volume created by the service does not have volume-class
acorn volumes
NAME                     BOUND-VOLUME   CAPACITY   VOLUME-CLASS   STATUS     ACCESS-MODES   CREATED
mydb.db-data             db-data        10G                       bound      RWO            11m ago

Same behavior is also seen when deploying apps that consume Mariadb following examples from - https://beta-docs.acorn.io/getting-started

App:

mytestnewm      f274cfcd5125                                      18m ago   http://app-mytestnewm-7b61766c.local.oss-acorn.io         OK
mytestnewm.db   ghcr.io/acorn-io/mariadb:v1.0.0*   4935ab94ff11   18m ago                                                             OK

Volume:

mytestnewm.db.db-data    db-data        10G                       bound      RWO            18m ago

sangee2004 avatar Oct 11 '23 23:10 sangee2004

This issue is seen only when testing with my local cluster were storage-class is local-path. I see it work as expected when testing in hub server where storage-class is ebs-retain.

sangee2004 avatar Nov 18 '23 00:11 sangee2004