RainbowMango
962d56ff08
Update the API of schedule priroity feature as per the MVP version
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2025-02-28 11:42:20 +08:00
lzhou286
2569e002af
Add priority when building RB in detector
...
Signed-off-by: lzhou286 <lzhou286@bloomberg.net>
Remove source type podpriorityclass from mvp; add test file
Signed-off-by: lzhou286 <lzhou286@bloomberg.net>
Fix linter
Signed-off-by: lzhou286 <lzhou286@bloomberg.net>
Fix linter
Signed-off-by: lzhou286 <lzhou286@bloomberg.net>
Fix unit test
Signed-off-by: lzhou286 <lzhou286@bloomberg.net>
Fix unit test
Signed-off-by: lzhou286 <lzhou286@bloomberg.net>
retrigger checks
Signed-off-by: lzhou286 <lzhou286@bloomberg.net>
Fix nil pointer
Signed-off-by: lzhou286 <lzhou286@bloomberg.net>
Sync priority when updated
Signed-off-by: lzhou286 <lzhou286@bloomberg.net>
2025-02-27 22:34:59 -05:00
karmada-bot
83a38a8d05
Merge pull request #6149 from whitewindmills/priority-scheduling-queue
...
priority scheduling: add priority queue
2025-02-27 16:54:22 +08:00
whitewindmills
6c8811a446
priority scheduling: add priority queue
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2025-02-27 15:51:53 +08:00
karmada-bot
ce5be5efb4
Merge pull request #6163 from seanlaii/update-pp-sp
...
Make priorityClassSource in the SchedulePriority of PropagationPolicy a required field
2025-02-27 10:00:22 +08:00
wei-chenglai
ac221887b3
Set priorityClassSource in the SchedulePriority of PropagationPoliicy as required field
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-02-27 00:44:24 +08:00
chang.qiangqiang
77042e4622
fix(detector): fix new binding object
...
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2025-02-26 15:27:35 +08:00
chang.qiangqiang
5d2fe25612
fix(detector): fix new binding object
...
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2025-02-26 10:41:44 +08:00
karmada-bot
006cf70132
Merge pull request #6076 from ctripcloud/work-mutating
...
add work mutating in ctrlutil.CreateOrUpdateWork()
2025-02-24 17:42:19 +08:00
zach593
707e4422c2
add work mutating in ctrlutil.CreateOrUpdateWork()
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-02-24 13:56:53 +08:00
RainbowMango
380065217c
Introduce PriorityBasedScheduling feature gate and enable it in develpment enviornment
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2025-02-24 11:37:00 +08:00
Zach
cfebd4dcb6
use meta.Accessor() in onResourceBindingUpdate() ( #6141 )
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-02-21 09:39:16 +08:00
zach593
ffefe654ae
fixed some UTs did not pass apiversion and kind when generating unstructured.Unstructured
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-02-19 20:39:55 +08:00
zhzhuang-zju
c1661cd33a
Add Support for Component Priority Class Configuration in karmadactl addon
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-19 10:46:34 +08:00
karmada-bot
a8ea49c4b9
Merge pull request #5963 from seanlaii/priority-binding
...
Add Priority and PreemptionPolicy fields in ResourceBinding
2025-02-19 00:19:15 +08:00
wei-chenglai
bc6b04236a
Add Priority and PreemptionPolicy fields in ResourceBinding
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-02-18 21:48:51 +08:00
wei-chenglai
4bf165a639
Add priorityClassName in PropagationPolicy & ClusterPropagationPolicy
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-02-18 20:23:35 +08:00
acejilam
b354b9d2b2
fix: when contenxt fails to run when it contains quotes
...
Signed-off-by: acejilam <acejilam@gmail.com>
2025-02-17 14:43:50 +08:00
karmada-bot
80d3d9e007
Merge pull request #6081 from zhzhuang-zju/unjoin
...
Restrict the cluster sync mode for the unjoin and unregister command
2025-02-14 11:53:10 +08:00
karmada-bot
e75306d143
Merge pull request #5866 from CharlesQQ/fix-metrics
...
fix(cluster): remove related metrics label when cluster is deleted
2025-02-14 11:12:10 +08:00
chang.qiangqiang
58887bc078
fix(cluster): remove related metrics label after cluster is deleted
...
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2025-02-14 10:17:34 +08:00
karmada-bot
622a5ef1e5
Merge pull request #6109 from RainbowMango/pr_explain_interpreter_webhook
...
Explain the interpreter webhook comunication channel
2025-02-12 15:54:09 +08:00
RainbowMango
696daab07e
Explain the interpreter webhook comunication channel
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2025-02-12 11:31:16 +08:00
zhzhuang-zju
8949f3351d
Add Support for Component Priority Class Configuration in karmadactl init
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-11 20:20:07 +08:00
zach593
33a9490f1d
remove mockResourceDetector
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-02-10 22:52:17 +08:00
zhzhuang-zju
fffd206673
karmada-webhook: fix the no such host error
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-07 11:04:57 +08:00
zhzhuang-zju
f751f9fe0d
Restrict the cluster sync mode for the unjoin and unregister command
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-06 10:28:08 +08:00
karmada-bot
d80b7d4864
Merge pull request #6073 from mszacillo/updated-interpreter
...
Updating FlinkDeployment interpreter to display error status, improving health interpreter
2025-02-05 09:49:02 +08:00
Yihao Wang
f2259dc884
Avoid coupling tests with hardcoded test CA certs ( #6086 )
...
* Avoid coupling tests with hardcoded test CA certs
Signed-off-by: Yihao Wang <yesiamyihao@gmail.com>
* Get rid of copied certificate
Signed-off-by: Yihao Wang <yesiamyihao@gmail.com>
---------
Signed-off-by: Yihao Wang <yesiamyihao@gmail.com>
2025-02-05 09:46:03 +08:00
mszacillo
f14e0f920f
Updating FlinkDeployment interpreter to display error status, improving health interpreter
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2025-01-27 10:56:21 -05:00
karmada-bot
9e8e301957
Merge pull request #6087 from zhzhuang-zju/doslua
...
karmada lua uses more secure string functions
2025-01-27 12:21:55 +08:00
zhzhuang-zju
dc3df3b3b2
karmada lua uses more secure string functions
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-01-27 11:28:04 +08:00
chaosi-zju
72da42d27b
standardize the naming of karmada config in karmadactl method
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2025-01-24 18:28:04 +08:00
karmada-bot
d24b2b9d08
Merge pull request #6061 from chaosi-zju/ensureWork
...
enhance ensureWork to continue processing clusters after individual failures
2025-01-24 11:50:52 +08:00
chaosi-zju
af610cc58e
enhance ensureWork to continue processing clusters after individual failures
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2025-01-23 18:07:27 +08:00
karmada-bot
07747ed3f7
Merge pull request #6065 from JimDevil/feat-search
...
fix(search/proxy/controller): resourceregistry merge ns
2025-01-22 12:44:50 +08:00
chang.qiangqiang
a115a22f47
feat(dependenciesdistributor):remove log
...
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2025-01-22 10:43:55 +08:00
JimDevil
93c09c1c85
fix: resourceregistry merge the same cluster gvk's namespace
...
Signed-off-by: JimDevil <709192853@qq.com>
2025-01-21 21:18:47 +08:00
Yihao Wang
995c73c4ba
Update test cert
...
Signed-off-by: Yihao Wang <yesiamyihao@gmail.com>
2025-01-20 21:48:54 +13:00
Monokaix
cf46939019
fix pp suspension mistakenly override scheduling suspension
...
Signed-off-by: Monokaix <changxuzheng@huawei.com>
2025-01-18 16:57:30 +08:00
karmada-bot
ce41488988
Merge pull request #5939 from ctripcloud/work-marshaler
...
fix deep equal check failure in CreateOrUpdateWork(), by replace the marshaler
2025-01-15 18:18:44 +08:00
karmada-bot
2df42bd74e
Merge pull request #6034 from whitewindmills/dependency_pr
...
fix the attached binding deletion problem
2025-01-15 15:20:44 +08:00
karmada-bot
272447eebc
Merge pull request #6026 from seanlaii/grpc
...
Replace grpc.DialContext and grpc.WithBlock with grpc.NewClient
2025-01-15 09:49:44 +08:00
wei-chenglai
36a6a8f06c
Updated client connection creation pattern
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-01-13 18:06:56 -05:00
whitewindmills
b10c102e00
fix the attached binding deletion problem
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2025-01-13 17:44:31 +08:00
zach593
ce1ca9912f
fix deep equal check failure in CreateOrUpdateWork(), by replace the marshaler
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-01-10 19:53:46 +08:00
karmada-bot
253dc794b1
Merge pull request #6018 from ctripcloud/unstructured
...
move CreateOrUpdateWork() and related functions to controllers/ctrlutl
2025-01-10 14:20:40 +08:00
zach593
807153fdff
move CreateOrUpdateWork() and related functions to controllers/ctrlutil
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-01-10 11:34:58 +08:00
YASH PANDEY
6cba9fe74b
Version updates
...
Signed-off-by: YASH PANDEY <pandeyyash7052@gmail.com>
2025-01-09 14:57:09 +05:30
RainbowMango
2f180f26cd
Add ResourceBinding scheduling suspension helper functions to simplify code
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2025-01-06 17:39:59 +08:00
chaosi-zju
c7009b2d64
expose metrics of karmada-metrics-adapter
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2025-01-02 16:47:52 +08:00
Marty Mcfly
7a85687026
feat: cluster-level resource scheduling suspend and resume capabilities ( #5937 )
...
* RB suspension: API change
Signed-off-by: Monokaix <changxuzheng@huawei.com>
* Feat: scheduler supports binging suspension
Signed-off-by: Monokaix <changxuzheng@huawei.com>
---------
Signed-off-by: Monokaix <changxuzheng@huawei.com>
2025-01-02 11:46:34 +08:00
changzhen
8c6d0a4ee7
fix flake test with GetWorksByBindingID func
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-31 11:15:45 +08:00
karmada-bot
492e24dd8c
Merge pull request #5742 from anujagrawal699/addedTests-pkg/util/helper/work.go
...
Added tests for pkg/util/helper/work.go
2024-12-31 09:53:31 +08:00
chaosi-zju
5b7df5b231
fix rebalancer auto deleted failed
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-12-28 17:52:32 +08:00
karmada-bot
337c27bb18
Merge pull request #5974 from Monokaix/decouple
...
decouple suspension of propagation and resourcebinding
2024-12-28 13:18:29 +08:00
Monokaix
eb2a4bd051
decouple suspension of propagation and resourcebinding
...
Signed-off-by: Monokaix <changxuzheng@huawei.com>
2024-12-28 11:31:53 +08:00
changzhen
e93da666ae
fix verify license lint error
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-26 19:40:26 +08:00
changzhen
5bd3d0128a
remove apiserver dependency in resourceinterpreter
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-25 15:52:04 +08:00
karmada-bot
c9ca6aca6a
Merge pull request #5936 from mohamedawnallah/addressKarmadaSearchControllerFlakyTestCases
...
pkg/search/controllers_test: reduce the probability of flaky test cases by waiting for cache to sync
2024-12-23 09:52:25 +08:00
karmada-bot
6e3316fb5c
Merge pull request #5862 from zhzhuang-zju/rmfile
...
remove the unnecessary file localization steps when karmadactl register
2024-12-20 17:45:22 +08:00
zhzhuang-zju
623a4f916c
remove the unnecessary file localization steps when karmadactl register
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-12-20 15:59:49 +08:00
changzhen
262fcb328a
fix validate panic when ResourceInterpreterWebhookConfiguration .webhooks[*].clientConfig.service.port is nil
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-20 15:16:38 +08:00
LavredisG
8659df84d7
Update interface.go
...
Signed-off-by: LavredisG <lavredisgoume@gmail.com>
2024-12-16 13:35:12 +02:00
changzhen
82fc37ea04
Fix the problem of ResourceBinding remaining when the workload is deleted in the dependencies distribution scenario
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-12-12 15:54:57 +08:00
Mohamed Awnallah
6ae8cfd3e9
pkg/karmadactl/util: unit test apiclient
...
In this commit, we unit test apiclient on creating restconfig.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-11 08:57:27 +02:00
Mohamed Awnallah
627b464489
pkg/search/controllers_test: wait for cache sync
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-11 07:06:43 +02:00
karmada-bot
ff7dc4af44
Merge pull request #5832 from anujagrawal699/addedTests-pkg/resourceinterpreter/customized/webhook/configmanager
...
Added unit tests for resourceinterpreter webhook configmanager
2024-12-09 20:05:14 +08:00
karmada-bot
f0e060d73e
Merge pull request #5876 from tiansuo114/ps_completion
...
add shell completion code for fish
2024-12-09 11:22:13 +08:00
karmada-bot
a8a01a30c2
Merge pull request #5908 from mohamedawnallah/unitUsageOfAddonConstants
...
cmd+hack+operator+pkg: unify addons constants
2024-12-09 10:46:14 +08:00
karmada-bot
acce8fd5d8
Merge pull request #5772 from anujagrawal699/addedTests-pkg/util/lifted/scheduler/cache/node_tree_test.go
...
Added unit tests for the scheduler's node tree functionality
2024-12-07 19:43:12 +08:00
Anuj Agrawal
ccea4d22f5
Added unit tests for resourceinterpreter webhook configmanager
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for resourceinterpreter webhook configmanager
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for resourceinterpreter webhook configmanager
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-06 16:16:51 +05:30
Anuj Agrawal
55707d8a4f
Added unit tests for the scheduler's node tree functionality
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for the scheduler's node tree functionality
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for the scheduler's node tree functionality
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-06 15:52:09 +05:30
karmada-bot
f72a312d14
Merge pull request #5898 from anujagrawal699/addedTests-pkg/estimator/server/replica/replica.go
...
Added unit tests for the replica package in the estimator server
2024-12-06 18:11:10 +08:00
Mohamed Awnallah
6144ea5a9b
cmd+hack+operator+pkg: unify addons constants
...
In this commit we unify the usage of addon names i.e
`karmada-descheduler`, `karmada-scheduler-estimator`, `karmada-search`,
and `karmada-metrics-adapter` across the codebase.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2024-12-05 18:45:44 +02:00
karmada-bot
a655c45f6f
Merge pull request #5864 from anujagrawal699/addedTests-pkg/resourceinterpreter/customized/declarative/configmanager/accessor.go
...
Added unit tests for custom resource interpreter's configuration manager
2024-12-05 20:05:10 +08:00
Mohamed Awnallah
fc28676516
pkg/karmadactl/cmdinit: unit test clusterinfo
...
In this commit, we unit test clusterinfo on creating
bootstrap configmap and creating cluster info RBAC rules.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-05 09:19:33 +02:00
Mohamed Awnallah
4e5237449b
pkg/karmadactl: unit test unjoin
...
In this commit, we unit test unjoining cluster by
validating the unjoin cluster operation on arguments passed and
by verifying the deletion of all resources on the unjoining cluster
in case of cluster kubeconfig passed.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-04 20:30:03 +02:00
karmada-bot
616a95e0d7
Merge pull request #5754 from mohamedawnallah/unitTestInstallAddon
...
pkg/karmadactl/addons: unit test install addons
2024-12-04 17:17:09 +08:00
karmada-bot
1202cc7b80
Merge pull request #5829 from mohamedawnallah/unitTestCordonKaramdactl
...
pkg/karmadactl: unit test cordon
2024-12-04 16:43:09 +08:00
tiansuo114
ba2a0732fe
add shell completion code for fish shell
...
Signed-off-by: tiansuo114 <zhaoyi_114@outlook.com>
11
Signed-off-by: tiansuo114 <zhaoyi_114@outlook.com>
2024-12-04 10:55:55 +08:00
karmada-bot
b3dad9bdc5
Merge pull request #5819 from anujagrawal699/addedTest-pkg/util/lifted/lua
...
Added unit tests for safe lua lifted libraries
2024-12-04 09:58:08 +08:00
karmada-bot
eea14cb353
Merge pull request #5895 from mohamedawnallah/unitTestPromoteKarmadactl
...
pkg/karmadactl: unit test promote
2024-12-03 14:17:08 +08:00
Mohamed Awnallah
6af9994ca7
pkg/karmadactl: unit test promote
...
In this commit, we unti test promoting a namespace-scoped or
cluster-scoped resource in a legacy clsuter and validating the promote
options on karmadactl command.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-03 05:27:09 +02:00
Anuj Agrawal
47528b417e
refactor: introduce DefaultHistoryLimit constant for CronFederatedHPA
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-02 18:59:44 +05:30
karmada-bot
064ccf1140
Merge pull request #5768 from anujagrawal699/addedTests-pkg/helper/status.go-cronfederatedhpa.go
...
Added unit tests for status and cronfederatedhpa helper utilities
2024-12-02 17:38:07 +08:00
karmada-bot
189acaf5a9
Merge pull request #5871 from mohamedawnallah/unitTestJoinKarmadactl
...
pkg/karmadactl: unit test join
2024-12-02 17:16:08 +08:00
Anuj Agrawal
c25263c19b
Added unit tests for the replica package in the estimator server
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for the replica package in the estimator server
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-02 14:42:50 +05:30
Mohamed Awnallah
d699f1594d
pkg/karmadactl: unit test describe
...
In this commit, we unit test describe command on karmadactl
by mainly validating the describe options.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-02 04:56:19 +02:00
karmada-bot
cdd46f5783
Merge pull request #5850 from anujagrawal699/addedTests-pkg/resourceinterpreter/customized/webhook/request/resourceinterpretercontext.go
...
Added unit tests for interpretation context handling
2024-11-30 15:47:06 +08:00
RainbowMango
a8e965321e
Disable cluster failover by default which should be explicitly enabled by administrators after a fully evaluation.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-30 09:59:35 +08:00
RainbowMango
58c3765684
Add stateful application failover status injection feature gate
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-29 16:27:36 +08:00
karmada-bot
54be414d9f
Merge pull request #5893 from XiShanYongYe-Chang/inject-preservedLabelState
...
Inject preservedLabelState to the failover to clusters
2024-11-29 12:25:05 +08:00
changzhen
1cdc646cef
inject preservedLabelState to the failover to clusters
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-29 11:30:51 +08:00
changzhen
3c0c9b8a41
add ut for parseJSONValue function to cover the JSONPath main parse ability
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-29 09:37:26 +08:00
Mohamed Awnallah
5618eb1dde
pkg/karmadactl: unit test join
...
In this commit, we unit test the process of joining a cluster
to the Karmada control plane. The tests validate the arguments
passed to the join cluster operation and ensure the creation of
the new cluster runtime object. Additionally, we verify that the
necessary access secrets for the new cluster in push mode are correctly
generated in the Karmada control plane.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-28 20:25:41 +02:00
karmada-bot
6f4d69cf8b
Merge pull request #5875 from mohamedawnallah/addressSearchControllerFlakeTest
...
pkg/search/controllers_test: address flaky test
2024-11-28 19:23:03 +08:00
karmada-bot
c8b033d47d
Merge pull request #5889 from mszacillo/cleanup-work-immediately
...
Cleanup works from cluster if purgemode is immediately
2024-11-28 19:17:04 +08:00
mszacillo
082fe7cff9
Cleanup works from cluster if purgemode is immediately
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-11-27 23:37:01 -05:00
karmada-bot
1b8d09c2f8
Merge pull request #5887 from XiShanYongYe-Chang/build-PreservedLabelState
...
Build PreservedLabelState when triggering evition in RB/CRB application controller
2024-11-28 12:21:04 +08:00