[
https://issues.apache.org/jira/browse/FLINK-27337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17529879#comment-17529879
]
Aitozi commented on FLINK-27337:
--------------------------------
I want to solve this in the following way
# In webhook we can prevent the deletion/upgrade if there is session jobs in
the session cluster.
# In SessionReconciler cleanup and reconcile we should also check whether
there is session job and decide to upgrade/delete session cluster or postpone
to do that until there is no session jobs. (Because user may not enable the
webhook)
# Make the check configurable, users can choose to manually suspend the job
before upgrade/delete the session cluster or directly done by the operator
(propagating the delete or upgrade)
what do you think [~wangyang0918] [~gyfora]
> Prevent session cluster to be deleted when there are running jobs
> -----------------------------------------------------------------
>
> Key: FLINK-27337
> URL: https://issues.apache.org/jira/browse/FLINK-27337
> Project: Flink
> Issue Type: Sub-task
> Components: Kubernetes Operator
> Reporter: Yang Wang
> Priority: Major
> Fix For: kubernetes-operator-1.0.0
>
>
> We should prevent the session cluster to be deleted when there are running
> jobs.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)