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

Port conflicts caused by barman-cloud sidecar

Open
#466 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
191
Forks
72
Avg merge
2d 21h
Merged PRs (30d)
21

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.