1Panel-dev / 1Panel-dev/1Panel

[Feature] 增加全局资源控制类(多应用,均衡,标准模式)

Open
#7,167 1 comment 0 reactions 1 assignee View on GitHub

@wanghe-fit2cloud is already working on this.

Since Nov 24, 2024.

status: under-discussion
Dominant language
Go
Stars
37k
Forks
3.4k
Avg merge
9h 16m
Merged PRs (30d)
105

Description

1Panel 版本

v1.10.21-lts

请描述您的需求或者改进建议

需求描述,当前我们搭建1panel是作为可靠的生产和测试环境,由于1panel是良好的容器生态,因此我们用户可以预制性能模式,简而言之,就是用户可以最大化支持,多应用模式(用户可全局配置cpus 内存的配置额度)如最大部署模式(0.5系数cpu内存),均衡模式(0.8系数cpu内存倍数模式),标准模式(1系数cpu内存倍数模式)
或者基于应用,有一个拖拉条,或者缩容对话框,能够优化当前应用的占用,给其他应用腾出资源
image

当前有cpu的权重,但是没有说明,因此无法很好的理解这个是否和我这个需求相关

请描述你建议的实现方案

方案,在每个应用部署的默认参数0.5,0.8,1,可在设置的参数 配置

附加信息

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.