我正在EKS k8s 1.16上运行一些部署,大约5分钟后,我的 pods 被驱逐并显示以下消息:

Pod ephemeral local storage usage exceeds the total limit of containers 1Gi.

我的节点有20Gi临时存储。

我的QoS等级得到保证,无论我在Yaml中配置的临时存储量如何,我都会看到与配置的量相同的错误。

你有什么办法的线索吗?

我的yaml文件在这里:https://slexy.org/view/s2096sex7L

最佳答案

这是因为通过将ephemeral-storage设置为resources.limits.ephemeral-storage来设置1Gi的使用上限。如果安全,请删除limits.ephemeral-storage,或根据需要更改值。

      resources:
        limits:
          memory: "61Gi"
          cpu: "7500m"
          ephemeral-storage: "1Gi" <----- here
        requests:
          memory: "61Gi"
          cpu: "7500m"
          ephemeral-storage: "1Gi"
  • Requests and limits

  • 关于kubernetes - 如何解决临时本地存储问题?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/61596697/

    10-16 05:36