cloudnative-pg / cloudnative-pg/plugin-barman-cloud
Port conflicts caused by barman-cloud sidecar
- 主要言語
- Go
- スター
- 191
- フォーク
- 72
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 21
説明
The Barman Cloud Plugin is injected as an Instance Manager sidecar plugin in the PG Pods. The sidecar starts a controller-runtime manager, which by default, runs a set of http servers for exposing a variety of utilities, such as readiness probes and metrics endpoints.
The way [Kubernetes builds the Network for containers in the same Pod](https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking), doesn't let two processes use the same port even across different containers.
This prevents other processes in other containers to use network ports already used by the barman cloud sidecar, which might be inconvenient if changing them is not straight forward.
The `instance` subcommand should expose additional options to either configure the controller-runtime manager used ports or disable the exposed servers.
コントリビューションガイド
調査の方向性
まず、issue で説明されている `instance` サブコマンドと controller-runtime manager のセットアップを見つけます。その HTTP サーバーとポートがどのように設定されているかを調査し、次にサブコマンドでそれらを設定または無効化する方法を定義します。sidecar がポート競合を引き起こさなくなり、選択したオプションが instance コマンドから利用できるようになれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go, kubernetes, postgresql
- 領域
- backend, databases, infrastructure
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100