Skip to content
Snippets Groups Projects
Commit 30b1afae authored by Cattani Luca's avatar Cattani Luca
Browse files

Update README.md

parent 0625d18b
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,12 @@ docker push gitlab.scientificnet.org:4567/commul/dspace/<my_image>:<my tag> ...@@ -62,6 +62,12 @@ docker push gitlab.scientificnet.org:4567/commul/dspace/<my_image>:<my tag>
``` ```
# Installation # Installation
Provide gitlab credentials
```console
$ kubectl -n dspace-dev create -f gitlab-scientificnet-org-registry.yaml
```
## PostgreSQL ## PostgreSQL
To install PostgreSQL, we need some passwords, so we need Kubernetes secrets To install PostgreSQL, we need some passwords, so we need Kubernetes secrets
...@@ -73,4 +79,23 @@ $ kubectl -n dspace-dev get secrets ...@@ -73,4 +79,23 @@ $ kubectl -n dspace-dev get secrets
NAME TYPE DATA AGE NAME TYPE DATA AGE
default-token-c1pd4 kubernetes.io/service-account-token 3 4d default-token-c1pd4 kubernetes.io/service-account-token 3 4d
dspace-postgresql Opaque 1 18s 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment