vincentnull opened a new issue, #4311: URL: https://github.com/apache/streampark/issues/4311
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### Java Version _No response_ ### Scala Version 2.12.x ### StreamPark Version 2.1.5 ### Flink Version 1.20.3 ### Deploy mode kubernetes-application ### What happened When starting a task using the k8s application loadBalancer mode, after the task execution is completed and the container is destroyed, StreamPark shows the task as running and an ERROR log appears. 使用k8s application loadBalancer 模式启动任务,任务执行完成,容器销毁后,streampark显示任务运行中状态,并且出现ERROR日志 ### Error Exception ```log 10:09:09.750 [pool-10-thread-5] WARN org.apache.streampark.flink.kubernetes.watcher.FlinkJobStatusWatcher - Failed to visit flink-sql-demo2 remote flink jobs on kubernetes-native-mode cluster, and the retry access logic is performed. 10:09:09.752 [pool-10-thread-8] WARN org.apache.streampark.flink.kubernetes.watcher.FlinkJobStatusWatcher - Failed to visit flink-sql-demo remote flink jobs on kubernetes-native-mode cluster, and the retry access logic is performed. 10:09:09.795 [pool-10-thread-5] ERROR org.apache.streampark.flink.kubernetes.KubernetesRetriever - [StreamPark] Get flinkClient error, the error is: java.lang.RuntimeException: org.apache.flink.client.deployment.ClusterRetrieveException: Could not get the rest endpoint of flink-sql-demo2 10:09:09.801 [pool-10-thread-8] ERROR org.apache.streampark.flink.kubernetes.KubernetesRetriever - [StreamPark] Get flinkClient error, the error is: java.lang.RuntimeException: org.apache.flink.client.deployment.ClusterRetrieveException: Could not get the rest endpoint of flink-sql-demo ``` ### Screenshots <img width="2458" height="836" alt="Image" src="https://github.com/user-attachments/assets/e6bad99c-ee42-4d19-b62f-4386c58496f9" /> <img width="1842" height="430" alt="Image" src="https://github.com/user-attachments/assets/9a5d309b-78d4-4bec-8e00-c82953904ebe" /> ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR!(您是否要贡献这个PR?) ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
