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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to