cloudnative-pg / cloudnative-pg/plugin-barman-cloud
Port conflicts caused by barman-cloud sidecar
- Vorherrschende Sprache
- Go
- Sterne
- 191
- Forks
- 72
- Ø Merge
- 2 T. 21 Std.
- Gemergte PRs (30 T.)
- 21
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.