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
changzhen
46dbf076e9
build PreservedLabelState when triggering evition
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-28 11:25:42 +08:00
chaosi-zju
13c28a00b2
fix code typo errors
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-28 11:01:54 +08:00
Mohamed Awnallah
fcfbf700cd
pkg/search/controllers_test: address flake test
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-27 16:26:41 +02:00
zhzhuang-zju
b7afcaf5a2
karmadactl init: add CRDs archive verification to enhance file system robustness
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-27 16:47:58 +08:00
karmada-bot
f78e7e2a3d
Merge pull request #5703 from zhzhuang-zju/security
...
karmada-operator: add CRDs archive verification to enhance file system robustness
2024-11-27 16:28:04 +08:00
zhzhuang-zju
63590cbeee
karmada-operator: add CRDs archive verification to enhance file system robustness
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-27 15:07:56 +08:00
karmada-bot
f1680610dc
Merge pull request #5881 from mszacillo/set-purge-mode
...
Failover controllers now build eviction tasks for purgemode immediately
2024-11-27 11:13:02 +08:00
mszacillo
a393653723
Failover controllers now build eviction tasks for purgemode immediately
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-11-26 11:39:09 -05:00
RainbowMango
87ef7d0f44
Add StatePreservation filed to PropagationPolicy API
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-26 21:08:43 +08:00
Anuj Agrawal
1575e6ae60
Added unit tests for interpretation context handling
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for interpretation context handling
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for interpretation context handling
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-26 18:25:13 +05:30
karmada-bot
5c3594f703
Merge pull request #5872 from mohamedawnallah/unitTestLogsKarmadactl
...
pkg/karmadactl: unit test logs
2024-11-26 16:57:02 +08:00
karmada-bot
6ceb3a9a19
Merge pull request #5714 from zhzhuang-zju/inittoken
...
Redact sensitive information from the karmadactl init command output
2024-11-26 12:11:02 +08:00
karmada-bot
8f4a03bd74
Merge pull request #5861 from seanlaii/deprecated
...
Enable the deprecation check which was disabled for version upgrade
2024-11-26 11:58:02 +08:00
karmada-bot
7fc69359b0
Merge pull request #5865 from ctripcloud/rb-status-on-create
...
let rb status controller onCreate predicate return true
2024-11-26 11:36:02 +08:00
karmada-bot
ccdf485204
Merge pull request #5873 from mohamedawnallah/unitTestExecKarmadactl
...
pkg/karmadactl: unit test exec
2024-11-26 11:23:01 +08:00
zhzhuang-zju
429f2d313e
Redact sensitive information from the karmadactl init command output
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-26 11:15:04 +08:00
wei-chenglai
e05628bb37
Enable deprecation check which was disabled for version upgrade
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-11-25 20:32:50 -05:00
zach593
302d545909
let rb status controller onCreate predicate return true
...
Signed-off-by: zach593 <zach_li@outlook.com>
2024-11-25 22:04:32 +08:00
karmada-bot
72cfef5151
Merge pull request #5879 from XiShanYongYe-Chang/taint-manager-purgemode
...
Update taint-manager to config eviction task with purgeMode
2024-11-25 19:59:01 +08:00
changzhen
25867c45ba
update taint-manager to config eviction task with purgeMode
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-25 17:18:49 +08:00
zhzhuang-zju
3c91c7df8f
replace csrapproving by agentcsrapproving
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-25 17:01:03 +08:00
Mohamed Awnallah
543a23dbd0
pkg/karmadactl: unit test logs
...
In this commit, we unit test logs on completion for pods/containers,
selectors, and member factory builder.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-23 16:49:58 +02:00
karmada-bot
88c3e4487f
Merge pull request #5863 from CharlesQQ/set-dependenciesdistributor-rb-maxconcurrentreconciles
...
feat(dependenciesdistributor): remove dependenciesdistributor concurrentreconciles
2024-11-23 15:12:59 +08:00
karmada-bot
2c51aca8a0
Merge pull request #5825 from zhzhuang-zju/csrapproving
...
add agentcsrapproving controller to auto approve agent csr
2024-11-23 14:36:59 +08:00
Mohamed Awnallah
dc0279ab48
pkg/karmadactl: unit test exec
...
In this commit, we unit test exec on validating the execute options
on control plane and member clusters.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-23 00:51:07 +02:00
Anuj Agrawal
8d0e9a7738
Added unit tests for custom resource interpreter's configuration manager
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-22 21:11:26 +05:30
chang.qiangqiang
fd9cd89e42
feat(dependenciesdistributor): set dependenciesdistributor rb maxconcurrentreconciles same as concurrent-resourcebinding-syncs
...
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2024-11-22 19:53:24 +08:00
zhzhuang-zju
103346111b
add agentcsrapproving controller to auto approve agent csr
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-22 18:21:06 +08:00
karmada-bot
8691287429
Merge pull request #5856 from XiShanYongYe-Chang/flake-TestUpdateClusterEventHandler
...
fix flake test of TestUpdateClusterEventHandler
2024-11-22 16:28:59 +08:00
changzhen
7da64235a1
add group/values for resources
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-22 14:35:08 +08:00
karmada-bot
2f5dc4f0c8
Merge pull request #5691 from LavredisG/patch-3
...
Update types.go
2024-11-22 14:14:59 +08:00
karmada-bot
2f1fe6e3f3
Merge pull request #5854 from chaosi-zju/etcd-version
...
etcd: update default version to 3.5.16-0
2024-11-22 14:11:59 +08:00
changzhen
7f7879dfd3
fix flake test of TestUpdateClusterEventHandler
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-22 12:00:56 +08:00
LavredisG
6d2ae6b2e6
Update cluster/types.go and cluster/v1alpha1/types.go
...
Signed-off-by: LavredisG <lavredisgoume@gmail.com>
2024-11-22 11:56:30 +08:00
karmada-bot
079d0ab7a9
Merge pull request #5846 from XiShanYongYe-Chang/adjust-with-readinessCheck
...
Wait for search multiClusterCache ReadinessCheck success
2024-11-22 09:46:58 +08:00
Mohamed Awnallah
bdb9fb8f46
pkg/karmadactl: unit test cordon
...
In this commit, we unit test cordon on karmadactl client
making sure the cordon/uncordon working as expected on a given cluster.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-21 21:52:52 +02:00
changzhen
9367ca9352
add ServerRunOptions in the search options
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-21 21:28:58 +08:00
changzhen
41dccd7d18
wait for search multiClusterCache ReadinessCheck to be ready
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-21 21:19:03 +08:00
karmada-bot
37ae460f82
Merge pull request #5851 from chaosi-zju/version
...
Update karmada-apiserver and kube-controller-manager to v1.31.3 by default
2024-11-21 18:09:58 +08:00
chaosi-zju
a11784e1f2
etcd: update version to 3.5.16-0
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-21 16:59:51 +08:00
karmada-bot
1e26af3d8f
Merge pull request #5840 from KhalilSantana/master
...
Fix: karmada-metrics-adapter use the correct certificate when deploye…
2024-11-21 16:45:58 +08:00
chaosi-zju
a9321809d1
update karmada-apiserver and kube-controller-manager to v1.31.3 by default.
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-21 15:19:25 +08:00
RainbowMango
02861c5ca0
AsyncWorker adopt typed rate limiter
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-21 12:15:00 +08:00
karmada-bot
2c82055c4c
Merge pull request #5793 from zhzhuang-zju/register
...
minimize the RBAC permissions for the pull mode cluster
2024-11-20 17:22:56 +08:00
karmada-bot
f6056f5255
Merge pull request #5838 from anujagrawal699/addedTests-pkg/resourceinterpreter/customized/webhook/customized.go
...
Added unit tests for the CustomizedInterpreter
2024-11-20 17:13:57 +08:00
zhzhuang-zju
af90640361
minimize the RBAC permissions for the pull mode cluster
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-20 15:44:01 +08:00
Anuj Agrawal
c2bc07bdbb
Added unit tests for the CustomizedInterpreter
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for the CustomizedInterpreter
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-20 10:47:07 +05:30
LavredisG
ff92a84a9e
Update group_clusters.go
...
Signed-off-by: LavredisG <lavredisgoume@gmail.com>
2024-11-20 00:34:29 +00:00
Khalil Santana
a259d51cfa
Fix: karmada-metrics-adapter use the correct certificate when deployed via karmadactl
...
Signed-off-by: Khalil Santana <khalil@ksantana.net>
2024-11-19 18:28:15 -03:00
karmada-bot
6795dba9d1
Merge pull request #5809 from CharlesQQ/introduce-flag-dependencies-distributor
...
feat(dependenciesdistributor): introduce --concurrent-dependent-resource-syncs flag
2024-11-19 21:02:56 +08:00
zhzhuang-zju
26103ecdff
Standardize the naming conventions for karmada system roles
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-19 19:06:28 +08:00
karmada-bot
a53c8bc5ef
Merge pull request #5779 from ctripcloud/work-index
...
Add index for work
2024-11-19 12:41:56 +08:00
karmada-bot
e0d77eb330
Merge pull request #5826 from RainbowMango/pr_update_purge_mode
...
Update application failover purge mode comments
2024-11-19 11:50:57 +08:00
zach593
e2827b1b2e
Add index for Work to speed up the processing of resource binding related controllers
...
Signed-off-by: zach593 <zach_li@outlook.com>
2024-11-19 11:48:04 +08:00
karmada-bot
993fa26c49
Merge pull request #5828 from anujagrawal699/addedTests-pkg/resourceinterpreter/default/native/reflectstatus.go
...
Added unit tests for reflect status interpreter
2024-11-18 17:00:55 +08:00
karmada-bot
09ceced40b
Merge pull request #5822 from anujagrawal699/addedTests-pkg/estimator/client/general.go
...
Added unit tests for general estimator package
2024-11-18 15:09:55 +08:00
Anuj Agrawal
59f266cd0c
Added unit tests for pkg/resourceinterpreter/default/native/reflectstatus.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-17 20:52:11 +05:30
karmada-bot
35a82371b2
Merge pull request #5821 from XiShanYongYe-Chang/update-GracefulEvictCluster-to-set-purgemode
...
Support PurgeMode setting in evection tasks
2024-11-16 16:27:53 +08:00
RainbowMango
d0497d41ce
Update application failover purge mode comments
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-16 15:32:28 +08:00
Anuj Agrawal
310e4f989b
Added unit tests for status and cronfederatedhpa helper utilities
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for status and cronfederatedhpa helper utilities
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for status and cronfederatedhpa helper utilities
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for status and cronfederatedhpa helper utilities
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-16 12:37:10 +05:30
Anuj Agrawal
1cd78d6258
Added unit tests for general estimator package
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-15 21:54:20 +05:30
karmada-bot
3acc14c0f0
Merge pull request #5810 from mohamedawnallah/unitTestKarmadaSearchController
...
pkg/search: unit test controller
2024-11-15 17:37:53 +08:00
karmada-bot
e7fd4eb847
Merge pull request #5493 from anujagrawal699/addedTests-pkg/controllers/deploymentreplicassyncer
...
Added tests for controllers/deploymentreplicassyncer
2024-11-15 14:38:53 +08:00
Anuj Agrawal
455cb3928b
Added tests for controllers/deploymentreplicassyncer
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for controllers/deploymentreplicassyncer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for controllers/deploymentreplicassyncer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for controllers/deploymentreplicassyncer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for controllers/deploymentreplicassyncer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for controllers/deploymentreplicassyncer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-15 11:04:53 +05:30
changzhen
db7982e9a9
update GracefulEvictCluster() to set PurgeMode during eviction process
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-15 12:02:17 +08:00
karmada-bot
35b7e8f120
Merge pull request #5816 from mszacillo/purgemode-api
...
feat(stateful failover support) Introduce PurgeMode to GracefulEvictionTask in ResourceBinding
2024-11-15 09:50:52 +08:00
karmada-bot
0d7d2f92d2
Merge pull request #5807 from RainbowMango/pr_bump_k8s_v1312
...
Bump Kubernetes dependencies from v1.30.2 to v1.31.2
2024-11-15 09:20:52 +08:00
Anuj Agrawal
efff5bca9d
Added unit tests for safe lua lifted libraries
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-14 22:49:29 +05:30
mszacillo
9b92cc4d51
Introduce PurgeMode to GracefulEvictionTask in ResourceBinding
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-11-14 10:21:56 -05:00
karmada-bot
6f138cfc8d
Merge pull request #5801 from SataQiu/fieldSelector
...
karmada-search: support field selector for corev1 resources
2024-11-14 09:44:51 +08:00
SataQiu
c9e6ce5387
karmada-search: support field selector for corev1 resources
...
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
2024-11-13 21:48:43 +08:00
Mohamed Awnallah
dc2eea8710
pkg/search: unit test controller
...
In this commit, we unit test karmada search controller
on creating new controller and handling the following events
watched by the shared informer: `addCluster`, `updateCluster`,
`deleteCluster`, `addResourceRegistry`, `updateResourceRegistry`,
and `deleteResourceRegistry` making sure those handled and cached
correctly to the indexer.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-13 01:33:34 +02:00
RainbowMango
fc1df776dc
Adopt controller-runtime braking change: TypedReconciler
...
Reference PR2799
Adopt Kubernetes#125483 introduced ReadinessCheck
Adopt Kubernetes breaking change: EffectiveVersion
Reference PR: 122891
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-12 17:52:46 +08:00
RainbowMango
c2de90bb5e
Bump Kubernetes dependencies to v1.31.2
...
Bump controller-runtime to v0.19.1
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-12 17:52:36 +08:00
chang.qiangqiang
066eec0b7d
feat(dependenciesdistributor): introduced flag for dependencies-distributor
...
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2024-11-12 16:31:21 +08:00
karmada-bot
046d1ba107
Merge pull request #5798 from anujagrawal699/addedTests-pkg/util/helper/workstatus.go
...
Added unit tests for pkg/util/helper/workstatus.go
2024-11-12 11:53:50 +08:00
Anuj Agrawal
ed50e02d4e
Added unit tests for pkg/util/helper/workstatus.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for pkg/util/helper/workstatus.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-11 20:30:50 +05:30
changzhen
41ba3c769d
cancel concurrent test for SetupWithManager
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-11 19:57:50 +08:00
karmada-bot
ed3f48cd32
Merge pull request #5799 from chaosi-zju/ctrl-name
...
Ensure controller names are unique when emitting metrics
2024-11-11 15:37:49 +08:00
karmada-bot
c69408879d
Merge pull request #5786 from mohamedawnallah/unitTestKarmadaInitCheck
...
pkg/karmadactl/cmdinit/karmada: unit test check
2024-11-11 14:56:49 +08:00
chaosi-zju
b605d9d637
ensure controller names are unique when emitting metrics
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-11 12:05:12 +08:00
karmada-bot
d8b58c4f74
Merge pull request #5770 from anujagrawal699/addedTests-pkg/util/lifted/scheduler/cache/snapshot_test.go
...
Added unit tests for the scheduler cache snapshot functionality
2024-11-11 11:35:49 +08:00
karmada-bot
b5c6660f53
Merge pull request #5795 from mohamedawnallah/unitTestKarmadaSearchAPIServer
...
pkg/search: unit test karmada search APIServer
2024-11-11 10:40:49 +08:00
karmada-bot
41582f87d5
Merge pull request #5792 from anujagrawal699/addedTests-pkg/util/lifted/scheduler/cache/cache.go
...
Added unit tests for scheduler's cache package
2024-11-08 17:57:47 +08:00
Anuj Agrawal
085b433f49
Added unit tests for scheduler's cache package
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added unit tests for scheduler's cache package
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-07 09:43:57 +05:30
karmada-bot
0cc294f998
Merge pull request #5759 from mohamedawnallah/unitTestTLSBootstrapAgent
...
pkg/karmadactl/cmdinit: unit test bootstraptoken
2024-11-07 09:56:46 +08:00
chang.qiangqiang
2daa150fd6
fix(status): set log to level 5
...
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2024-11-06 16:28:42 +08:00
Mohamed Awnallah
c059c68f9b
pkg/search: unit test karmada search APIServer
...
In this commit, we unit test karmada search APIServer
on creating REST storage and installing the API group.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-06 01:15:31 +02:00
Mohamed Awnallah
0a56741bb6
pkg/karmadactl/cmdinit: unit test bootstraptoken
...
In this commit, we unit test bootstraptoken agent on tlsbootstrap
functionality by testing `AllowBootstrapTokensToPostCSRs`,
`AutoApproveKarmadaAgentBootstrapTokens`, and `AutoApproveAgentCertificateRotation`
making sure they are working as expected.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-05 16:51:08 +02:00
Mohamed Awnallah
91c4f92702
pkg/karmadactl/addons: unit test karmada search
...
In this commit, we unit test karmada search on status operation.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-05 15:53:25 +02:00
karmada-bot
a935aa1a76
Merge pull request #5610 from yanfeng1992/fixbug-toomany-conn
...
cluster proxy transport disable keepalive
2024-11-05 16:38:44 +08:00
karmada-bot
ac589d6921
Merge pull request #5765 from mohamedawnallah/unitTestDeschedulerAddon
...
pkg/karmadactl/addons: unit test descheduler
2024-11-05 09:41:43 +08:00
Mohamed Awnallah
c636d16948
pkg/karmadactl: unit test check in cmdinit
...
In this commit, we unit test `WaitAPIServiceReady` check function
that is utilized across addons and during init operations on waiting
for a non-existent aaAPIService, not-ready aaAPIService, and finally
where aaAPIService becomes ready before the timeout.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-04 21:46:07 +02:00
karmada-bot
8c7607e741
Merge pull request #5778 from mohamedawnallah/unitTestAggregatedAPIServer
...
pkg: unit test aggregatedAPIServer
2024-11-04 18:16:43 +08:00
karmada-bot
e90ff63b6f
Merge pull request #5780 from ctripcloud/crb-status-ut
...
fix crb_status_controller ut is referencing namespaced objects
2024-11-04 14:23:43 +08:00
karmada-bot
6f2f3ebb22
Merge pull request #4451 from zhzhuang-zju/unjoin
...
Enhanced forced deletion on karmadactl unjoin
2024-11-04 11:15:43 +08:00
zhzhuang-zju
1eb2f9ec31
enhanced forced deletion on karmadactl unjoin
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-04 09:59:11 +08:00
zach593
0e64e7ed05
fix crb_status_controller ut is referencing namespaced objects
...
Signed-off-by: zach593 <zach_li@outlook.com>
2024-11-03 17:34:28 +08:00
Mohamed Awnallah
ccccace553
pkg: unit test aggregatedAPIServer
...
In this commit, we unit test aggregatedAPIServer on creating
new aggregatedAPIServer with clusterAPI.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-02 18:22:52 +02:00
Anuj Agrawal
8ea31a8d5c
Added unit tests for the scheduler cache snapshot functionality
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-01 15:44:13 +05:30