Fix PDB Behavior for Single-Instance PostgreSQL Deployments

オープン
#2,988 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go, kubernetes, postgresql

調査の方向性

enable_pod_disruption_budget を処理する controller ロジックを特定し、numberOfInstances = 1 の deployment と、より大規模な deployment に対する PodDisruptionBudget の生成を比較してください。ノードのドレインまたはローテーション中に結果として生じる Kubernetes の動作を検証し、複数インスタンスの PostgreSQL deployment に対する既存の動作を維持してください。

索引モデルが issue の本文から書いたものです。

説明

When the controller deployed with enable_pod_disruption_budget, it applies the same configuration to all PostgreSQL deployments, including those with numberOfInstances = 1.
For single-instance PostgreSQL setups, this results in a PDB that requires at least one pod to be available at all times.
Because the deployment only has one pod, Kubernetes blocks node draining and node rotation operations, causing operational friction.

主要言語
Go
スター
5.3k
フォーク
1.1k
平均マージ
3日 17時間
マージ済み PR(30日)
11

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

zalando/postgres-operator のほかの issue

zalando/postgres-operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。