Throttle requests when api-server tries to rate limit stackablectl
还没有人认领这个 Issue。
评估
调研方向
从 stackablectl stacklet list 命令使用的请求路径开始,跟踪 Kubernetes API 错误的处理方式。检查 kube-rs 是否已经为 HTTP 429 响应提供重试或限流行为,并在可能的情况下针对 EKS 集群复现该故障。完成的标准是:命令能够处理报告的速率限制条件,而不会立即失败,并且所选择的行为已通过测试或复现得到验证。
由索引模型根据 Issue 内容生成。
描述
When trying to run stacklet list an an AWS eks cluster recently (replicated cluster, k8s 1.32) - the api-server was apparently unhappy about the rate at which requests were sent to retrieve details for Stackable objects.
soenke-desktop:~$ stackablectl stacklet list
An unrecoverable error occured: failed to execute stacklet (sub)command
Caused by these errors (recent errors listed first):
1: failed to list stacklets
2: failed to fetch data from the Kubernetes API
3: failed to fetch data from Kubernetes API
4: ApiError: storage is (re)initializing: TooManyRequests (ErrorResponse { status: "Failure", message: "storage is (re)initializing", reason: "TooManyRequests", code: 429 })
5: storage is (re)initializing: TooManyRequests
We should probably somehow honour 429 status codes and throttle requests in that case. Or maybe implement this upstream in kube-rs.
- 主要语言
- Rust
- 星标
- 10
- 派生
- 5
- 平均合并
- 4 小时 41 分钟
- 30 天内合并 PR
- 4
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stackabletech/stackablectl 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
stackabletech/stackablectl#456 ·
-
RUSTSEC-2026-0221: `event-listener` allows `!Send` tags to cross thread boundaries via `StackSlot` 未关闭
难度 3/5 1-2 天 新手友好度 35/100
stackabletech/stackablectl#452 ·
-
难度 4/5 3-5 天 新手友好度 45/100
stackabletech/stackablectl#444 ·
-
难度 5/5 一周以上 新手友好度 35/100
stackabletech/stackablectl#419 ·
-
难度 4/5 3-5 天 新手友好度 35/100
stackabletech/stackablectl#413 ·
查看 stackabletech/stackablectl 的全部 Issue
相似的 Issue
-
area: compat bug
难度 2/5 1-3 小时 新手友好度 72/100
-
area: dogs bug priority: P3 silent failure test-code
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 70/100
MystenLabs/sui#28056 · 1 条评论 ·
-
type/bug
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 75/100
Luminous-Dynamics/mycelix#2577 ·