kubectl --kubeconfig=[path-to-kubeconfig] port-forward flosonics-data-0 5432
if you have postgres running locally and port 5432 is blocked you can use another port
kubectl --kubeconfig=[path-to-kubeconfig] port-forward flosonics-data-0 5431:5432