Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (33 loc) · 1 KB

README.md

File metadata and controls

41 lines (33 loc) · 1 KB

Installation and Configuration of Redis

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.

Persistence

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

Installation

Finally, the deployment is done by calling

helm install redis -f Redis/values.yaml bitnami/redis -n invenio