Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
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.
These are the 2 places in the scheduler that need to be updated to fix the 30 second timeout:
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:
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"}`.