gyfora commented on code in PR #1232:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/1232#discussion_r4443741860


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java:
##########
@@ -178,6 +178,19 @@ public static String operatorConfigKey(String key) {
                     .withDescription(
                             "The timeout for the resource clean up to wait for 
flink to shutdown cluster.");
 
+    @Documentation.Section(SECTION_SYSTEM_RECONCILE)
+    public static final ConfigOption<Boolean> 
OPERATOR_RESOURCE_CLEANUP_FORCE_DELETE_STUCK_PODS =
+            operatorConfig("resource.cleanup.force-delete-stuck-pods.enabled")
+                    .booleanType()
+                    .defaultValue(true)
+                    .withDescription(
+                            "Whether to force delete (grace period 0) the 
JobManager/TaskManager pods that are "
+                                    + "still Terminating past their deletion 
deadline (e.g. stuck due to their node "
+                                    + "becoming unreachable) while waiting for 
the cluster resources to be deleted. "
+                                    + "Stuck pods are force deleted once, 
after half of resource.cleanup.timeout has "

Review Comment:
   True, but I would rather keep the description slightly simpler conceptually.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to