You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Ryan Lo (Jira)" <ji...@apache.org> on 2022/03/16 06:21:00 UTC

[jira] [Commented] (YUNIKORN-1107) Make health check occur in the background

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

Ryan Lo commented on YUNIKORN-1107:
-----------------------------------

Hi [~ccondit] , I was wondering the reason why we should implement the health check service with YK scheduler in the background. We have tried the k8s livenessProbe, but something happened to cause scheduler's shutdown. ([https://github.com/apache/incubator-yunikorn-k8shim/pull/340/files |https://github.com/apache/incubator-yunikorn-k8shim/pull/340/files)])

1. Do you have any clue about the shutdown under your investigation?
2. I don't really understand why the health check endpoint could be a denial-of-service vector.

> Make health check occur in the background
> -----------------------------------------
>
>                 Key: YUNIKORN-1107
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1107
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - scheduler
>            Reporter: Craig Condit
>            Assignee: Ryan Lo
>            Priority: Major
>
> Currently, the health check endpoint in the REST API performs a lengthy process that could be used as a denial-of-service vector. We should schedule the health check in the background periodically, and have the REST API simply report the results of the latest check.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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