how to connect to postgresql on Kubernetes cluster?
I was able to look at another forum and found what I needed. I executed with the pod name and gets me to a bash prompt.
kubectl exec -it <POD_NAME> bash
kubctl get podskubectl exec -it <POD_NAME> bashsu postgrespsql
in the above postgres is user name.you will get:
postgres=#