[
https://issues.apache.org/jira/browse/FLINK-32255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17729705#comment-17729705
]
Christophe Bornet commented on FLINK-32255:
-------------------------------------------
[~gyfora] it's almost what is needed. The only missing part is that the
redundant TMs are not started if there are no jobs. Which is understandable as
the feature was designed for recovery. But it would be nice to have them
started in the case of a session cluster with no jobs to have a fast startup
for the first incoming job.
Can something be done about it ?
> Pre-deployed idle Task Managers
> -------------------------------
>
> Key: FLINK-32255
> URL: https://issues.apache.org/jira/browse/FLINK-32255
> Project: Flink
> Issue Type: New Feature
> Components: Kubernetes Operator
> Reporter: Christophe Bornet
> Priority: Major
>
> In the kubernetes operator, it would be nice to have the possibility to
> define a number of pre-deployed spare Task Managers. The operator would
> ensure that there are always a number of ready-to-be-used TMs that can accept
> new incoming jobs.
> The goal would be to reduce the startup time of jobs, especially in the
> session cluster mode.
> See for inspiration
> [https://www.decodable.co/blog/flink-deployments-at-decodable] -> Custom
> Flink Session Clusters for Preview Jobs: "To further reduce the preview
> response time, we also modified Flink to pre-deploy some idle TaskManagers.
> When a TaskManager is used, a new TaskManager is immediately created so there
> is always a pool of idle TaskManagers."
--
This message was sent by Atlassian Jira
(v8.20.10#820010)