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 Feb 2, 2024
1 parent a337492 commit 8b1f8b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/app/api/v1/endpoints/ocp/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,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 8b1f8b1

Please sign in to comment.