Commit Graph

4 Commits

Author SHA1 Message Date
zhzhuang-zju c1661cd33a Add Support for Component Priority Class Configuration in karmadactl addon
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-19 10:46:34 +08:00
Mohamed Awnallah 6144ea5a9b cmd+hack+operator+pkg: unify addons constants
In this commit we unify the usage of addon names i.e
`karmada-descheduler`, `karmada-scheduler-estimator`, `karmada-search`,
and `karmada-metrics-adapter` across the codebase.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2024-12-05 18:45:44 +02:00
Mohamed Awnallah ddf4102d18 pkg/karmadactl/addons: unit test descheduler
In this commit, we unit test descheduler addon on enabling,
disabling, and status operations. In addition to this we refactor
some code to utilize some utilities across karmadactl addons.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-31 22:26:51 +03:00
Mohamed Awnallah 3b79f574c0 pkg/karmadactl/addons: unit test metrics adapter
In this commit, we unit test metrics adapter on status
operations making sure metrics adapter deployed correctly
on both the host cluster and karmada control plane by checking
on deployment and aaAPIServices respectively.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-30 14:51:01 +03:00