[ https://issues.apache.org/jira/browse/FLINK-26452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
hjw updated FLINK-26452: ------------------------ Description: ~/.kube/config apiVersion:v1 kind:config cluster: -name: "yf-dev-cluster1" cluster: server: "https://in-acpmanager.test.*.cn/k8s/clusters/c-t5h2t" certificate-authority-data : “……" {code:java} 2022-03-02 18:59:30 | ^[[31mWARN ^[[0;39m | ^[[1;33mOkHttp https://in-acpmanager.test.*.cn/...^[[0;39m | ^[[1;32mio.fabric8.kubernetes.client.dsl.internal.WatcherWebSocketListener^[[0;39m:76] Exec Failure javax.net.ssl.SSLPeerUnverifi edException Hostname in-acpmanager.test.yfzx.cn not verified: certificate: sha256/cw2T2s+Swhl7z+H35/3C1dTLxL26OOMO5VoEN9kAZCA= DN: CN=in-acpmanager.test.*.cn subjectAltNames: [] io.fabric8.kubernetes.client.KubernetesClientException: Failed to start websocket at io.fabric8.kubernetes.client.dsl.internal.WatcherWebSocketListener.onFailure(WatcherWebSocketListener.java:77) at org.apache.flink.kubernetes.shaded.okhttp3.internal.ws.RealWebSocket.failWebSocket(RealWebSocket.java:570) at org.apache.flink.kubernetes.shaded.okhttp3.internal.ws.RealWebSocket$1.onFailure(RealWebSocket.java:216) at org.apache.flink.kubernetes.shaded.okhttp3.RealCall$AsyncCall.execute(RealCall.java:180) at org.apache.flink.kubernetes.shaded.okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Suppressed: java.lang.Throwable: waiting here at io.fabric8.kubernetes.client.utils.Utils.waitUntilReady(Utils.java:164) at io.fabric8.kubernetes.client.utils.Utils.waitUntilReadyOrFail(Utils.java:175) at io.fabric8.kubernetes.client.dsl.internal.WatcherWebSocketListener.waitUntilReady(WatcherWebSocketListener.java:120) at io.fabric8.kubernetes.client.dsl.internal.WatchConnectionManager.waitUntilReady(WatchConnectionManager.java:82) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.watch(BaseOperation.java:705) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.watch(BaseOperation.java:678) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.watch(BaseOperation.java: {code} was: ~/.kube/config apiVersion:v1 kind:config cluster: -name: "yf-dev-cluster1" cluster: server: "https://in-acpmanager.test.*.cn/k8s/clusters/c-t5h2t" certificate-authority-data : “……" {code:java} 2022-03-02 18:59:30 | ^[[31mWARN ^[[0;39m | ^[[1;33mOkHttp https://in-acpmanager.test.*.cn/...^[[0;39m | ^[[1;32mio.fabric8.kubernetes.client.dsl.internal.WatcherWebSocketListener^[[0;39m:76] Exec Failure javax.net.ssl.SSLPeerUnverifi edException Hostname in-acpmanager.test.yfzx.cn not verified: certificate: sha256/cw2T2s+Swhl7z+H35/3C1dTLxL26OOMO5VoEN9kAZCA= DN: CN=in-acpmanager.test.yfzx.cn subjectAltNames: [] io.fabric8.kubernetes.client.KubernetesClientException: Failed to start websocket at io.fabric8.kubernetes.client.dsl.internal.WatcherWebSocketListener.onFailure(WatcherWebSocketListener.java:77) at org.apache.flink.kubernetes.shaded.okhttp3.internal.ws.RealWebSocket.failWebSocket(RealWebSocket.java:570) at org.apache.flink.kubernetes.shaded.okhttp3.internal.ws.RealWebSocket$1.onFailure(RealWebSocket.java:216) at org.apache.flink.kubernetes.shaded.okhttp3.RealCall$AsyncCall.execute(RealCall.java:180) at org.apache.flink.kubernetes.shaded.okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Suppressed: java.lang.Throwable: waiting here at io.fabric8.kubernetes.client.utils.Utils.waitUntilReady(Utils.java:164) at io.fabric8.kubernetes.client.utils.Utils.waitUntilReadyOrFail(Utils.java:175) at io.fabric8.kubernetes.client.dsl.internal.WatcherWebSocketListener.waitUntilReady(WatcherWebSocketListener.java:120) at io.fabric8.kubernetes.client.dsl.internal.WatchConnectionManager.waitUntilReady(WatchConnectionManager.java:82) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.watch(BaseOperation.java:705) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.watch(BaseOperation.java:678) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.watch(BaseOperation.java: {code} > Flink deploy on k8s when kubeconfig server is hostname not ip > ---------------------------------------------------------------- > > Key: FLINK-26452 > URL: https://issues.apache.org/jira/browse/FLINK-26452 > Project: Flink > Issue Type: Bug > Components: Deployment / Kubernetes > Affects Versions: 1.13.6 > Reporter: hjw > Priority: Major > > ~/.kube/config > apiVersion:v1 > kind:config > cluster: > -name: "yf-dev-cluster1" > cluster: > server: "https://in-acpmanager.test.*.cn/k8s/clusters/c-t5h2t" > certificate-authority-data : “……" > {code:java} > 2022-03-02 18:59:30 | ^[[31mWARN ^[[0;39m | ^[[1;33mOkHttp > https://in-acpmanager.test.*.cn/...^[[0;39m | > ^[[1;32mio.fabric8.kubernetes.client.dsl.internal.WatcherWebSocketListener^[[0;39m:76] > Exec Failure javax.net.ssl.SSLPeerUnverifi > edException Hostname in-acpmanager.test.yfzx.cn not verified: > certificate: sha256/cw2T2s+Swhl7z+H35/3C1dTLxL26OOMO5VoEN9kAZCA= > DN: CN=in-acpmanager.test.*.cn > subjectAltNames: [] > io.fabric8.kubernetes.client.KubernetesClientException: Failed to start > websocket > at > io.fabric8.kubernetes.client.dsl.internal.WatcherWebSocketListener.onFailure(WatcherWebSocketListener.java:77) > at > org.apache.flink.kubernetes.shaded.okhttp3.internal.ws.RealWebSocket.failWebSocket(RealWebSocket.java:570) > at > org.apache.flink.kubernetes.shaded.okhttp3.internal.ws.RealWebSocket$1.onFailure(RealWebSocket.java:216) > at > org.apache.flink.kubernetes.shaded.okhttp3.RealCall$AsyncCall.execute(RealCall.java:180) > at > org.apache.flink.kubernetes.shaded.okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > Suppressed: java.lang.Throwable: waiting here > at > io.fabric8.kubernetes.client.utils.Utils.waitUntilReady(Utils.java:164) > at > io.fabric8.kubernetes.client.utils.Utils.waitUntilReadyOrFail(Utils.java:175) > at > io.fabric8.kubernetes.client.dsl.internal.WatcherWebSocketListener.waitUntilReady(WatcherWebSocketListener.java:120) > at > io.fabric8.kubernetes.client.dsl.internal.WatchConnectionManager.waitUntilReady(WatchConnectionManager.java:82) > at > io.fabric8.kubernetes.client.dsl.base.BaseOperation.watch(BaseOperation.java:705) > at > io.fabric8.kubernetes.client.dsl.base.BaseOperation.watch(BaseOperation.java:678) > at > io.fabric8.kubernetes.client.dsl.base.BaseOperation.watch(BaseOperation.java: > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)