[
https://issues.apache.org/jira/browse/YUNIKORN-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916914#comment-17916914
]
Jie-Kai(Jay) Chang commented on YUNIKORN-2850:
----------------------------------------------
So I tried to fix this by using global and local factory, but when I want to
see if it works by letting it print logs from filterConfigMaps. It just can't
seem to let it print out the logs I want somehow.
> Watch configmap only in yunikorn's deployed namespace
> -----------------------------------------------------
>
> Key: YUNIKORN-2850
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2850
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: shim - kubernetes
> Reporter: Tae-kyeom, Kim
> Assignee: Jie-Kai(Jay) Chang
> Priority: Major
> Labels: newbie, pull-request-available
>
> Currently, Yunikorn uses configmap informer to handle configuration hot
> reload.
> However, In current implementation informer watches all namespaces even only
> need to watch namespace in which yunikorn is deployed. It causes in efficient
> behavior when sync and cache configmap states. If there is too many unrelated
> configmap in other namespace cause long recovery time to list and memory
> presure to handle configmap caches which is redundant.
> So, If we could replace configmap informer to namespace restricted one, it
> would improve startup / recovery time and reduce memory usage
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]