From 30b1afaef38121b2c459465ceb0312b8cba1c15e Mon Sep 17 00:00:00 2001
From: Cattani Luca <luca.cattani@eurac.edu>
Date: Fri, 29 Sep 2017 15:31:53 +0200
Subject: [PATCH] Update README.md

---
 README.md | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/README.md b/README.md
index 4ecd703..d9f772e 100644
--- a/README.md
+++ b/README.md
@@ -62,6 +62,12 @@ docker push gitlab.scientificnet.org:4567/commul/dspace/<my_image>:<my tag>
 ```
 
 # Installation
+Provide gitlab credentials
+
+```console
+$ kubectl -n dspace-dev create -f gitlab-scientificnet-org-registry.yaml
+```
+
 ## PostgreSQL
 To install PostgreSQL, we need some passwords, so we need Kubernetes secrets
 
@@ -73,4 +79,23 @@ $ kubectl -n dspace-dev get secrets
 NAME                  TYPE                                  DATA      AGE
 default-token-c1pd4   kubernetes.io/service-account-token   3         4d
 dspace-postgresql     Opaque                                1         18s
+```
+
+Next, create a RBD Claim
+```console
+$ kubectl -n dspace-dev create -f postgresql-pvc.yaml 
+persistentvolumeclaim "dspace-postgresql" created
+
+$ kubectl -n dspace-dev get pvc
+NAME                STATUS    VOLUME                                     CAPACITY   ACCESSMODES   STORAGECLASS   AGE
+dspace-postgresql   Bound     pvc-610c358d-a518-11e7-b21c-b60483de6a40   8Gi        RWO           auto           2s
+```
+
+Ok, now we are ready to deploy our PostgreSQL!
+```console
+$ kubectl -n dspace-dev create -f postgresql.yaml 
+
+$ kubectl -n dspace-dev get po
+NAME                                 READY     STATUS              RESTARTS   AGE
+dspace-postgresql-1806947503-cj077   0/1       ContainerCreating   0          27s
 ```
\ No newline at end of file
-- 
GitLab