From aa32e2d4e18f4f13c5ed48f483912dba3465ebd3 Mon Sep 17 00:00:00 2001 From: Abe Sharp Date: Thu, 9 May 2024 13:41:17 -0700 Subject: [PATCH] EZESC-1933 -Update pi.yaml to remove duplicate volume Fixes for the Pi example to remove duplicate volume (same issue and fix as for the wordcount example described in EZESC-1933, and discussed with Mayank, Simhan and others) --- Data-Analytics/Spark/pi/pi.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Data-Analytics/Spark/pi/pi.yaml b/Data-Analytics/Spark/pi/pi.yaml index c725af0f..4ad79162 100644 --- a/Data-Analytics/Spark/pi/pi.yaml +++ b/Data-Analytics/Spark/pi/pi.yaml @@ -9,7 +9,7 @@ spec: mode: cluster image: gcr.io/mapr-252711/spark-3.5.0:v3.5.0 imagePullPolicy: Always - mainApplicationFile: "local:///mounts/shared-volume/ezua-tutorials/current-release/Data-Analytics/Spark/pi/pi.py" + mainApplicationFile: "local:///mounts/shared-volume/shared/ezua-tutorials/current-release/Data-Analytics/Spark/pi/pi.py" restartPolicy: type: Never imagePullSecrets: @@ -17,16 +17,6 @@ spec: driver: labels: version: 3.5.0 - volumeMounts: - - name: shared-volume - mountPath: /mounts/shared-volume executor: labels: version: 3.5.0 - volumeMounts: - - name: shared-volume - mountPath: /mounts/shared-volume - volumes: - - name: shared-volume - persistentVolumeClaim: - claimName: kubeflow-shared-pvc