sourcegraph / sourcegraph/deploy-sourcegraph-helm
Background services livenessProbe is too aggressive
还没有人认领这个 Issue。
- 主要语言
- Go Template
- 星标
- 18
- 派生
- 24
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 13
描述
The background services running for sourcegraph should not require that high request/limits, we are running repo-updater with 50m cpu and 128Mi memory for instance, this makes the container fail to start before the livenessProbe(which will restart it after 3 seconds as current configured) and put the pod into a crash loop.
Setting a intialDelaySeconds to 5s, or startupProbe, or simply making the livenessProbe of the non-user hot path services less aggressive would allow these services to run with less resources.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
检查后台服务的 Helm 模板,尤其是 repo-updater,并找出它们的 livenessProbe 和资源设置。将 probe 的计时与所述的 50m CPU 和 128Mi 内存分配进行比较;完成的标准是,渲染后的配置能够让低资源服务启动,而不会进入崩溃循环。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- helm, kubernetes
- 领域
- devops, infrastructure
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100