[ 
https://issues.apache.org/jira/browse/FLINK-37567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939254#comment-17939254
 ] 

Alan Zhang commented on FLINK-37567:
------------------------------------

To make it clear for other people, a summary of our discussion above:
 * The standalone mode, operator doesn't clean up JM and (especially)TMs, this 
is not expected. We should fix it.
 * To better leverage autoscaer(e.g. in-place scaling), native mode is 
recommended.

> Flink clusters not be clean up when using job cancellation as suspend 
> mechanism
> -------------------------------------------------------------------------------
>
>                 Key: FLINK-37567
>                 URL: https://issues.apache.org/jira/browse/FLINK-37567
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kubernetes Operator
>    Affects Versions: kubernetes-operator-1.10.0, kubernetes-operator-1.11.0
>            Reporter: Alan Zhang
>            Priority: Major
>
> In general, for application mode, the Flink cluster lifecycle should be tight 
> with the Flink job lifecycle, which means we should delete the Flink cluster 
> if the job stopped.
> However, I noticed that Flink clusters are not deleted when I tried to 
> suspend FlinkDeployment with "job-cancel" enabled. The CR shows the job under 
> "CANCELED" state, but the underlying Flink cluster is still running
> Note: We used *standalone* mode to deploy Flink jobs



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to