Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[OPERATOR] PodDisruptionBudget is deployed even if ETCD has 1 replicas

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

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)
  1. Deploy Openserverless with etcd.config.replicas: 1
  2. 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

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.

Issue khác của apache/openserverless

Tất cả issue của apache/openserverless

Issue tương tự

Thêm issue về Python

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.