[ 
https://issues.apache.org/jira/browse/YUNIKORN-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17539106#comment-17539106
 ] 

Weiwei Yang commented on YUNIKORN-1213:
---------------------------------------

hi [~surahman]

This is a good one. Right now we do not have a global config section, that's 
why I suggested putting it under the partition section.
Even today from what I know, people only use 1 partition, but that doesn't mean 
we should be limited our use cases to a single partition.
Apparently, the config we are trying to add applies to all partitions. 
Given that, maybe we should discuss adding a global config section, something 
like:

{code}
scheduler:
  - healthcheck:
     enabled: true
     interval: 30s
partitions:
  - name: a
     xxx
  - name: b
    xxx
{code}

Let me raise this up in the discussion channel and see if others have better 
ideas.

> The interval of the background health checker needs to be configurable
> ----------------------------------------------------------------------
>
>                 Key: YUNIKORN-1213
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1213
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - scheduler
>            Reporter: Weiwei Yang
>            Priority: Major
>
> YUNIKORN-1107 adds a background running health checker to verify the 
> scheduler data correctness in the fixed time interval 30s: 
> https://github.com/apache/yunikorn-core/blob/3ba91fb8a41c0fd0dd6243326e583dea5167199f/pkg/scheduler/health_checker.go#L34.
>  We need to make this configurable, either let the user set a longer/shorter 
> interval, or completely disable it.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to