Hello , Is anyone here deploying Flink task manage...
# troubleshooting
s
Hello , Is anyone here deploying Flink task managers on spot nodes of Google Cloud Platform (GCP) or Azure? Have you found any success in handling graceful termination without compromising the stability of the job?
r
I've not done this. But , maybe you could listen for the instance event and checkpoint immediately on the jm?
j
We have auto-scaling in our cluster around peak time. When a TM leaves the cluster, the jobs quickly resume on another node.
s
@Jeremy DeGroot are using flink-operator autoscale?
j
No, we have regular kubernetes autoscaling based on CPU usage. It's mostly useful for our periodic batch jobs, to spread their load out a little more during times when the streaming processing gets busy. But regular streaming jobs also wind up on the new TMs, and then get restarted when the cluster scales down. Usually they're back to real-time in <5 minutes (2-4 minutes seems normal, based on me looking just now)
πŸ‘ 1