Skip to content

Commit

Permalink
hostpath is ReadWriteOnce
Browse files Browse the repository at this point in the history
  • Loading branch information
dongjoon-hyun committed Jan 20, 2024
1 parent 8ccdcd1 commit 680b3d6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ private[spark] trait PVTestsSuite { k8sSuite: KubernetesSuite =>
}

test("PVs with local hostpath storage on statefulsets", k8sTestTag, MinikubeTag) {
assume(this.getClass.getSimpleName == "KubernetesSuite")
sparkAppConf
.set(s"spark.kubernetes.driver.volumes.persistentVolumeClaim.data.mount.path",
CONTAINER_MOUNT_PATH)
Expand Down Expand Up @@ -167,6 +168,7 @@ private[spark] trait PVTestsSuite { k8sSuite: KubernetesSuite =>
}

test("PVs with local hostpath and storageClass on statefulsets", k8sTestTag, MinikubeTag) {
assume(this.getClass.getSimpleName == "KubernetesSuite")
sparkAppConf
.set(s"spark.kubernetes.driver.volumes.persistentVolumeClaim.data.mount.path",
CONTAINER_MOUNT_PATH)
Expand Down Expand Up @@ -201,6 +203,7 @@ private[spark] trait PVTestsSuite { k8sSuite: KubernetesSuite =>
}

test("PVs with local storage", k8sTestTag, MinikubeTag) {
assume(this.getClass.getSimpleName == "KubernetesSuite")
sparkAppConf
.set(s"spark.kubernetes.driver.volumes.persistentVolumeClaim.data.mount.path",
CONTAINER_MOUNT_PATH)
Expand Down

0 comments on commit 680b3d6

Please sign in to comment.