apache / apache/openserverless
Health check on the operator restarting if redis breaks
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 576
- Fork
- 29
- Merge trung bình
- 50 phút
- Pull request đã merge (30 ngày)
- 13
Mô tả
- I have searched the issues of this repository and believe that this is not a duplicate.
Ⅰ. Issue Description
Fixing the redis state when resuming docker
Ⅱ. Describe what happened
If you restart the cluster (this happens especially when resuming with docker) REDIS may lose its state, and you need to restart the operator to recreate the proper acls
The solution would be that you put an health check that restarts the operator if redis loses its permissions.
Ⅲ. Describe what you expected to happen
Restarting a machine with docker you should have a cluster working
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Merge this PR first to have a single node kind cluster
https://github.com/apache/openserverless-task/pull/169
Ⅵ. Environment:
- K8S Runtime and version:
- OPS CLI version:
- Others:
Hướng dẫn đóng góp
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
Không có tệp, kiểm thử hoặc điểm vào nào được nêu. Hãy bắt đầu bằng cách tái hiện việc khởi động lại cluster hoặc tiếp tục Docker, rồi kiểm tra cách operator xử lý trạng thái và quyền của Redis; được xem là hoàn tất khi cluster trở lại trạng thái hoạt động mà không cần khởi động lại operator theo cách thủ công. Pull request openserverless-task được liên kết được xác định là một điều kiện tiên quyết.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker, kubernetes, python, redis
- Lĩnh vực
- cloud, 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