You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Tao Yang (Jira)" <ji...@apache.org> on 2020/03/26 01:37:00 UTC

[jira] [Commented] (YUNIKORN-28) Support validating yunikorn-configs before admitting it

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

Tao Yang commented on YUNIKORN-28:
----------------------------------

Thanks [~wilfreds], [~wwei] for the review and commit!

> Support validating yunikorn-configs before admitting it
> -------------------------------------------------------
>
>                 Key: YUNIKORN-28
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-28
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: shim - kubernetes
>            Reporter: Tao Yang
>            Assignee: Tao Yang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0..8
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently queues configuration are managed as ConfigMap, it can be easily updated via kubectl commands but won't be validated for now, thus this configmap may be inconsistent after been updated with invalid content, in this state, configmap is updated successfully while the scheduler is still using the previous configs, and the client doesn't know whether or not this update is succeed. This may leads to many unexpected results, for example, scheduler may not be successfully launched after restart.
> To improve the management for configs, we can add validations for yunikorn configs via admission-controller mechanism in K8S which is already used for mutations on pod's spec/metadata in yunikorn-k8shim.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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