Commit Graph

12 Commits

Author SHA1 Message Date
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