Commit Graph

30 Commits

Author SHA1 Message Date
changzhen 4049bf8285 don't consider the older cluster when filter with taint_toleration
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-30 20:52:23 +08:00
karmada-bot 37ffc7dfd5
Merge pull request #2135 from chaunceyjiang/scheduler_plugins
custom enable or disable of scheduler plugins
2022-07-20 15:59:44 +08:00
chaunceyjiang fc600ae003 custom scheduler plugin
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-20 11:16:02 +08:00
karmada-bot ab0883e73d
Merge pull request #2170 from RainbowMango/pr_rename_plugin
Rename scheduler plugin name
2022-07-19 10:27:43 +08:00
Garrybest 1d2028b10f add taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 10:42:38 +08:00
RainbowMango 8159189708 Rename scheduler plugin name
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-11 18:05:08 +08:00
kerthcet 7f3b3dc072 feat: introduce registry to store plugins in framework initialization
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-15 15:09:40 +08:00
karmada-bot a649575920
Merge pull request #1570 from gf457832386/add_filterplugin_cluster_property
add filter plugin ClusterProperty to filter cluster
2022-04-07 14:18:46 +08:00
gf457832386 4e436af66e add filter plugin SpreadConstraint to filter cluster
Signed-off-by: gf457832386 <13278887558@163.com>
2022-04-07 12:04:35 +08:00
RainbowMango 545020a042 Setup binding helpers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-28 15:31:39 +08:00
huone1 31201c6bf4 add plugin clusterLocality to favor cluster
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-25 15:13:12 +08:00
huone1 670cc154eb extend the score process to support the normalizeScore and scoreWeight
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-18 11:39:04 +08:00
kerthcet eba5d2f497 feat: quick return in filter phase when unsuccessful state returned
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-02-24 10:45:19 +08:00
guoyao ae34e4d1b8 unify IsNodeReady function
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-15 11:35:03 +08:00
RainbowMango 56fbbe1054 adopt binding v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-28 17:03:46 +08:00
esto a6165e47f9 update import-aliases
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +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
Garrybest 9d62d21da0 fix bug: score plugin does not work
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-07-31 10:13:54 +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
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
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
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
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
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 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