Skip to content

Commit

Permalink
replace persistentvolumeclain with nfs
Browse files Browse the repository at this point in the history
  • Loading branch information
dtandersen committed May 21, 2024
1 parent 0b0a906 commit 921e615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ helm install $SPARK_CHART_NAME /opt/spark \
--set worker.memoryLimit=${SPARK_CLUSTER_WORKER_APP_MEM:-18G} \
--set-json="worker.extraVolumes[0]={\"name\":\"course-workspace\",\"nfs\":{\"server\":\"${FILESYSTEM}\",\"path\":\"${WORKSPACE}\"}}" \
--set-json='worker.extraVolumes[1]={"name":"home","persistentVolumeClaim":{"claimName":"home"}}' \
--set-json='worker.extraVolumes[2]={"name":"datasets","persistentVolumeClaim":{"claimName":"dsmlp-datasets"}}' \
--set-json="worker.extraVolumes[2]={\"name\":\"datasets\",\"nfs\":{\"server\":\"its-dsmlp-fs01.ucsd.edu\",\"path\":\"/export/datasets\"}}" \
--set-json='worker.extraVolumeMounts[0]={"name":"course-workspace","mountPath":"/home/${USER}"}' \
--set worker.extraVolumeMounts[0].mountPath=/home/$USER \
--set worker.extraVolumeMounts[0].subPath=home/$USER \
Expand All @@ -46,7 +46,7 @@ helm install $SPARK_CHART_NAME /opt/spark \
--set-json='worker.extraVolumeMounts[3]={"name":"datasets","mountPath":"/datasets"}' \
--set-json="master.extraVolumes[0]={\"name\":\"course-workspace\",\"nfs\":{\"server\":\"${FILESYSTEM}\",\"path\":\"${WORKSPACE}\"}}" \
--set-json='master.extraVolumes[1]={"name":"home","persistentVolumeClaim":{"claimName":"home"}}' \
--set-json='master.extraVolumes[2]={"name":"datasets","persistentVolumeClaim":{"claimName":"dsmlp-datasets"}}' \
--set-json="master.extraVolumes[2]={\"name\":\"datasets\",\"nfs\":{\"server\":\"its-dsmlp-fs01.ucsd.edu\",\"path\":\"/export/datasets\"}}" \
--set-json='master.extraVolumeMounts[0]={"name":"course-workspace","mountPath":"/home/${USER}"}' \
--set master.extraVolumeMounts[0].mountPath=/home/$USER \
--set master.extraVolumeMounts[0].subPath=home/$USER \
Expand Down

0 comments on commit 921e615

Please sign in to comment.