CSCfi / spark-openshift

Run Apache Spark on Openshift
MIT License
9 stars 9 forks source link

Mounting new PVC to Spark #4

Closed juhahu closed 5 years ago

juhahu commented 5 years ago

Is it possible to mount new PVC to existing Spark-cluster?

juhahu commented 5 years ago

Found the way: From OpenShift console, open Storage -> Create Storage -> Fill required fields and press Create button. Application -> Deployments -> For each of the items go Configuration tab -> Add Storage -> Fill desired Mount Path ie. /mnt/data -> Type Volume Name or left empty for automatically generated -> press Add. Automatic redeployment starts and after repeating above steps to all items, new pvc will be mounted.