Skip to content

Add resource limits#495

Open
zyue110026 wants to merge 1 commit intonacos-group:masterfrom
zyue110026:master
Open

Add resource limits#495
zyue110026 wants to merge 1 commit intonacos-group:masterfrom
zyue110026:master

Conversation

@zyue110026
Copy link

fixes #494

add resources limits

Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com>
@CLAassistant
Copy link

CLAassistant commented Jul 12, 2025

CLA assistant check
All committers have signed the CLA.

@lingma-agents
Copy link

lingma-agents bot commented Jul 12, 2025

为NFS客户端供应器容器添加资源限制配置

变更概述

配置调整

  • 组件: Kubernetes Deployment配置文件 deploy/nfs/deployment.yaml
  • 功能: 在NFS客户端供应器容器中新增资源限制配置
  • 实现细节:
    • 在容器资源配置部分添加 resources
    • 设置内存请求(256Mi)和CPU请求(250m)
    • 设置内存限制(512Mi)和CPU限制(500m)
  • 目的: 通过限制资源使用防止Pod资源争用,确保NFS供应器服务在高负载时的稳定性
变更文件
文件路径 变更说明
deploy/nfs/deployment.yaml 为NFS客户端供应器容器添加资源请求和限制配置

💡 小贴士

与 lingma-agents 交流的方式

📜 直接回复评论
直接回复本条评论,lingma-agents 将自动处理您的请求。例如:

  • 在当前代码中添加详细的注释说明。

  • 请详细介绍一下你说的 LRU 改造方案,并使用伪代码加以说明。

📜 在代码行处标记
在文件的特定位置创建评论并 @lingma-agents。例如:

  • @lingma-agents 分析这个方法的性能瓶颈并提供优化建议。

  • @lingma-agents 对这个方法生成优化代码。

📜 在讨论中提问
在任何讨论中 @lingma-agents 来获取帮助。例如:

  • @lingma-agents 请总结上述讨论并提出解决方案。

  • @lingma-agents 请根据讨论内容生成优化代码。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Potential Denial of Service via unrestricted CPU/memory

2 participants