Closed sangee2004 closed 6 months ago
Tested with acorn version - v0.10.0-rc2-9-g43dbcbf4+43dbcbf4
Able to create a computeclass with resources field containing requests and limits using following yaml :
kind: ClusterComputeClass
apiVersion: admin.acorn.io/v1
default: false
metadata:
name: cc-res
description: Large compute for linux on arm64
cpuScaler: 0.75
supportedRegions:
- local
memory:
default: 20M
min: 10M
max: 100M
resources:
limits:
gpu-vendor.example/example-gpu: 2
requests:
gpu-vendor.example/example-gpu: 2
Able to list this computeclass using acorn offerings computeclass
and deploy apps using this computeclass.
acorn version -
v0.10.0-rc2+e32a2709
Steps to reproduce the problem:
Try to create a
ClusterComputeClassInstance
with resource limit/request set to integer values.This fails with following errors:
Try to create a
ClusterComputeClassInstance
with resource limit/request set to string. This succeeds. But app deployment using this computeclass fails with following errorSame error is also seen when listing computeclass