From c874de3a4ca07e2e7ab56e2558ae927e2a45ef5c Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Wed, 7 Aug 2024 21:03:52 -0700 Subject: [PATCH] Simplification of direct psql connection --- DEVELOPMENT.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index eaeaa4e..87d7c76 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -20,9 +20,8 @@ alter sequence elo_scores_id_seq restart with 1; To make connection: ``` -k -n edh-elo port-forward svc/edh-elo-postgresql 5432:5432 -psql -U db_user -d postgres -h localhost - +$ kubectl -n edh-elo exec -it edh-elo-postgresql-0 -- psql -U db_user -d postgres +``` # To copy the database out to local