openscanhub: use NFS volume for redis data
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
parent
b7fa6e5bd1
commit
78b7c8512e
1 changed files with 3 additions and 9 deletions
|
@ -3,18 +3,12 @@ kind: PersistentVolumeClaim
|
|||
metadata:
|
||||
name: pvc-var-lib-redis-data
|
||||
spec:
|
||||
# TODO: This name should be set when `storageClassName` is NFS
|
||||
# volumeName: fedora-openscanhub-var-lib-osh-{{env_short}}
|
||||
volumeName: fedora-openscanhub-pvc-var-lib-redis-data-{{env_short}}
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
# This should be manually expanded when production
|
||||
# has gone beyond this limit.
|
||||
{% if env == "staging" %}
|
||||
storage: 1Gi
|
||||
{% else %}
|
||||
storage: 2Gi
|
||||
{% endif %}
|
||||
storageClassName: 'ocs-storagecluster-cephfs'
|
||||
volumeMode: Filesystem
|
||||
storageClassName: ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue