You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Eli Schiff (Jira)" <ji...@apache.org> on 2023/02/27 17:41:00 UTC

[jira] [Created] (YUNIKORN-1609) Make apifactory and informer timeouts configurable

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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org