You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ch...@apache.org on 2026/09/09 06:31:02 UTC
(spark) branch branch-4.3 updated: [SPARK-59212][4.3][K8S][INFRA] Pin the Minikube container runtime to docker in K8s CI
This is an automated email from the ASF dual-hosted git repository.
pan3793 pushed a commit to branch branch-4.3
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.3 by this push:
new 2dd3d1ae3346 [SPARK-59212][4.3][K8S][INFRA] Pin the Minikube container runtime to docker in K8s CI
2dd3d1ae3346 is described below
commit 2dd3d1ae33462f9ff6088ae1fca23e9914d2e9b9
Author: Szehon Ho <sz...@gmail.com>
AuthorDate: Wed Sep 9 14:30:46 2026 +0800
[SPARK-59212][4.3][K8S][INFRA] Pin the Minikube container runtime to docker in K8s CI
### What changes were proposed in this pull request?
Backport the applicable part of #58502 (`680855bea73`) to `branch-4.3` by passing `container-runtime: docker` to the Minikube setup used by the Kubernetes integration test job.
The OIDC E2E job updated by the master change does not exist on `branch-4.3`, so this backport changes only the Kubernetes integration test job.
### Why are the changes needed?
Minikube 1.39.0 changed its default container runtime from Docker to containerd. The Kubernetes integration test builds Spark images through `minikube docker-env`, but the containerd Docker shim does not implement enough of the Docker API for Buildx. Image construction therefore fails while booting BuildKit with:
```
failed to inspect pulled image moby/buildkit:buildx-stable-1: Error response from daemon: 404 page not found
```
This currently breaks the `branch-4.3` Kubernetes integration check, as seen in [this CI run](https://github.com/szehon-ho/spark/actions/runs/33897666594/job/101109172055). Pinning the runtime to Docker restores the real Docker daemon expected by the image build.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- Parsed `.github/workflows/build_and_test.yml` with Ruby YAML to verify its syntax.
- Ran `git diff --check`.
- The Kubernetes integration CI job exercises the affected image-build path.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Codex (GPT-5)
Closes #58533 from szehon-ho/codex/SPARK-59212-minikube-docker-runtime-4.3.
Authored-by: Szehon Ho <sz...@gmail.com>
Signed-off-by: Cheng Pan <ch...@apache.org>
---
.github/workflows/build_and_test.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index fe0b4e664463..002eec8d9788 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -1589,6 +1589,10 @@ jobs:
uses: medyagh/setup-minikube@e9e035a86bbc3caea26a450bd4dbf9d0c453682e # v0.0.21
with:
kubernetes-version: "1.36.0"
+ # Minikube 1.39.0 changed the default container runtime to containerd. The image
+ # builds below go through `minikube docker-env`, which needs a real Docker daemon
+ # in the node, so pin the runtime rather than inherit the default.
+ container-runtime: docker
# GitHub Actions limit 4C/16G, limit to 2C/6G for better resource statistic
# https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories
cpus: 2
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org