From 5d44dfdd1f26f48b963dd1bb1fd2907fed708f36 Mon Sep 17 00:00:00 2001 From: Cattani Luca <luca.cattani@eurac.edu> Date: Tue, 3 Oct 2017 11:34:47 +0200 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5355bd1..9fb270a 100644 --- a/README.md +++ b/README.md @@ -123,8 +123,14 @@ NAME READY STATUS RESTARTS AGE dspace-postgresql-1806947503-qw8q4 1/1 Running 0 46s ``` -When the container is running, we can connect to it +We have now launched the pod but we have to wait until the pod is up before accessing it ```console $ kubectl -n dspace-dev exec -it dspace-postgresql-1806947503-qw8q4 bash root@dspace-postgresql-1806947503-qw8q4:/# -``` \ No newline at end of file +``` + +Also, we can also test our PostgreSQL installation with a port forward +```console +$ kubectl -n dspace-dev port-forward dspace-postgresql-1806947503-qw8q4 5432:5432 +``` +now we are able to connect to localhost:5432 -- GitLab