如何确定我的POD的短暂存储请求和限制的正确值?

发布于 2025-02-12 21:20:35 字数 119 浏览 1 评论 0 原文

我正在研究基于A'Go的应用程序,并在资源YAML中使用临时存储请求和限制。我从请求64mi开始,限制为128mi,但是有没有办法计算吊舱的短暂存储要求?另外,如果我的图像大小为15mib,我还需要在我的资源请求中添加它吗?

I am working on a'go' based application and using ephemeral-storage requests and limits in my resource yaml. I have started with requests 64Mi and limits 128Mi but is there a way to calculate the ephemeral storage requirements for a pod?. Also, if my image size is 15MiB do I need to add that also in my resource requests?.

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

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

发布评论

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

评论(1

自此以后,行同陌路 2025-02-19 21:20:35

为了提高社区的可见性,我将其发布为解决方案:

据我所知,无法计算POD所需的短暂存储空间,这取决于您要进行多少存储使用。根据这一点,我们可以设置kubernetes中的正确请求和限制。本文档还涵盖了

也可能对您有帮助问题。

For greater visibility to the community I am posting this as a solution :

As far as i know, there is no way of calculating the ephemeral storage required for a pod and this depends on how much storage you are going to use. Depending on this we can set the right requests and limits in kubernetes. This document also covers how ephemeral storage can be managed.

This SO also might be helpful to your question.

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