runtime
runtime copied to clipboard
VOLUME-CLASS not set for volumes created as part of services.
acorn version - v0.9.0-rc1-21-g5ec86098+5ec86098
Steps to reproduce the problem:
- Deploy mariadb service -
acorn run -n mydb ghcr.io/acorn-io/mariadb:v1.#.#
- 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
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
.