2026-01-19 09:49:52 -08:00
|
|
|
# Tailscale LoadBalancer for PostgreSQL access
|
2026-01-20 09:04:47 -08:00
|
|
|
# Canonical hostname: pg.tail8d86e.ts.net
|
2026-01-19 09:49:52 -08:00
|
|
|
apiVersion: v1
|
|
|
|
|
kind: Service
|
|
|
|
|
metadata:
|
|
|
|
|
name: blumeops-pg-tailscale
|
|
|
|
|
namespace: databases
|
|
|
|
|
annotations:
|
2026-01-20 09:04:47 -08:00
|
|
|
tailscale.com/hostname: "pg"
|
2026-01-21 16:03:37 -08:00
|
|
|
tailscale.com/proxy-class: "default"
|
2026-01-19 09:49:52 -08:00
|
|
|
spec:
|
|
|
|
|
type: LoadBalancer
|
|
|
|
|
loadBalancerClass: tailscale
|
|
|
|
|
selector:
|
|
|
|
|
cnpg.io/cluster: blumeops-pg
|
|
|
|
|
role: primary
|
|
|
|
|
ports:
|
|
|
|
|
- name: postgresql
|
|
|
|
|
port: 5432
|
|
|
|
|
targetPort: 5432
|
|
|
|
|
protocol: TCP
|