You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Huang Guan Hao (Jira)" <ji...@apache.org> on 2024/07/10 04:50:00 UTC

[jira] [Created] (YUNIKORN-2734) make configurable for pods in k8shim pkg/client/kubeclient.go

Huang Guan Hao created YUNIKORN-2734:
----------------------------------------

             Summary: make configurable for pods in k8shim pkg/client/kubeclient.go
                 Key: YUNIKORN-2734
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2734
             Project: Apache YuniKorn
          Issue Type: Improvement
            Reporter: Huang Guan Hao


for remove //TODO comment
in[ pkg/client/kubeclient.go|https://github.com/rich7420/yunikorn-k8shim/blob/a5e875086fc8fd7e2bf4cdddf532d768d7a5f54c/pkg/client/kubeclient.go#L141]
Make the grace period for pod deletion configurable.
Currently, the grace period for deleting pods is hardcoded to 3 seconds.
This might not be suitable for all use cases, as some pods might require more time to gracefully shut down. In the future, this value should be made configurable, either through a function parameter, configuration file, or environment variable, to provide more flexibility and accommodate different scenarios.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org