Commit Graph

48 Commits

Author SHA1 Message Date
RainbowMango ef1e4c22fd nominate reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-08-21 16:17:58 +08:00
RainbowMango 0d0b2cd7a6 replace k/k with component-helpers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-08-09 15:29:11 +08:00
pigletfly 8edb376966 Move labels to apis
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-08-06 00:03:00 +08:00
karmada-bot 91cf835872
Merge pull request #561 from XiShanYongYe-Chang/fix-cluster-fail-rescheduling
Fix an error in cluster fault rescheduling
2021-08-03 22:02:03 +08:00
changzhen db441697e8 add toleration match in rescheduling
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-03 16:40:57 +08:00
changzhen 7a35aa069d fix an issue in cluster fault rescheduling
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-31 15:12:29 +08:00
Garrybest 9d62d21da0 fix bug: score plugin does not work
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-07-31 10:13:54 +08:00
karmada-bot b9912a6f22
Merge pull request #546 from qianjun1993/scale-scheduler
Replicas changes with aggregated ReplicaDivisionPreference
2021-07-23 15:41:46 +08:00
junqian 65b7f5c8de Replicas changes with aggregated ReplicaDivisionPreference
Signed-off-by: junqian <junqian@tencent.com>
2021-07-23 10:10:37 +08:00
karmada-bot 9f2283c281
Merge pull request #544 from qianjun1993/scheduler-queue
never drop binding in scheduler when failed
2021-07-22 08:58:45 +08:00
junqian f742a3c850 never drop binding in scheduler when failed
Signed-off-by: junqian <junqian@tencent.com>
2021-07-20 16:29:42 +08:00
junqian b15854f3cb Replicas changes with Duplicated ReplicaSchedulingStrategy or Weighted ReplicaDivisionPreference
Signed-off-by: junqian <junqian@tencent.com>
2021-07-20 16:17:45 +08:00
junqian 26b318d149 scheduler with aggregated ReplicaDivisionPreference
Signed-off-by: junqian <junqian@tencent.com>
2021-07-10 10:18:42 +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
karmada-bot eb81ba0623
Merge pull request #502 from RainbowMango/pr_api_enablements
refactor utils for checking API enablements
2021-07-08 17:55:26 +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
junqian 228dbaa5ba scheduler with Duplicated ReplicaSchedulingStrategy
Signed-off-by: junqian <junqian@tencent.com>
2021-07-07 15:32:07 +08:00
pengli c6cf6b83fb Add new scheduler plugin for checking if required api has installed in target cluster
Signed-off-by: pengli <justdoit.pli@gmail.com>
2021-07-01 21:51:00 +08:00
RainbowMango a81c714afc Enable gocyclo static check
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-06-22 21:38:07 +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
Hanbo Li 0122d36d82
reschedule resource bindings when reference cluster propagation policy update (#381)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-28 09:32:07 +08:00
Peng Li ec97ab4089
fix issue that Scheduler do not schedule resourcebinding generated from clusterpropagationpolicy (#374)
Signed-off-by: pengli <justdoit.pli@gmail.com>
2021-05-27 15:31:11 +08:00
lihanbo 9834f8b981 add e2e test for taint toleration schedule
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-21 09:20:03 +08:00
lihanbo 483d5d9fa0 support schedule based on cluster taint toleration
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-21 09:20:03 +08:00
Iceber Gu 831dfe27bc
scheduler: fix the handling of the *PropatationPolicy updates (#351)
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-05-18 18:10:37 +08:00
Iceber Gu 4b5ec0c637
scheduler: fix the schedule function error return (#346)
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-05-18 00:51:31 +08:00
Rui Fang f598cb4365
scheduler: fix bug of plugin invalid memory address (#341)
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-05-17 14:11:49 +08:00
yuhang 76429c6516
Fix panic when no clusters specified (#340)
Signed-off-by: futuretea <1913508671@qq.com>
2021-05-17 11:59:19 +08:00
Zhen Chang 54e198eaa9
sort OverridePolicy/ClusterOverridePolicy by name when more than one policy matched (#316)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-05-13 16:12:44 +08:00
tinyma123 d4d63038ed
Modify some log details of scheduler. (#263)
Signed-off-by: mabotao <1397247577@qq.com>
2021-04-13 16:25:24 +08:00
Hongcai Ren c5cc4b7ce2
scheduler support schedule cluster resource binding (#222)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-18 11:50:58 +08:00
tinyma123 0a9a52c366
Adding reschedule function in scheduler.go (#198)
Signed-off-by: tinyma123 <1397247577@qq.com>

Co-authored-by: mabotao <mabotao2@huawei.com>
2021-03-13 17:38:51 +08:00
Hongcai Ren 6d7f661908
Add failover flag (#216)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-12 21:54:50 +08:00
lihanbo 0de78c0c49 reschedule when placement of clusterPropagationPolicies changed
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-12 19:33:27 +08:00
Hanbo Li 01066ce3f8
Scheduler: support cluster resource binding (#213)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-12 17:07:50 +08:00
RainbowMango 82d78bdfd4 Update deploy scripts
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-06 15:37:51 +08:00
RainbowMango 30bda2b55b Moving ResourceBinding to work.karmada.io group
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-06 15:37:51 +08:00
Hongcai Ren 7905bb2371
Rename PropagationBinding to ResourceBinding (#193)
* Rename PropagationBinding to ResourceBinding

Signed-off-by: RainbowMango <renhongcai@huawei.com>

* Auto generate files

Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-06 09:46:35 +08:00
Hanbo Li 7a8eca1bfb
reschedule when propagationPolicies changed (#190)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-05 19:49:29 +08:00
RainbowMango aaef8770ba Scheduler: retrieve policy by binding labels
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-03 10:14:56 +08:00
Hanbo Li eb6265a78a
support spread constraints (#168)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-02-08 12:05:49 +08:00
Hanbo Li bca72a58fb
support cluster label selector in scheduler (#149)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-01-30 09:22:48 +08:00
Kevin Wang 422cd8e555 rename propagationstrategy to policy in implementations
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-25 15:55:06 +08:00
Kevin Wang 4afcabe5f1 rename apigroup name, from propagationstrategy to policy
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-25 15:55:06 +08:00
Kevin Wang e33559250c rename membercluster to cluster in relevant implementations
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-23 09:53:52 +08:00
Kevin Wang da394ab07a rename membercluster api to cluster
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-23 09:53:52 +08:00
Zhonghu Xu c59afde0e6
Added scheduler framework and basic functionality(#108)
Signed-off-by: xuzhonghu <xuzhonghu@huawei.com>
2021-01-07 20:39:38 +08:00