If I wanted to connect to the DB from outside of kubernetes aka another machine, what would the best way to handle it be? Do outside users connect to the operator in order to make queries? I just followed Install Percona Distribution for PostgreSQL on Kubernetes and for step 6, i just connected to the database with the command below. Should I expose the kubernetes operator port for other users to connect to the database or should I use a load balancer like HAProxy? Thanks!
Operator is just tracking the Custom Resources and creates necessary k8s primitives to create the database.
To connect to database you should expose pgbouncer.