Postgres Running in Kubernetes - Limit Network Bandwidth

5/24/2021

I'm running Postgres inside a pod (with Patroni) and would like to limit the network bandwidth used by Postgres. Especially the network BW used by logical replication.

I read about Kubernetes option

kubernetes.io/ingress-bandwidth: 10M
kubernetes.io/egress-bandwidth: 20M

but I also read that it drops packets in excess of the configured rate. Can/should this be used to limit the network bandwidth used by the logical replication?

-- user1409708
kubernetes
postgresql

0 Answers