huone1
|
75aa4ce0e6
|
fix spreadconstraints[i].MaxGroups Invalidation when scaleup replicas
Signed-off-by: huone1 <huwanxing@huawei.com>
|
2022-02-08 10:53:54 +08:00 |
wlp1153468871
|
ed261ef0a0
|
modify log type to Error when err ocurs
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
|
2022-01-19 18:21:19 +08:00 |
huone1
|
e8b717575a
|
split the code about resource event into event_handler.go
Signed-off-by: huone1 <huwanxing@huawei.com>
|
2022-01-17 18:19:19 +08:00 |
huone1
|
4c9bfbf310
|
[scheduler]fix a defer execution sequence problem
Signed-off-by: huone1 <huwanxing@huawei.com>
|
2022-01-13 20:34:34 +08:00 |
karmada-bot
|
ea0874acd0
|
Merge pull request #1070 from mrlihanbo/add_events_in_resource
add events to resource template
|
2021-12-21 09:26:28 +08:00 |
lihanbo
|
b238572263
|
add events to resource template
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-12-20 17:31:38 +08:00 |
Garrybest
|
cbe5cae13b
|
add rate limited when errors occur in scheduler
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-12-20 14:19:18 +08:00 |
dddddai
|
ff83773c5e
|
remove redundant sort
Signed-off-by: dddddai <dddwq@foxmail.com>
|
2021-12-17 10:24:33 +08:00 |
Garrybest
|
4acb5aee8a
|
add new test of division algorithm
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-12-07 10:30:33 +08:00 |
Garrybest
|
60c3f31897
|
delete scale scheduling
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-12-07 10:03:18 +08:00 |
Garrybest
|
eb0dac3a68
|
merge scale scheduling with normal scheduling
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-12-07 10:02:58 +08:00 |
karmada-bot
|
09c04490bc
|
Merge pull request #988 from mrlihanbo/schedule-condition
update Scheduled conditon when failed scheduling
|
2021-12-07 09:18:14 +08:00 |
Garrybest
|
7445bd90da
|
fix slow enqueue of async worker
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-12-04 19:44:33 +08:00 |
lihanbo
|
435f32cc4d
|
update Scheduled conditon when failed scheduling
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-12-02 17:53:53 +08:00 |
karmada-bot
|
668eaee05b
|
Merge pull request #967 from dddddai/sched-type
Refactor schedule type
|
2021-11-29 18:07:06 +08:00 |
dddddai
|
b94580a33e
|
refactor schedule type
Signed-off-by: dddddai <dddwq@foxmail.com>
|
2021-11-27 10:46:42 +08:00 |
karmada-bot
|
d40d559747
|
Merge pull request #978 from BDXGD/dev
Logic patch for dividing remaining replicas to clusters
|
2021-11-23 11:40:12 +08:00 |
Xinzhao Xu
|
953537d1fb
|
Remove unused policyLister in the genericScheduler
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
|
2021-11-19 15:13:08 +08:00 |
xinjie xu
|
804bbed87c
|
logic patch for calculating desireReplicaInfos
Signed-off-by: xinjie xu <1912747539@qq.com>
|
2021-11-18 21:04:06 +08:00 |
guoyao
|
ae34e4d1b8
|
unify IsNodeReady function
Signed-off-by: guoyao <1015105054@qq.com>
|
2021-11-15 11:35:03 +08:00 |
guoyao
|
b22da790ea
|
cleanup some codes
Signed-off-by: guoyao <1015105054@qq.com>
|
2021-11-08 20:43:39 +08:00 |
karmada-bot
|
ccf78c1c70
|
Merge pull request #891 from Garrybest/pr_dynamic_weight
divide replicas weighted by AvailableReplicas
|
2021-11-08 15:41:55 +08:00 |
Garrybest
|
d01fccfd3b
|
add division algorithm test
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-11-06 22:39:57 +08:00 |
Garrybest
|
a29f3f7a50
|
divide replicas by dynamic weight
Signed-off-by: Garrybest <garrybest@foxmail.com>
Co-authored-by: junqian <junqian@tencent.com>
|
2021-11-06 22:38:57 +08:00 |
iawia002
|
98ee6ce938
|
Introduce feature gates for the scheduler component
Signed-off-by: iawia002 <z2d@jifangcheng.com>
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
|
2021-11-05 21:03:02 +08:00 |
Garrybest
|
a3e1b597c0
|
add object reference when calling gRPC
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-11-02 22:25:12 +08:00 |
zhongjun.li
|
d8483eeffc
|
clean up
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io>
|
2021-10-26 09:42:11 +08:00 |
karmada-bot
|
4ac02a613f
|
Merge pull request #808 from RainbowMango/pr_nominate_owners
nominate approvers and reviewers
|
2021-10-22 10:46:09 +08:00 |
changzhen
|
8e1e16e950
|
adapt the Scheduled condition for binding
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-10-20 10:59:03 +08:00 |
RainbowMango
|
fb81c73c67
|
nominate approvers and reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-10-19 14:31:38 +08:00 |
karmada-bot
|
d2af1e1991
|
Merge pull request #823 from dddddai/sched-condition
Propose a Scheduled condition for RB/CRB
|
2021-10-18 15:15:01 +08:00 |
dddddai
|
eaea5c608b
|
add scheduled condition for binding
Signed-off-by: dddddai <dddwq@foxmail.com>
|
2021-10-18 11:43:40 +08:00 |
Garrybest
|
08fa785670
|
run async worker with no intervals
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-10-18 10:58:49 +08:00 |
junqian
|
226b48bd52
|
add metrics for scheduler
Signed-off-by: junqian <junqian@tencent.com>
|
2021-09-29 10:34:08 +08:00 |
RainbowMango
|
56fbbe1054
|
adopt binding v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-09-28 17:03:46 +08:00 |
Garrybest
|
f89e754f2e
|
back off to general estimator when scheduler estimator is unavailable
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-24 14:26:50 +08:00 |
dddddai
|
aeafb96d89
|
use cluster lister instead of map to implement scheduler cache
Signed-off-by: dddddai <dddwq@foxmail.com>
|
2021-09-18 16:51:24 +08:00 |
Garrybest
|
a5774944b5
|
add scheduler estimator client
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-18 11:32:32 +08:00 |
esto
|
a6165e47f9
|
update import-aliases
Signed-off-by: esto <1291156784@qq.com>
|
2021-09-15 15:13:14 +08:00 |
karmada-bot
|
08ddb58cfd
|
Merge pull request #699 from kerthcet/cleanup/refactor-getScheduleType
refactor func getScheduleType
|
2021-09-08 14:50:05 +08:00 |
kerthcet
|
b21bee487d
|
refactor func getScheduleType
Signed-off-by: kerthcet <kerthcet@gmail.com>
|
2021-09-08 11:08:13 +08:00 |
karmada-bot
|
f380abf288
|
Merge pull request #657 from Garrybest/pr_estimator
add node claim into ReplicaRequirements
|
2021-09-07 09:13:03 +08:00 |
Garrybest
|
4f8215e071
|
add node claim into ReplicaRequirements
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-06 15:31:42 +08:00 |
karmada-bot
|
fb6f3bfe43
|
Merge pull request #446 from mrlihanbo/reschedule
fix bug of choosing candidate clusters when failover schedule
|
2021-09-06 11:49:02 +08:00 |
changzhen
|
e7841639e7
|
set default weightPreference when WeightPreference is not set
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-09-02 20:22:21 +08:00 |
esto
|
0903703234
|
Cleanup cyclomatic complexity with function getScheduleType
Signed-off-by: esto <1291156784@qq.com>
|
2021-09-01 19:51:13 +08:00 |
karmada-bot
|
c42ca39041
|
Merge pull request #639 from RainbowMango/pr_nominate_reviewers
nominate owners
|
2021-08-26 09:11:44 +08:00 |
RainbowMango
|
ef1e4c22fd
|
nominate reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-08-21 16:17:58 +08:00 |
Garrybest
|
5af53ce908
|
move ReplicaResourceRequirements and Replicas into ResourceBindingSpec
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-21 10:43:33 +08:00 |
lihanbo
|
8689c3d7e9
|
fix bug of choosing candidate clusters when failover schedule
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-08-14 17:49:05 +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 |