mercari / tortoise

Tortoise: Shell-Shockingly-Good Kubernetes Autoscaling
MIT License
409 stars 17 forks source link

use tortoise for Pods managed by other resources (replicaset, daemonset, etc) #129

Open sanposhiho opened 1 year ago

sanposhiho commented 1 year ago

Tortoise can work on the scaling of Pods under deployments. https://github.com/mercari/tortoise/blob/main/api/v1alpha1/tortoise_types.go#L121

But, we want to use it for Pods managed by other resources as well, which implements /scale subresource

sanposhiho commented 1 year ago

Let's forget about a Pod that isn't managed by any controller. We cannot scale such Pods without in-place pod resizing. https://github.com/kubernetes/enhancements/issues/1287