cloudnative-pg / cloudnative-pg/plugin-barman-cloud

Port conflicts caused by barman-cloud sidecar

未关闭
#466 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
Go
星标
192
派生
75
平均合并
1 天 16 小时
30 天内合并 PR
18

描述

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, 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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 issue 中描述的 instance 子命令和 controller-runtime manager 设置。检查其 HTTP 服务器和端口是如何配置的,然后定义子命令如何配置或禁用它们;完成的标准是 sidecar 不再导致端口冲突,并且所选选项可通过 instance 命令使用。

由索引模型根据 Issue 内容生成。

评估

技术栈
go, kubernetes, postgresql
领域
backend, databases, infrastructure
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。