The PostgreSQL installation sets up on the Bitnami helm chart, available on
https://charts.bitnami.com/bitnami
. Be careful to define the proper resource limits in
values.yaml
. The target file system of the tmp-Directories lies in Memory
as this is
the fastest.
In order to not loose the cache when Redis is restarted, there should be a volume defined to hold it. This is
done by defining a PersitentVolumeClaim
in a yml file cache-claim.yml
:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: cache-claim
annotations:
"helm.sh/resource-policy": keep
spec:
storageClassName: cindergold
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
This is created by calling
kubectl apply -f cache-claim.yml -n invenio
TODO: finalize the storage size
Finally, the deployment is done by calling
helm install redis -f Redis/values.yaml bitnami/redis -n invenio