Commit Graph

18 Commits

Author SHA1 Message Date
zhzhuang-zju 69a07ed3a0 Clean up the residual annotations when resources are preempted by pp from cpp
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-09 10:37:09 +08:00
changzhen 64a5d0fa7a remove pp/cpp namespace/name labels
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-06-03 09:58:19 +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
chaosi-zju 926e34a7ad implementation of the LazyActivation preference for Policy.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-25 20:56:31 +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
xiaoqing 2879c8da93 Don't send event when object no matched any propagation policy
Signed-off-by: xiaoqing <xiaoqingnb@gmail.com>
2023-09-12 13:25:45 +08:00
whitewindmills 909ba8527a avoid updating directly cached resource template
for clean up policy

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-03 14:59:54 +08:00
karmada-bot 71584bca33
Merge pull request #3845 from whitewindmills/policy-preemption
feat: implement preemption between propagation policies
2023-07-31 19:57:49 +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
chaunceyjiang 3274d64927 fix: When the PP is deleted, the propagationpolicy.karmada.io/name label in the resource template's labels is not removed.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>

fix: When the PP is deleted, the propagationpolicy.karmada.io/name label in the resource template's labels is not removed.

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-07-27 18:09:00 +08:00
jwcesign 4f41da2381 fix: reduce metrics size by merge metrics with different apiVersion/namespace/name
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-14 17:26:05 +08:00
Poor12 9ae3e50ae8 detector watch pp fields changed other than resource selector
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-09 15:16:21 +08:00
Poor12 7013563291 add metrics for resource
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-28 14:38:22 +08:00
karmada-bot 8ed80ad4ac
Merge pull request #2786 from XiShanYongYe-Chang/fix-2779
[bugfix] ignore resource that do not match with policy before apply policy
2022-11-16 16:16:05 +08:00
changzhen c58ba70b86 ignore resource that do not match with policy before apply policy
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-15 20:21:54 +08:00
Poor12 5418b5d265 refactor events
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-15 15:34:22 +08:00
changzhen 5a767f4f21 allow to update the resourceSelector of PropagationPolicy/ClusterPropagationPolicy
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-09 16:40:57 +08:00
changzhen bc57544df8 Disable the preemption matching of pp/cpp priority
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-03 20:54:13 +08:00