Operator fails "silently" to update TrinoCluster's resource
@Maleware đang làm issue này rồi.
Từ ngày 4/5/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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 :)
- Ngôn ngữ chính
- Rust
- Star
- 63
- Fork
- 13
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 12
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stackabletech/trino-operator
-
customer-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
stackabletech/trino-operator#499 ·
-
type/bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
stackabletech/trino-operator#936 · 3 bình luận ·
-
release-note
stackabletech/trino-operator#854 · 3 bình luận · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
stackabletech/trino-operator#849 ·
-
customer-request type/feature-improvement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
stackabletech/trino-operator#813 · 1 bình luận ·
Tất cả issue của stackabletech/trino-operator
Issue tương tự
-
Replayed reasoning items send "content": null, which the Responses API schema does not permit Đang mởbug CLI custom-model
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
Missing examples for `Allocator` Đang mởA-allocators A-docs C-enhancement T-libs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100