Commit Graph

12 Commits

Author SHA1 Message Date
xovoxy 38ee277de7 optimize: used unified context in controller
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-06 11:44:20 +08:00
whitewindmills 59b8835bda Deprecate name/namespace labels of pp/cpp
Co-authored-by: changzhen <changzhen5@huawei.com>
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-18 14:21:02 +08:00
whitewindmills e88797b2dc Optimize deprioritized policy preemption logic
Use the priorityequeue to sort the listed policies to avoid multiple preemption.

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-02-29 15:52:38 +08:00
karmada-bot 55547b2acf
Merge pull request #4199 from jwcesign/add-id-label
feat: add resource id label
2023-11-23 10:44:52 +08:00
jwcesign 7e6387e98f feat: add resoruce id label
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-20 11:07:11 +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
jwcesign 2c48bd7f99 cleanup: add uid in resource and owner information in annotations
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-08-26 17:02:13 +08:00
chaosi-zju 915c35dad7 Detect priority change happend on ClusterPropagationPolicy
and enqueue ClusterPropagationPolicy that could repreempte.

Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-08-24 15:28:13 +08:00
RainbowMango 62a0e50fa2 Detect priority change happend on PropagationPolicy
and enqueue PropagationPolicy that could repreempte.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-08-23 11:11:05 +08:00
whitewindmills f26a31fc11 add metrics and events for policy preemption
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-01 20:57:15 +08:00
whitewindmills 272e4b548c implement preemption between propagation policies
pp preempts cpp

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-31 17:20:43 +08:00
whitewindmills d487e2cb0c implement propagation policy priority preemption
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-26 18:51:00 +08:00