[OPERATOR] PodDisruptionBudget is deployed even if ETCD has 1 replicas
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- kubernetes
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Bắt đầu với deploy/etcd/etcd-policy.yaml và kiểm tra cách Operator render manifest này từ etcd.config.replicas. Tái hiện deployment với một replica và xác nhận rằng PodDisruptionBudget chặn việc drain node. Hoàn thành khi PDB không tồn tại với một replica, trong khi hành vi hiện tại của nó vẫn không thay đổi với số lượng replica cao hơn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- I have searched the issues of this repository and believe that this is not a duplicate.
Ⅰ. Issue Description
If we deploy Openserverless with etcd.config.replicas: 1, the Operator still deploys the PodDisruptionBudget (nuvolaris-etcd) resource and this prevents node drains.
Ⅱ. Describe what happened
PodDisruptionBudget (nuvolaris-etcd) resource prevents k8s node drains (and a manual change on PDB resource is required to make the drain go ahead)
Ⅲ. Describe what you expected to happen
PodDisruptionBudget (nuvolaris-etcd) should not be deployed if Openserverless is configured with etcd.config.replicas: 1.
Ⅳ. How to reproduce it (as minimally and precisely as possible)
- Deploy Openserverless with
etcd.config.replicas: 1 - Drain a master node
Minimal yet complete reproducer code (or URL to code):
Ⅴ. Anything else we need to know?
The issue is probabily related to this file:
https://github.com/apache/openserverless-operator/blob/main/deploy/etcd/etcd-policy.yaml
Maybe a condition should manage the deployment (or not) of manifest above.
Ⅵ. Environment:
- K8S Runtime and version: k3s v1.29.3+k3s1
- OPS CLI version: 0.1.0-2409121919.dev
- Ngôn ngữ chính
- Python
- Star
- 576
- Fork
- 29
- Merge trung bình
- 51 phút
- Pull request đã merge (30 ngày)
- 14
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.
Issue khác của apache/openserverless
-
help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
apache/openserverless#252 ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
apache/openserverless#215 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
apache/openserverless#214 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 72/100
apache/openserverless#213 ·
-
Add Keycloak as a SSO service Đang mởhelp wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
apache/openserverless#195 ·
Tất cả issue của apache/openserverless
Issue tương tự
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Đang mởarea: harness bug status: needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Human-Agent-Society/reef#625 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
learningequality/kolibri#15351 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Name consistency Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
eellak/triplestore#65 · 1 bình luận ·