Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

resolvedOfferings doesnot reflect the correct value for memory when it is set in cli using "-m" option. #2389

@sangee2004

Description

@sangee2004

acorn version - v0.10.0-rc1-10-g707f2e8a+707f2e8a

Steps to reproduce the problem:
Scenario 1:

  1. Deploy app using "-m" option - acorn run -m 1gi -n <app-name> .
  2. Once app is deployed, check the memory set for container in resolvedOfferings using acorn ps <app-name> -o json
                "resolvedOfferings": {
                    "containers": {
                        "": {
                            "class": "default",
                            "memory": 536870912,
                            "cpuScaler": 0.25
                        },
                        "app": {
                            "class": "default",
                            "memory": 536870912,
                            "cpuScaler": 0.25
                        }
                    },
                    "region": "***"
                },

It has incorrect values ( defaults from computeclass).

Expected Behavior:
Memory should reflect the correct value set from "-m" option.

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions