operator-framework / operator-framework/java-operator-sdk

Mark Framework Version in Resources to Support Framework Related Updates

Đang mở
#1,958 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

feature
Ngôn ngữ chính
Java
Star
944
Fork
242
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
43

Mô tả

Original idea comes from @shawkins .

The framework might add an annotation to resource(s) - primary might be sufficient - to support updates of the framework. For example from v4.3 -> v4.4 we started to use SSA on Dependent Resources by default (added feature flag to use previous approach), where in some cases the update might not be trivial. Such an annotation would widen our possibilities, and we could make runtime decisions based on that. For example If a resource was before created/managed by older version of framework, we could decide to use the legacy approach automatically.

Note also that the annotation needs to be added by the framework, we already add finalizer (if needed) in a phase before the first reconciliation, this could be added in the same step if needed.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Không có tệp hoặc test nào được nêu tên. Hãy bắt đầu bằng cách lần theo bước pre-reconciliation của framework, nơi các finalizers được thêm vào, sau đó xác định metadata của resource version nên được ghi lại và sử dụng như thế nào trong quá trình cập nhật; được xem là hoàn tất khi framework có thể phân biệt các resource được tạo hoặc quản lý bởi các phiên bản trước đó và áp dụng hành vi tương thích dự kiến.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java, kubernetes
Lĩnh vực
infrastructure
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.