ingage
ingage

Reputation: 218

Can a Kubernetes autoscaler scale based on disk usage?

Im looking to scale my pods/nodes based on disk space. Is it possible? I see that i can scale based on cpu or memory, but how can i scale based on disk usage?

Upvotes: 1

Views: 793

Answers (1)

Mendi Neymark
Mendi Neymark

Reputation: 816

Yes, you can use a tool named Keda, basically, it gives you the option to scale based on anything.

Here is an example of scaling based on the sum of HTTP requests to your service; Keda will take the number directly from prometheus.

So yes you can scale pods based on disk space if you know which metrics to use

Upvotes: 3

Related Questions