diff --git a/README.md b/README.md index 4ecd703bed34359683f0b9d84817b755fa3ab14f..d9f772e995d53fa45cfdb7284d1827a6621b55ac 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