Commit Graph

186 Commits

Author SHA1 Message Date
RainbowMango 16bb6a2543 stop list propagationpolicies and clusterpropagationpolicies from controller-runtime cache
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-20 16:26:55 +08:00
karmada-bot f1ee44bc77
Merge pull request #473 from XiShanYongYe-Chang/cleanup
Cleanup cyclomatic complexity with function EnsureWork
2021-07-14 21:12:33 +08:00
changzhen 12e2585e82 Cleanup cyclomatic complexity with function EnsureWork
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-14 20:43:45 +08:00
karmada-bot 82d3e6982c
Merge pull request #519 from Garrybest/clean-up
cleanup: use meta.IsStatusConditionTrue
2021-07-12 10:29:31 +08:00
Garrybest 675458ebb2 cleanup: use meta.IsStatusConditionTrue
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-07-09 20:38:20 +08:00
karmada-bot c944e18206
Merge pull request #516 from XiShanYongYe-Chang/agent-suppress
suppress reported work from propagating in agent
2021-07-09 19:07:27 +08:00
karmada-bot 1f8c6a9bba
Merge pull request #508 from XiShanYongYe-Chang/webhook
Mutate policy's ResourceSelectors in webhook
2021-07-09 18:11:28 +08:00
changzhen 0d0e7c333e suppress reported work from propagating in agent
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-09 17:27:55 +08:00
RainbowMango d8e2053b35 Suppress reported work from propagating
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-09 11:55:30 +08:00
changzhen 1e6c21cc28 mutate policy's ResourceSelectors in webhook
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-09 11:02:23 +08:00
karmada-bot e1dfb7707d
Merge pull request #506 from qianjun1993/scheduler
scheduler with weighted ReplicaDivisionPreference
2021-07-09 10:29:28 +08:00
junqian f60a77160c scheduler with weighted ReplicaDivisionPreference
Signed-off-by: junqian <junqian@tencent.com>
2021-07-09 09:52:14 +08:00
RainbowMango 13aacdfdea refactor utils for checking API enablements
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-07 19:47:15 +08:00
karmada-bot b35402c3bd
Merge pull request #496 from qianjun1993/ensureWork
ensure work with given replicas
2021-07-07 15:40:24 +08:00
junqian ffe285ea2a ensure work with given replicas
Signed-off-by: junqian <junqian@tencent.com>
2021-07-07 15:14:23 +08:00
changzhen a6c76d2ffa collect endpointslices from executionNamespace to service namespace
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-06 22:08:58 +08:00
changzhen f32bd501e6 add service_export_controller to watch serviceexport and report endpointslices to karmada
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-03 16:33:07 +08:00
RainbowMango a81c714afc Enable gocyclo static check
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-06-22 21:38:07 +08:00
pengli b602aaf868 no informer for sync status back when k8s resource applied failed to member cluster
Signed-off-by: pengli <justdoit.pli@gmail.com>
2021-06-18 12:00:28 +08:00
lihanbo aa4baa12a2 clean up works when resource binding has been removed
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-06-10 10:00:54 +08:00
changzhen 5473488c04 fix golangci-lint: Implicit memory aliasing in for loop(G601)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-06-01 16:42:57 +08:00
Hongcai Ren 6fa33a1071
Cleanup resource bindings when cluster propagation policy has been removed (#380)
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-05-27 19:11:32 +08:00
changzhen fa9a2ea662 ImageOverrider Implementation
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-05-26 18:16:44 +08:00
lihanbo 7e1e7b9726 add e2e test for scheduling base on cluster provider/region
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-25 09:11:57 +08:00
lihanbo b565cc0caa support schedule based on cluster provider/region/zone
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-25 09:11:57 +08:00
Rui Fang bbcf69f368
work: fix workload name conflicts (#358) (#359)
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-05-20 10:34:27 +08:00
gy95 92c5df6c35 add linter whitespace and fix linter errors
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-17 14:23:24 +08:00
Hanbo Li 28e6d3ff71
support ReplicaSchedulingPolicy (#269)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
Signed-off-by: Lihanbo (Hampo <l00512446@china.huawei.com>
2021-04-15 17:37:38 +08:00
RainbowMango f1777392f9 record applied override items for work object
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-30 16:13:58 +08:00
Hongcai Ren 1bf2e6502f
suppress some useless logs (#224)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-19 14:42:00 +08:00
Zhen Chang 0290ebf253
Aggregate status to clusterResourceBinding (#223)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-18 14:40:33 +08:00
Zhen Chang da34779efb
Aggregate status to resourcebinding (#221)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-17 18:17:46 +08:00
Hongcai Ren f556e93264
Watches cluster propagation policy changes (#211)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-11 17:03:11 +08:00
Hanbo Li fa86b6afd1
add cluster resource binding controller (#205)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-11 09:18:28 +08:00
Hongcai Ren 5abf32099f
wait for dependent override present before apply policy (#204)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-10 17:14:15 +08:00
Hanbo Li d48065f086
add webhook for clusterpropagationpolicy and propagationpolicy (#201)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-10 09:36:32 +08:00