openscanhub: add pvc for /var/lib/osh
path
This path stores all the files generated for a task and it is going to expand in size over time. Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
parent
0d7e4db134
commit
14b561e2d5
2 changed files with 24 additions and 0 deletions
|
@ -33,3 +33,8 @@
|
|||
tags:
|
||||
- apply-appowners
|
||||
when: env == "staging"
|
||||
- role: openshift/object
|
||||
app: openscanhub
|
||||
template: pvc-var-lib-osh.yml
|
||||
objectname: pvc-var-lib-osh.yml
|
||||
when: env == "staging"
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: pvc-var-lib-osh
|
||||
spec:
|
||||
volumeName: fedora-openscanhub-var-lib-osh-{{env_short}}
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
# This should be manually expanded when production
|
||||
# has gone beyond this limit.
|
||||
{% if env == "staging" %}
|
||||
storage: 32Gi
|
||||
{% else %}
|
||||
storage: 512Gi
|
||||
{% endif %}
|
||||
storageClassName: 'ocs-storagecluster-cephfs'
|
||||
volumeMode: Filesystem
|
Loading…
Add table
Add a link
Reference in a new issue