Hi everyone, I have a question of taskManager.repl...
# troubleshooting
a
Hi everyone, I have a question of taskManager.replicas with Native mode and Flink Kubernetes Operator. In Flink Application Mode with Native mode, as far as I know, we don't need to set the
taskManager.replicas
(https://cwiki.apache.org/confluence/display/FLINK/FLIP-225%3A+Implement+standalone+mode+support+in+the+kubernetes+operator#~text=(on[…]20clusters) and the operator will figure out the least number of TMs enough to run the job given the parallelism. However, I want to give Flink cluster some of available/standby TM replicas for the failover. For example, Flink cluster need 10 TMs to run but I want to grant them 12 TMs, so the cluster set aside 2 in case of failure. Thanks
g
native mode completely ignores that setting so no point in setting it. Resources are requested on demand. Check this option for extra TMs: https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/deployment/config/#slotmanager-redundant-taskmanager-num
a
It really works. Thanks so much