Support native sidecar containers in the Pod builder(s)
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Start in the builder code around ContainerBuilder and PodBuilder::add_init_container; the issue names both entry points and the default-resource behavior to change. Read how init containers currently receive default limits, then expose restartPolicy and make it possible to add a native sidecar without those defaults. Done means a builder-created init container can use restartPolicy: Always without the 10m CPU / 128Mi memory defaults, with builder tests covering the new path.
由索引模型根據 Issue 內容生成。
描述
Problem
The builders have no way to add a native sidecar (init container with restartPolicy: Always). ContainerBuilder doesn't expose restartPolicy, and PodBuilder::add_init_container sets default limits of 10m CPU / 128Mi memory on any init container without resources. Those defaults apparently exist for ResourceQuota support (stackabletech/issues#368) and are probably fine for one-shot init containers but also probably not for Vector et.al.
Scope
Adding a native sidecar through the builders, without the init-container resource defaults.
Expected effort
1 day. If it takes longer, stop and flag it.
Out of scope
- Moving any existing sidecar (Vector, git-sync, ...) over to it.
- The container-type / default-resources refactor the FIXME in add_init_container asks for.
- 主要語言
- Rust
- 星號
- 170
- 分支
- 20
- 平均合併
- 2 天 12 小時
- 30 天內合併 PR
- 24
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
stackabletech/operator-rs 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
stackabletech/operator-rs#1273 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 30/100
stackabletech/operator-rs#1316 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 25/100
stackabletech/operator-rs#1077 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 45/100
stackabletech/operator-rs#1063 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 45/100
stackabletech/operator-rs#1028 ·
維護者通常 1 天內回覆
查看 stackabletech/operator-rs 的全部 Issue
相似的 Issue
-
good first issue help wanted
難度 2/5 1-3 小時 新手友好度 72/100
servo/rust-smallvec#873 ·
-
難度 1/5 1 小時以內 新手友好度 82/100
維護者通常 3 天內回覆
-
Panic on live viewport resize when unstyled elements exist in display: none subtree可能已有人在做 @GoCoder7 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
DioxusLabs/blitz#1488 ·
維護者通常 1 天內回覆
-
🏷️ good first issue enhancement
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
S-Needs triage
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 2 天內回覆