Skip to content

Commit

Permalink
Update sizing for graph endpoint
Browse files Browse the repository at this point in the history
Update the sizing logic

Signed-off-by: Joe Talerico <[email protected]>
  • Loading branch information
Joe Talerico committed Nov 27, 2023
1 parent 9150d32 commit 082ed8b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/app/api/v1/endpoints/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,12 @@ async def trend_cpu(namespace: str, benchmark: str, count: int, version: str):
if count > 50 :
meta['masterNodesType'] = "m6a.4xlarge"
meta['workerNodesType'] = "m5.xlarge"
else:
elif count <= 24 and count > 20 :
meta['masterNodesType'] = "m6a.xlarge"
meta['workerNodesType'] = "m6a.xlarge"
else :
meta['masterNodesType'] = "m5.2large"
meta['workerNodesType'] = "m5.xlarge"
meta['workerNodesCount'] = count
meta['platform'] = "AWS"
meta['ocpVersion']= version
Expand Down

0 comments on commit 082ed8b

Please sign in to comment.