mercari / tortoise

Tortoise: Shell-Shockingly-Good Kubernetes Autoscaling
MIT License
316 stars 14 forks source link

implement MaxAllocatedResources and MaxReplicas in Tortoise #392

Closed sanposhiho closed 3 months ago

sanposhiho commented 3 months ago

What this PR does / why we need it:

We do have a global configuration to limit the max replicas or max allocated resource. But, we don't have the knobs that people can limit them per Tortoise/workload. In our development environment, some people intentionally limit the max resources to save the cost or make less traffic to their downstream services, which is difficult to achieve via a global configuration.

Which issue(s) this PR fixes:

Fixes #293

Special notes for your reviewer: