Commit Graph

10 Commits

Author SHA1 Message Date
chaunceyjiang 1186588d1d karmada-metrics-adapter: reduce memory usage
When there is a large amount of pod usage in the member cluster, metrics-adapter will consume a lot of memory. The reason is that it caches all the information of all pods in the cluster. However, we don't need all this information, so we trim some of the information to reduce memory usage.

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-04-03 16:06:45 +08:00
Mohammed Affan 970435c3d1 Add linting for unused parameters
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-01-13 12:26:54 +05:30
Zhizhen He 25a62c6c57
fix typo
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-12-17 16:12:03 +08:00
zhy76 adef1e5974 feat: add license and verify license for code file
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
karmada-bot 0febf48bc3
Merge pull request #3638 from chaunceyjiang/custom-metrics
feat: support custom metrics for metrics adapter
2023-06-19 21:10:46 +08:00
chaunceyjiang 70e5260315 feat: support custom metrics for metrics adapte
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-19 16:51:47 +08:00
chaunceyjiang 23f94a4c75 When different clusters have the same pod name, the annotations of different metrics have the same value
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-09 10:35:28 +08:00
jwcesign 06960c22c0 feat: add validation for federatedhpa
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-30 20:43:57 +08:00
jwcesign 6dfa4d068e feat: support fieldSelector
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-05-28 16:02:57 +08:00
jwcesign ae6c34578c feat: add metrics-adapter component to support centralized hpa
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-26 11:23:38 +08:00