diff --git a/README.md b/README.md index 5355bd1663c8d88e7b3daa96b85aaf3e89756cd1..9fb270aae8349e2ec5825240d6b82a1693c5f6f6 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