You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Nikola Milutinovic <n....@levi9.com> on 2025/05/15 15:22:15 UTC
Graceful stopping of Flink on K8s
Hello all.
We are running Flink 1.20 on Kubernetes cluster. We deploy using Flink K8s Operator.
I was wandering, when Kubernets decides to kill a running Flink cluster, is it using some regular graceful method or does it just kill the pod?
Just for the reference, Docker has a way to specify a signal that should be sent to the running process, if the container is to be stopped (STOPSIGNAL directive). I have seen that some docs state that K8s session should be stopped using
echo ’stop’ | bin/kubernetes-session.sh …
So, it looks like there are some thoughts on the subject, but not sure if it is all implemented in K8s Flink Operator case.
Nix.