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

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

hi [~surahman]

Thanks for looking at this. Yes, I think we can load this from the config file. 
Currently, yunikorn loads configuration from a configmap, and the format is 
documented here: 
https://yunikorn.apache.org/docs/user_guide/queue_config#configuration. As you 
can see, the configuration has 2 parts, partitions and queues, I think we can 
add a config property in the partition level, such as:

{code}
healthcheck:
  enabled: true/false
  interval: 30s
{code}

what do you think?

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

Reply via email to