Operator fails "silently" to update TrinoCluster's resource
维护者通常 1 天内回复
@Maleware 已经在做这个了。
开始于 2023年5月4日。
评估
这个 Issue 还没有评估数据。
描述
Hey Stackable Team
I have noticed when updating a TrinoCluster object with changes to replicasion, the Trino operator fail at updating. It results in a bunch of error logs for the TrinoCluster object:
ErrorResponse: {
status: "Failure",
message: "StatefulSet.apps \"gbif-trino-coordinator-default\" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden",
reason: "Invalid",
code: 422 }
Steps to recreate:
- Create a TrinoCluster object in your namespace
- Change the resource quotars in a roleGroup
- Apply the changes
- See the Event log for the TrinoCluster object
As this is expected behavior for the Statefulset resource and the workaround is to recreate the object in Kubernetes so I don't see it as high priority.
I was think it would be nice to have the error returned from Kubernetes when trying to update the forbidden fields on the TrinoCluster and reject the object as to not push changes that aren't applied before recreation of the statefulset.
Another option could maybe be to allow the Trino-operator to recreate the statefulsets if the fields like resource allocation is updated.
If you don't think the issue makes sense to look into, you can close it :)
- 主要语言
- Rust
- 星标
- 63
- 派生
- 13
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 10
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stackabletech/trino-operator 的其他 Issue
-
customer-request
难度 2/5 1-3 小时 新手友好度 60/100
stackabletech/trino-operator#499 ·
维护者通常 1 天内回复
-
type/bug
难度 4/5 3-5 天 新手友好度 45/100
stackabletech/trino-operator#936 · 3 条评论 ·
维护者通常 1 天内回复
-
bug: pod spec doesn't match sts template spec可能重新可做 @razvan 于 212 天前认领,目前没有进行中的 PR。 未关闭release-note
stackabletech/trino-operator#854 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
stackabletech/trino-operator#849 ·
维护者通常 1 天内回复
-
customer-request type/feature-improvement
难度 3/5 1-2 天 新手友好度 35/100
stackabletech/trino-operator#813 · 1 条评论 ·
维护者通常 1 天内回复
查看 stackabletech/trino-operator 的全部 Issue
相似的 Issue
-
ai_p2
难度 2/5 1-3 小时 新手友好度 76/100
ClickHouse/ClickHouse#123351 ·
维护者通常 1 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 92/100
github/copilot-sdk#2804 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
lance-format/lance#9655 ·
维护者通常 2 天内回复
-
bug language::rust router
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
Vector35/binaryninja-api#8621 · 1 条评论 ·
维护者通常 2 天内回复