huangyanfeng
4c416cec6f
Skip cluster removal if already scheduled and API enablements are incomplete to prevent accidental removal.
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-09-18 14:23:00 +08:00
Joe Nathan Abellard
b6fbcb4353
Add the ability to specify namespace to be used for discovering scheduler estimator services
...
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Address comments
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Address comments
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-09-09 07:21:57 -04:00
Vamshi Maskuri
49adbf8204
refactor
...
Signed-off-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com>
add review comments
Signed-off-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com>
fix lint
2024-08-21 22:28:42 +05:30
karmada-bot
c3c90efeeb
Merge pull request #5316 from qinguoyi/perf-findpath
...
perf:make findFeasiblePaths faster
2024-08-08 13:50:28 +08:00
qinguoyi
df681d0861
chore:clean up
...
Signed-off-by: qinguoyi <1532979219@qq.com>
2024-08-08 10:55:03 +08:00
qinguoyi
2db9dc4811
chore:clean up
...
Signed-off-by: qinguoyi <1532979219@qq.com>
2024-08-08 10:55:03 +08:00
qinguoyi
a98041281d
perf:make findFeasiblePaths faster
...
Signed-off-by: qinguoyi <1532979219@qq.com>
2024-08-08 10:55:03 +08:00
changzhen
1b4e829ffd
update left slice length in the resortAvailableClusters func
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-08-05 17:24:35 +08:00
karmada-bot
145a67e873
Merge pull request #5280 from XiShanYongYe-Chang/update-pluginToClusterScores-length
...
[Cleanup] update pluginToClusterScores length from filterPlugins length to scorePlugins length
2024-07-30 22:17:21 +08:00
changzhen
0735ec0202
update pluginToClusterScores length from filterPlugins length to scorePlugins length
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-30 20:51:25 +08:00
chaosi-zju
fbb7a5e926
only generate json patch for status filed when patchBindingStatus
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-07-30 15:37:50 +08:00
karmada-bot
15df251200
Merge pull request #5144 from mszacillo/sort-clusterinfo
...
GroupClusters should sort by score and availableReplica count
2024-07-10 14:53:03 +08:00
mszacillo
01be91b9db
GroupClusters should sort by score and availableReplica count
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-07-08 17:14:19 -04:00
RainbowMango
82b61dcc69
Fix mockgen generated files not group imports issue
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-08 11:12:16 +08:00
zhzhuang-zju
acdd2115c6
Adding TLS Certificate Authentication to gRPC
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-06-21 15:56:20 +08:00
RainbowMango
1c9395ba6e
nominate code owners of scheduler, resourceinterpreter, apis
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-06-07 11:59:02 +08:00
mszacillo
23c9dc9a1e
Account for unschedulable plugin result during maxreplica estimation
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-06-05 09:43:48 -04:00
Lan Liang
ed0f26c328
cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
...
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.
See kubernetes/utils#283 for details.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
whitewindmills
b43e93136a
Skip schedule deleting bindings
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-24 17:19:10 +08:00
karmada-bot
6cfed59332
Merge pull request #4930 from zhzhuang-zju/golangciwith1.58.0
...
Bump golangci-lint to v1.58.0
2024-05-15 17:20:19 +08:00
whitewindmills
0708b7d55b
Call shutdown after being stopped
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-14 18:01:02 +08:00
zhzhuang-zju
309c67701b
bump golangci to v1.58.0
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
karmada-bot
68577f19f9
Merge pull request #4743 from whitewindmills/deprecated-labels
...
Deprecate name/namespace labels of pp/cpp
2024-04-25 20:47:02 +08:00
chaosi-zju
0372cabba6
Introduce a mechanism to scheduler to actively trigger rescheduling
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-20 20:55:45 +08:00
whitewindmills
59b8835bda
Deprecate name/namespace labels of pp/cpp
...
Co-authored-by: changzhen <changzhen5@huawei.com>
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-18 14:21:02 +08:00
changzhen
8a101ebcb7
set enum value for operator in Remedy API
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-28 22:49:53 +08:00
ipsum-0320
2d6da23cd5
feat: update hack/.import-alias
...
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
2024-02-27 21:12:26 +08:00
jwcesign
e6225d8070
fix: reschedule the replicas of the disappear clusters in PP
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2024-01-29 15:50:47 +08:00
RainbowMango
c47e12a442
bump golangci-lint to v1.55.2
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-21 12:34:24 +08:00
chaosi-zju
e9851ae99b
test of even distribution of replicas for removing cluster scenario
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-12 15:32:50 +08:00
jwcesign
38b2cae7e1
cleanup: enable revive(exported rule) checking
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-09 09:41:47 +08:00
huangyanfeng
7d229306bb
cleanup RunScorePlugins code comments
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-01-03 11:30:22 +08:00
karmada-bot
5ca4e5a3f6
Merge pull request #4472 from chaosi-zju/log
...
simply optimizing the scheduler log
2023-12-26 11:02:21 +08:00
chaosi-zju
bf5beb3456
simply optimizing the scheduler log
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-25 11:27:29 +08:00
chaosi-zju
ed33423be5
test of even distribution of replicas for add cluster scenario
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-25 10:34:18 +08:00
RainbowMango
9a776a7503
Remove golang mock as it has been replaced with uber mock
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-12-22 17:12:35 +08:00
karmada-bot
7a4d85b925
Merge pull request #4460 from liangyuanpeng/gomock
...
Replace golang/mock to uber-go/mock.
2023-12-22 16:45:18 +08:00
chaosi-zju
55a6b3c023
add change static weight test for even distribution of replicas
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-21 15:05:55 +08:00
Lan Liang
159f68c19b
Replace golang/mock to uber-go/mock.
...
golang/mock is no longer maintained and should replace to go.uber.org/mock, check https://github.com/golang/mock
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2023-12-21 06:48:04 +00:00
karmada-bot
b7a7648c3d
Merge pull request #4419 from chaosi-zju/add-test
...
add scale down test for even distribution of replicas
2023-12-15 16:08:12 +08:00
jwcesign
e77fe55851
feat: fix conflicts with pp
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-14 19:46:46 +08:00
chaosi-zju
265560be92
add scale down test for even distribution of replicas
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-14 16:27:25 +08:00
chaosi-zju
513c7feba4
add expand replicas test about even distribution of replicas
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-13 20:33:51 +08:00
chaosi-zju
1ebdf006e0
add test for static weight random remainder.
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-09 15:28:02 +08:00
chaosi-zju
6b2101a0f2
add test for static weight random remainder.
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-04 11:51:23 +08:00
chaosi-zju
a8629ac72a
Expose assignReplicas and selectClusters function in scheduler
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-11-22 17:29:23 +08:00
zhy76
adef1e5974
feat: add license and verify license for code file
...
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
chaosi-zju
4241e88085
implementation of divide replicas by static weight evenly
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-11-15 14:47:01 +08:00
huangyanfeng
27971f4cd4
enqueueAffectedBindings and enqueueAffectedCRBs add schedulerNameFilter
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-10-17 15:34:01 +08:00
huangyanfeng
fec30e0380
schedulerOptions add support for RateLimiterOptions
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-10-10 12:07:15 +08:00