r/FastAPI • u/Remarkable-Effort-93 • Oct 17 '25
Question FastAPI on Kubernetes
So I wanted to now, in your experience, how many resources do you request for a simple API for it's kubernetes (Openshift) deployment? From a few searches on google I got that 2 vcores are considered a minimum viable CPU request but it seems crazy to me, They barely consume 0.015 vcores while running and receiving what I consider will be their standard load (about 1req/sec). So the question is If you guys have reached any rule of thumb to calculated a good resources request based on average consumption?
7
Upvotes
View all comments
Show parent comment
2
u/Remarkable-Effort-93 Oct 17 '25
My endpoint receives request that weights a little less than 10kb, runs some calculations and returns 1 single field, no 3rd party calls or BD interaction