Idea: Start ReportingTaskJob only once the NifiCluster is ready
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- kubernetes, rust
- 领域
- devops, infrastructure
调研方向
从 rust/operator-binary/src/controller.rs 第277行附近开始,然后比较 Superset 中引用的 readiness 监听模式。确定提出的方法中哪一种属于范围之内—等待 NifiCluster 就绪、暂停 Job,或将其替换为 HTTP 请求—并验证 reporting 任务在集群就绪之前不再进入正常的 CrashLoopBackOff。
由索引模型根据 Issue 内容生成。
描述
There is a reporting task started immediately: https://github.com/stackabletech/nifi-operator/blob/db33e5e32c55975369e15a063ae21ef728498c2c/rust/operator-binary/src/controller.rs#L277
I want to suggest to follow a pattern we've implemented in Superset: Add a status to the NifiCluster and let the operator listen to it. Only start the job once the cluster is ready.
At the moment the job is started and remains in a CrashLoopBackOff, until the Cluster is ready. This doens't look good and can also cover up actual problems with the job (because this CrashLoopBackoff is 'normal' for us). It would also make the task finish quicker, because at the moment once the cluster is ready, the task is still in a retry-waiting-period. Only once this has passed the job finishes. This can easily save 30 seconds of time.
Edit: since k8s 1.24 Jobs can be started in the suspended state, so the Job object could already be created, but only started once the cluster is up.
Edit: Alternatively the Operator could do the HTTP request, and we could drop the Job altogether
- 主要语言
- Rust
- 星标
- 48
- 派生
- 12
- 平均合并
- 11 小时 26 分钟
- 30 天内合并 PR
- 10
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stackabletech/nifi-operator 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 68/100
stackabletech/nifi-operator#956 ·
-
难度 4/5 3-5 天 新手友好度 45/100
stackabletech/nifi-operator#879 ·
-
customer-request type/bug
难度 3/5 1-2 天 新手友好度 42/100
stackabletech/nifi-operator#842 · 1 条评论 ·
-
size/M type/security
难度 5/5 一周以上 新手友好度 25/100
stackabletech/nifi-operator#811 · 1 条评论 ·
-
size/L
难度 5/5 一周以上 新手友好度 20/100
stackabletech/nifi-operator#810 · 1 条评论 ·
查看 stackabletech/nifi-operator 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
arkworks-rs/algebra#1161 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
lbjlaq/Antigravity-Manager#3525 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
agent-ready area:platform bug criticality:p3 rust triage:needs-implementation
难度 2/5 1-3 小时 新手友好度 88/100
registrystack/registry-stack#1583 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
app documentation remote windows-os
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复