[Feature]: Operator readiness probe should reflect informer cache sync, not healthz.Ping
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 cmd/gpu-operator/main.go 第 255 行开始,那里注册了 mgr.AddReadyzCheck("check", healthz.Ping),并查看附近其他 manager 选项(mgr.GetCache()、healthz.Checker)的用法。在 controller-runtime 的 healthz 包中确认 Checker 的签名,然后将 readyz 检查替换为一个闭包:在 mgr.GetCache().WaitForCacheSync 返回 true 之前一直报告失败,同时保持 liveness 使用 healthz.Ping。完成的标准是:新启动的副本在其 informer 缓存同步完成之前保持 NotReady,而 /healthz 仍然通过。通过构建二进制文件进行验证,如果可行,还要在滚动更新期间观察 Pod 状态。
由索引模型根据 Issue 内容生成。
描述
Motivation
cmd/gpu-operator/main.go:255 registers mgr.AddReadyzCheck("check", healthz.Ping), so the operator pod reports Ready as soon as the HTTP server starts, before its informer caches have synced. Rollouts, PodDisruptionBudgets and monitoring treat a new operator replica as serving while it cannot yet reconcile.
Proposal
Register a readiness checker that fails until the manager's cache has synced, e.g. a closure calling mgr.GetCache().WaitForCacheSync with a short timeout, and keep healthz.Ping for liveness only.
- 主要语言
- Go
- 星标
- 2.9k
- 派生
- 569
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 90
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/gpu-operator 的其他 Issue
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
NVIDIA/gpu-operator#3065 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
NVIDIA/gpu-operator#3060 ·
维护者通常 1 天内回复
-
[Bug]: Driver upgrade does not evict pods that use nvidia.com/gpu only in a native sidecar可能已有人在做 @JunAr7112 于 1 天前认领。 未关闭bug needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
NVIDIA/gpu-operator#3026 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Bug]: GPUCluster common name label breaks DRA validator selector可能已有人在做 @ajavanma 于 21 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
NVIDIA/gpu-operator#2955 · 1 条评论 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 4/5 1-2 天 新手友好度 35/100
NVIDIA/gpu-operator#3077 ·
维护者通常 1 天内回复
查看 NVIDIA/gpu-operator 的全部 Issue
相似的 Issue
-
component/gpu-kubelet-plugin component/helm needs-triage
难度 2/5 1-3 小时 新手友好度 62/100
kubernetes-sigs/dra-driver-nvidia-gpu#1559 ·
维护者通常 1 天内回复
-
TOTP enrollment returns 500 for phone-only users (empty TOTP account name)可能已有人在做 @emiliosandoval4 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 60/100
维护者通常 1 天内回复
-
8.9 to 8.10 Helm upgrade guide still says deprecated keys are removed in chart v16 (Camunda 8.11)未关闭
难度 1/5 1 小时以内 新手友好度 78/100
camunda/camunda-platform-helm#7559 ·
维护者通常 1 天内回复
-
docs: namespaceRegexes example teaches prefix matching, but regexes are matched as a substring可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭triage/pending-triage
难度 2/5 1-3 小时 新手友好度 74/100
external-secrets/external-secrets#7117 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
ENTERPILOT/GoModel#1183 · 1 条评论 ·
维护者通常 1 天内回复