Kubernetes Autoscaler可以根据磁盘使用量表吗?

发布于 2025-01-28 22:19:01 字数 65 浏览 2 评论 0原文

我希望根据磁盘空间扩展我的豆荚/节点。是否可以?我看到我可以根据CPU或内存进行扩展,但是如何根据磁盘用法进行扩展?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

也只是曾经 2025-02-04 22:19:01

是的,您可以使用名为 keda 的工具,基本上,它为您提供了根据任何内容进行扩展的选项。

在这里是基于缩放的示例,基于http请求的总和。 Keda将直接从Prometheus获取数字。

因此,是的,如果您知道要使用的指标

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文