acorn-io / runtime

A simple application deployment framework built on Kubernetes
https://docs.acorn.io/
Apache License 2.0
1.13k stars 100 forks source link

Remove cpuScaler from resolvedOfferings #2443

Open sangee2004 opened 10 months ago

sangee2004 commented 10 months ago

acorn version - v0.10.0-rc5+e2b69a6d

Steps to reproduce the problem:

  1. Deploy app with a computeclass that has cpuScaler set
  2. Once app is deployed , notice that resolvedOfferings in acorn ps -o json has cpuScaler info.
               "resolvedOfferings": {
                    "containers": {
                        "": {
                            "class": "cc2",
                            "memory": 30000000,
                            "cpuScaler": 0.75
                        },
                        "mywebnew": {
                            "class": "cc2",
                            "memory": 30000000,
                            "cpuScaler": 0.75
                        }
                    },

Expected Behavior: Remove cpuScaler from resolvedOfferings