You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Jie-Kai(Jay) Chang (Jira)" <ji...@apache.org> on 2025/01/25 11:04:00 UTC
[jira] [Commented] (YUNIKORN-2850) Watch configmap only in yunikorn's deployed namespace
[ 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org