Open hunkw123456 opened 1 year ago
This is a bug, you can address it like this:
StreamPark\streampark-console\streampark-console-service\src\main\java\org\apache\streampark\console\core\service\impl\ApplicationServiceImpl.java:
IngressController.deleteIngress(application.getK8sNamespace(), application.getJobName()); --> IngressController.deleteIngress(application.getJobName(), application.getK8sNamespace());
Search before asking
Java Version
java 8
Scala Version
2.12.x
StreamPark Version
2.0.0
Flink Version
1.13.2
deploy mode
kubernetes-application
What happened
A flink job has been started in k8s application mode. Its "Run Status" keeps RUNNING and data cleansing is ongoing. Then I wanner kill this job by "stop" button, after I clicked it, the status switched to CANCELLING. As it kept on status CANCELLING for minutes, I don't want to wait, then I clicked the "Forced Stop Application" button to kill it forcefully: (1) Error appears, which reads ingresses can't be removed in the namespace "k8s-application-test-2", but actually "k8s-application-test-2" is the application name I set, not the kubernetes namespace. (2) The pod raised by this job can be stopped, but the "Run Status" turned to FAILED.
Error Exception
No response
Screenshots
Are you willing to submit PR?
Code of Conduct