You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2026/07/29 18:39:57 UTC

(spark) branch master updated: [SPARK-58422][K8S][TEST] Upgrade the minimum Minikube version to 1.38.0

This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 5db219c37591 [SPARK-58422][K8S][TEST] Upgrade the minimum Minikube version to 1.38.0
5db219c37591 is described below

commit 5db219c37591d79cbce26d1e1f8ad252020fd0cd
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Wed Jul 29 11:39:45 2026 -0700

    [SPARK-58422][K8S][TEST] Upgrade the minimum Minikube version to 1.38.0
    
    ### What changes were proposed in this pull request?
    
    This PR aims to update the Minikube minimum version check in `Minikube.getKubernetesClient` from `1.28.0` to `1.38.0`, along with the corresponding assertion message, for Apache Spark 5.0.0.
    
    ### Why are the changes needed?
    
    Apache Spark 5 dropped the support of K8s v1.34 and below and also upgraded the minimum Minikube version to `1.38.0` already. This PR only makes the code consistent with the documentation.
    - #57048
    - #56605
    
    Minikube v1.38.x has been used stably with K8s v1.35+ since 2026-01-28 in our CIs.
    - https://github.com/kubernetes/minikube/releases/tag/v1.38.1 (2026-02-19)
      - https://github.com/kubernetes/minikube/pull/22665
    - https://github.com/kubernetes/minikube/releases/tag/v1.38.0 (2026-01-28)
      - https://github.com/kubernetes/minikube/pull/22328
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. This is a test-only change.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Fable 5
    
    Closes #57633 from dongjoon-hyun/minikube-min-version-1.38.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .../spark/deploy/k8s/integrationtest/backend/minikube/Minikube.scala  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/backend/minikube/Minikube.scala b/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/backend/minikube/Minikube.scala
index acfa237228ad..4574d84eb564 100644
--- a/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/backend/minikube/Minikube.scala
+++ b/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/backend/minikube/Minikube.scala
@@ -48,9 +48,9 @@ private[spark] object Minikube extends Logging {
 
     versionArrayOpt match {
       case Some(Array(x, y, z)) =>
-        if (Ordering.Tuple3[Int, Int, Int].lt((x, y, z), (1, 28, 0))) {
+        if (Ordering.Tuple3[Int, Int, Int].lt((x, y, z), (1, 38, 0))) {
           assert(false, s"Unsupported Minikube version is detected: $minikubeVersionString." +
-            "For integration testing Minikube version 1.28.0 or greater is expected.")
+            "For integration testing Minikube version 1.38.0 or greater is expected.")
         }
       case _ =>
         assert(false, s"Unexpected version format detected in `$minikubeVersionString`." +


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org