Hello Community, Yang,
I am trying to extend the flink native Kubernetes operator by adding some new features based on the repo [1]. I wrote a method to release the image update functionality. [2] I added the
triggerImageUpdate(oldFlinkApp,
flinkApp,
effectiveConfig);
under the existing method.
triggerSavepoint(oldFlinkApp, flinkApp, effectiveConfig);
I wrote a function to accommodate the image change behavior.[2]
Solution1:
I want to use stopWithSavepoint() method to complete the task. However, I found it will get stuck and never get completed. Even if I use get() for the completeableFuture. It will always timeout and throw exceptions. See solution 1 logs
[3]
Solution2:
I tried to trigger a savepoint, then delete the deployment in the code and then create a new application with new image. This seems to work fine. Log link: [4]
My questions:
[1]
https://github.com/wangyang0918/flink-native-k8s-operator
[2] https://pastebin.ubuntu.com/p/tQShjmdcJt/
[3] https://pastebin.ubuntu.com/p/YHSPpK4W4Z/
[4] https://pastebin.ubuntu.com/p/3VG7TtXXfh/
Best,
Fuyao
Free forum by Nabble | Edit this page |