add lb to pgbouncer

This commit is contained in:
Joseph Hanson 2024-10-22 22:34:49 -05:00
parent f532b5416f
commit 2f275ed5b9
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -193,6 +193,12 @@ spec:
pgBouncer: pgBouncer:
port: 5432 port: 5432
replicas: *replica replicas: *replica
service:
type: LoadBalancer
metadata:
annotations:
external-dns.alpha.kubernetes.io/hostname: pgbouncer.jahanson.tech
io.cilium/lb-ipam-ips: 10.1.1.36
metadata: metadata:
labels: labels:
app.kubernetes.io/name: crunchy-postgres-pgbouncer app.kubernetes.io/name: crunchy-postgres-pgbouncer