Eli Schiff created YUNIKORN-1609:
------------------------------------

             Summary: Make apifactory and informer timeouts configurable
                 Key: YUNIKORN-1609
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1609
             Project: Apache YuniKorn
          Issue Type: Bug
            Reporter: Eli Schiff


Right now there are a few places I was able to find with a hard coded 30 second 
timeout. It would be nice if those timeouts were user configurable. 

The 3 places I was able to find (there may be more):

[https://github.com/apache/yunikorn-k8shim/blob/master/pkg/admission/informers.go#L58]

[https://github.com/apache/yunikorn-k8shim/blob/master/pkg/client/apifactory.go#L217]

[https://github.com/apache/yunikorn-k8shim/blob/master/pkg/client/apifactory.go#L224]

 

Context:

[Yunikorn slack 
thread|https://yunikornworkspace.slack.com/archives/CLNUW68MU/p1677267710345769]

I was seeing error/warning logs like `nodes recovery failed \{"error": "timeout 
waiting for condition"}`, `{{{}scheduler recovery failed        \{"error": 
"timeout waiting for condition"}`, and `Failed to sync informers    \{"error": 
"timeout waiting for condition"}`.{}}}



--
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