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

gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 4e72aa9c [hotfix] Fix E2E tests
4e72aa9c is described below

commit 4e72aa9cee43c1ed50ff60b9e0c32a38c40d88d0
Author: Dennis-Mircea Ciupitu <[email protected]>
AuthorDate: Mon Sep 14 13:23:58 2026 +0200

    [hotfix] Fix E2E tests
---
 docs/content/docs/development/guide.md | 6 ++++++
 e2e-tests/utils.sh                     | 1 +
 2 files changed, 7 insertions(+)

diff --git a/docs/content/docs/development/guide.md 
b/docs/content/docs/development/guide.md
index e8e2f3e0..6c582714 100644
--- a/docs/content/docs/development/guide.md
+++ b/docs/content/docs/development/guide.md
@@ -89,6 +89,12 @@ eval $(minikube docker-env) && docker build . -t 
<repo>/flink-kubernetes-operato
 
 `eval $(minikube docker-env --unset)` switches back to the local daemon 
afterwards. Since minikube is itself a Docker container, `minikube ssh` opens a 
shell inside it for low-level inspection, checking the loaded images or adding 
a hostPath mount for example.
 
+minikube 1.39 and later default to containerd, which does not support building 
images through `minikube docker-env`. Building through `docker-env` needs a 
cluster on the Docker runtime, as used by the end-to-end tests, and minikube 
cannot change the runtime of an existing cluster. The recommended approach is 
to remove the existing cluster with `minikube delete` and to start a new one 
with:
+
+```bash
+minikube start --kubernetes-version=v1.28.0 --container-runtime=docker
+```
+
 ### Installing the Operator Locally
 
 The admission webhook runs by default and needs cert-manager for its TLS 
certificate, installed once per cluster:
diff --git a/e2e-tests/utils.sh b/e2e-tests/utils.sh
index bba4d3aa..582fb4fd 100755
--- a/e2e-tests/utils.sh
+++ b/e2e-tests/utils.sh
@@ -317,6 +317,7 @@ function start_minikube_if_not_running {
         # Please update the docs when changing kubernetes version
         minikube start \
         --kubernetes-version=v1.28.0 \
+        --container-runtime=docker \
         --extra-config=kubelet.image-gc-high-threshold=99 \
         --extra-config=kubelet.image-gc-low-threshold=98 \
         --extra-config=kubelet.minimum-container-ttl-duration=120m \

Reply via email to