stackabletech / stackabletech/commons-operator
Pod expiration drifts when system is suspended
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 8
- Fork
- 4
- Merge trung bình
- 7 giờ 48 phút
- Pull request đã merge (30 ngày)
- 7
Mô tả
Affected Stackable version
dev (24.11 prerelease)
Current and expected behavior
@xeniape ran into an issue (sble employees: see slack) where pods would be left with expired certificates after a while, rather than getting evicted by commons-op as expected. Restarting commons-op evicted the pods, as expected.
Our current working hypothesis here is that commons-op's re-reconciliation timer didn't advance while the computer was suspended, causing the eviction to be delayed by the same amount of time.
Possible solution
Either:
- Change the timer to use wall time instead of monotonic/CPU time
- Cap the re-reconciliation timer, causing spurious reconciles but at least limiting the issue
- Make the timer automatically expire when resuming from suspend
Either way, we should probably also communicate upstream with kube-rs and either fix it there or highlight the issue somehow.
Additional context
No response
Environment
No response
Would you like to work on fixing this bug?
None
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.
Hướng nghiên cứu
Bắt đầu bằng cách xác định bộ hẹn giờ tái-điều-phối của commons-op và xem xét cách các bộ hẹn giờ của kube-rs hoạt động khi hệ thống suspend và resume. Nếu có thể, hãy tái hiện việc pod bị eviction trễ, sau đó xác định liệu nên sửa upstream trong kube-rs hay thay đổi commons-op. Được xem là hoàn tất khi các chứng chỉ hết hạn dẫn đến eviction kịp thời sau khi resume, kèm theo coverage hồi quy hoặc một issue upstream ghi lại hạn chế này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- kubernetes, rust
- Lĩnh vực
- devops, infrastructure
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- 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
- 35/100