Skip to content

Commit

Permalink
Merge pull request #55 from jtaleric/graph-deploy-size
Browse files Browse the repository at this point in the history
Update sizing for graph endpoint
  • Loading branch information
chentex authored Feb 5, 2024
2 parents a337492 + 8b1f8b1 commit 373baab
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 373baab

Please sign in to comment.