Reactive mode doesn't support standby taskmanagers. As you said it
always uses all available resources in the cluster.
I can see it being useful though to not always scale to MAX but (MAX -
some_offset).
I'd suggest to file a ticket.
On 26/04/2023 00:17, Wei Hou via user wrote:
Hi Flink community,
We are trying to use Flink’s reactive mode with Kubernetes HPA for autoscaling,
however since the reactive mode will always use all available resources, it
causes a problem when we need standby task managers for fast failure recover:
The job will always use these extra standby task managers as active task
manager to process data.
I wonder if you have any suggestion on this, should we avoid using Flink
reactive mode together with standby task managers?
Best,
Wei