mercari / tortoise

Tortoise: Shell-Shockingly-Good Kubernetes Autoscaling
MIT License
400 stars 15 forks source link

define maxReplicas / maxAllocatedResource in Tortoise API to limit scaling per workload #293

Closed sanposhiho closed 6 months ago

sanposhiho commented 8 months ago

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.