hi, i upgraded to flink 19.1 using flink operator ...
# troubleshooting
s
hi, i upgraded to flink 19.1 using flink operator to deploy the flink cluster. the checkpoints are defined using pvc and i saw they defined correctly. the service accont is also defined correctly will the relevant permissions. when starting the pipeline in HA mode the task manager fails with the following 2025-01-21 093702,500 ERROR org.apache.flink.kubernetes.shaded.io.fabric8.kubernetes.client.informers.impl.cache.Reflector [] - listSyncAndWatch failed for v1/namespaces/psp1/configmaps, will stop java.util.concurrent.CompletionException: java.io.IOException: Unexpected response code for CONNECT: 504 at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1141) ~[?:?] at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) [?:?] at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162) [?:?] at org.apache.flink.kubernetes.shaded.io.fabric8.kubernetes.client.okhttp.OkHttpClientImpl$1.onFailure(OkHttpClientImpl.java:320) [flink-dist-1.19.1.jar:1.19.1] at org.apache.flink.kubernetes.shaded.okhttp3.RealCall$AsyncCall.execute(RealCall.java:180) [flink-dist-1.19.1.jar:1.19.1] at org.apache.flink.kubernetes.shaded.okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) [flink-dist-1.19.1.jar:1.19.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:840) [?:?] Caused by: java.io.IOException: Unexpected response code for CONNECT: 504. tried to play with the kubernates timeout.. nothing helped. any ideas?
p
What is your k8s version? have you checked the
fabric8
version and supported versions? I'm asking this because this is mainly leading to a 504 response from k8s cluster. Your k8s logs may help you to understand what's going on there.