From fa76a74eda217ffb66009aa4a73be07d0656b1c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20M=C3=A9sz=C3=A1ros?= Date: Wed, 17 Jan 2024 14:57:34 +0100 Subject: [PATCH] fix: temp comment out readyz check on startup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This causes an error with Kubernetes API responding with goaway (http2) Signed-off-by: Attila Mészáros --- .../jenvtest/process/KubeAPIServerProcess.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/io/javaoperatorsdk/jenvtest/process/KubeAPIServerProcess.java b/core/src/main/java/io/javaoperatorsdk/jenvtest/process/KubeAPIServerProcess.java index 38d6698..aef9548 100644 --- a/core/src/main/java/io/javaoperatorsdk/jenvtest/process/KubeAPIServerProcess.java +++ b/core/src/main/java/io/javaoperatorsdk/jenvtest/process/KubeAPIServerProcess.java @@ -89,7 +89,9 @@ public void waitUntilReady() { var readinessChecker = new ProcessReadinessChecker(); var timeout = config.getStartupTimeout(); var startTime = System.currentTimeMillis(); - readinessChecker.waitUntilReady(apiServerPort, "readyz", KUBE_API_SERVER, true, timeout); + // the 1.29.0 binary has issue with this. Will temporarily comment out and further investigate. + // But with this now all the executions are failing + // readinessChecker.waitUntilReady(apiServerPort, "readyz", KUBE_API_SERVER, true, timeout); int newTimout = (int) (timeout - (System.currentTimeMillis() - startTime)); readinessChecker.waitUntilDefaultNamespaceAvailable(apiServerPort, binaryManager, certManager, config, newTimout);