Commit Graph

345 Commits

Author SHA1 Message Date
chaosi-zju 9211d27973 add e2e for WorkloadRebalancer
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-16 16:18:30 +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
chaosi-zju b3ccd3b565 add e2e for FederatedHPA and metrics-adapter.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-13 09:48:31 +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
RainbowMango 8cf31bfc37 Adopt Kubernetes #121390: remove etcd page
Adopt Kubernetes #118653, introduce VolumeResourceRequirements
Remove APIPriorityAndFairness feature gates from
karmada-aggregated-apiserver.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
zhzhuang-zju 48425663cc e2e: Remove annotaions when pp/cpp is deleted
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-04-28 15:15:49 +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
zhzhuang-zju 138b47274b update lazy-activation-preference.md and lazy_activation_policy_test.go
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-04-17 17:35:42 +08:00
hulizhe e62c659b00 add e2e test for lazy propagation policy
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-04-16 22:03:13 +08:00
chaosi-zju f99c0f6df0 add e2e test for lazy propagation policy
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-08 19:49:04 +08:00
Jay179-sudo deaf341f81 Corrected poll timeout example
Signed-off-by: Jay179-sudo <jayprasad2002@gmail.com>
2024-03-30 17:51:14 +05:30
chaosi-zju 8b9e1e22fb add e2e test for deployment replicas syncer
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
(cherry picked from commit a21848da13)
2024-03-28 10:27:25 +08:00
karmada-bot 0a88f332c8
Merge pull request #4622 from Affan-7/lazy-activation-e2e
Add e2e test for lazy propogation policy: Policy created before resource
2024-03-22 15:44:51 +08:00
Mohammed Affan 19e988fa68 Add e2e test for lazy propogation policy: Policy created before resource
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-03-20 21:36:23 +05:30
chaosi-zju 350601f2a7 Revert "add e2e test for deployment replicas syncer"
This reverts commit a21848da13.

Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-20 09:56:17 +08:00
chaosi-zju a21848da13 add e2e test for deployment replicas syncer
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-17 19:27:31 +08:00
chaosi-zju 8f5cc4995c sync deployment replicas when it is controlled by hpa
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-14 20:39:22 +08:00
karmada-bot f03b5e9803
Merge pull request #4576 from zhzhuang-zju/pp
e2e: reduce unnecessary repetitive processes in propagationpolicy_test.go
2024-02-06 17:33:56 +08:00
zhzhuang-zju afe58c71a4 e2e: reduce unnecessary repetitive processes in propagationpolicy_test.go
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-02-06 15:19:33 +08:00
jwcesign cebb1eac03 feat: add manager label to eps work to avoid the conflicts between mcs/serviceexport
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2024-01-29 20:22:36 +08:00
karmada-bot 697170b904
Merge pull request #4539 from zhzhuang-zju/label
cleanup: remove label when pp or cpp is deleted
2024-01-17 10:14:39 +08:00
karmada-bot 413a15aca3
Merge pull request #4536 from whitewindmills/preemption_e2e
Add preemption E2E test
2024-01-15 20:47:44 +08:00
karmada-bot be5b5a8553
Merge pull request #4521 from Vacant2333/add-e2e-coverage-docs
docs: Add e2e coverage detail(last part)
2024-01-13 17:06:35 +08:00
zhzhuang-zju a66032fbbd update e2e coverage_docs
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-13 10:18:09 +08:00
Vacant 5110ce08bd add e2e coverage detail
Signed-off-by: Vacant <vacant@MasterNode.local>
Signed-off-by: Vacant <vacant@192.168.0.107>
2024-01-12 20:36:27 +08:00
zhzhuang-zju 189a91bbf9 e2e: add a e2e case to test the scenario where pp and cpp are deleted
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-12 16:56:47 +08:00
whitewindmills a1a980b54a Add preemption E2E test
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-01-12 11:13:51 +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
chaosi-zju 3532df46a2 cleanup: enable revive(receiver-naming) checking
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-04 14:36:49 +08:00
Lan Liang 59cd00d942 Cleanup: enable lint of revive(superfluous-else)
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-01-02 08:35:42 +00:00
karmada-bot 303f2cd24b
Merge pull request #4470 from zhzhuang-zju/failover
e2e: check whether the deployment disappears in the recovered clusters
2023-12-26 11:18:21 +08:00
changzhen f5537cca6c nominate e2e code owners
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-12-25 16:36:12 +08:00
karmada-bot 2a2db3fd9b
Merge pull request #4436 from Vacant2333/add-e2e-coverage-detail
docs: add e2e coverage detail
2023-12-25 16:19:20 +08:00
zhzhuang-zju 82b7009ef4 e2e: check whether the deployment disappears in the disabledClusters
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2023-12-25 11:22:05 +08:00
Vacant2333 60b2e4af22 add e2e coverage detail
Signed-off-by: Vacant <vacant@MasterNode.local>
2023-12-23 18:07:31 +08:00
Zhizhen He 25a62c6c57
fix typo
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-12-17 16:12:03 +08:00
jwcesign e77fe55851 feat: fix conflicts with pp
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-14 19:46:46 +08:00
karmada-bot 652c25436d
Merge pull request #4252 from zhzhuang-zju/e2e-top-pod
e2e: add e2e test for command karmadactl top pod
2023-12-13 09:22:10 +08:00
zhzhuang-zju 4fa7d48502 e2e: add e2e test for command karmadactl top pod
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2023-12-12 15:43:09 +08:00
karmada-bot d9f47afd4a
Merge pull request #4363 from jwcesign/jw-1
e2e: Fix the occasional failure of mcs e2e
2023-12-05 14:34:04 +08:00
jwcesign 0beb460387 e2e: Fix the occasional failure of mcs e2e
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-04 11:27:43 +08:00
changzhen 78265a6b8d delete the unused integration package in the test package
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-12-02 19:32:23 +08:00
karmada-bot d43f22fb29
Merge pull request #4324 from Vacant2333/Add-e2e-coverage-analysis
Add e2e coverage analysis docs
2023-12-02 16:50:01 +08:00
karmada-bot 24d55736cd
Merge pull request #4354 from jwcesign/cleanup-mcs-e2e
cleanup: cleanup e2e of mcs
2023-12-02 16:44:00 +08:00
jwcesign 35d7ddd77f cleanup: cleanup e2e of mcs
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-02 15:14:14 +08:00
Vacant2333 d3a87c3c9c add e2e coverage analysis
Signed-off-by: Vacant2333 <vacant2333@gmail.com>
2023-12-02 13:19:29 +08:00
jwcesign 2e26ac7fbe e2e: make FederatedResourceQuota e2e as serial to avoid affecting each other
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-01 16:44:48 +08:00
jwcesign 471f8eb8f0 cleanup: change MultiClusterService corresponding label
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 23:26:33 +08:00
jwcesign fb5993d141 e2e: add e2e for mcs with native dns resolving
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 19:13:11 +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
jwcesign aad72aecd2 e2e: adjust all karmadactl e2e to use real karmadactl command
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-15 11:08:27 +08:00
jwcesign d1ce33f9e8 e2e: adjust karmadactl e2e to use real command
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-14 10:28:50 +08:00
jwcesign 5e90907819 fix: fix exec failure when tls enabled
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-09 10:39:01 +08:00
karmada-bot bea718a0c3
Merge pull request #4136 from jwcesign/sync-show-v1
e2e: add test case for hpa replicas syncer
2023-10-31 20:34:35 +08:00
jwcesign d1f8b10acb e2e: add test case for hpa replicas syncer
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-10-31 15:32:07 +08:00
zhangdiandian 4baaf12887 fix spell errors in test and docs
Signed-off-by: zhangdiandian <1635468471@qq.com>
2023-10-31 03:38:07 +00:00
Vacant2333 628b0d4cb2 add resource deletion protection e2e test
Signed-off-by: Vacant2333 <vacant2333@gmail.com>
2023-10-28 15:52:32 +08:00
changzhen 734cf3ab8f fix depndencies lua scrpit bug
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-09-05 17:36:24 +08:00
lxtywypc 67de65d892 Revert "Merge pull request #3808 from ctripcloud/refactor-execution-workstatus"
This reverts commit 90ccbcdfce, reversing
changes made to 24bb582950.

Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-08-31 14:23:58 +08:00
jwcesign 2c48bd7f99 cleanup: add uid in resource and owner information in annotations
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-08-26 17:02:13 +08:00
karmada-bot 90ccbcdfce
Merge pull request #3808 from ctripcloud/refactor-execution-workstatus
only update object in member cluster by execution controller
2023-08-21 10:06:00 +08:00
lxtywypc 89e3673fbb only update object in member cluster by execution controller
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-08-16 16:36:22 +08:00
Vacant2333 c1d82ba218 add e2e coverage analisis
Signed-off-by: Vacant2333 <rentian.zhou@daocloud.io>
2023-08-11 10:47:33 +08:00
yike21 14c0795ed1 test: add e2e test to cover PropagationPolicy
Signed-off-by: yike21 <yike21@qq.com>
2023-08-09 08:58:05 +08:00
karmada-bot 086f530384
Merge pull request #2736 from Poor12/refactor-taint
Refactor the func and event of taint cluster
2023-08-03 10:51:50 +08:00
Poor12 b2ac1b2432 refactor the func and event of taint cluster
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-07-31 17:32:24 +08:00
chaosi-zju 3026fc74df test: add e2e test for seamless migration.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-07-29 15:05:15 +08:00
zhy76 4f20be1c94 add e2e test when cluster join, update, karmada need to reconcile search cache
Signed-off-by: zhy76 <958474674@qq.com>
2023-07-20 09:31:39 +00:00
jwcesign 7ac69c1864 e2e: Add e2e for CronFederatedHPA
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-07-18 20:36:15 +08:00
karmada-bot 8388314fbe
Merge pull request #3796 from Vacant2333/add_E2E_coverage_of_the_features_doc
Add e2e coverage of the features doc
2023-07-17 15:53:30 +08:00
Vacant2333 8626bb4cb1 add e2e coverage details
Signed-off-by: Vacant2333 <rentian.zhou@daocloud.io>
2023-07-17 14:39:46 +08:00
karmada-bot 276428e0ee
Merge pull request #3700 from chaunceyjiang/flake
e2e: should be queried on member clusters rather than the control plane
2023-06-26 15:10:25 +08:00
chaunceyjiang a10f895c1e feat: Support modification synchronization of custom resources as dependency
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-26 10:43:51 +08:00
chaunceyjiang b9b1006965 e2e: should be queried on member clusters rather than the control plane
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-25 18:03:04 +08:00
yike21 3c312b7d30 cleanup the ci about interpreter-interpret-health test
Signed-off-by: yike21 <yike21@qq.com>
2023-06-10 20:21:36 +08:00
chaunceyjiang a6d58ee34a fix When EnableEmptyWorkloadPropagation flag is false zero deployment still can be propagated to member cluster
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-05-30 17:33:44 +08:00
karmada-bot 3151f02f6e
Merge pull request #3547 from zishen/master
Add UT for pkg/controllers/binding/binding_controller.go
2023-05-22 16:44:55 +08:00
zishen 8391b233c4 Add UT for pkg/controllers/binding/binding_controller.go
Signed-off-by: zishen <softwarebtg@163.com>
2023-05-19 14:22:32 +08:00
Poor12 6ad5a2704e [flake] application failover testing
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-15 20:22:48 +08:00
LronDC f9b1071c3c Add --auto-generate-propagation-policy and --propagation-policy-name options to promote command
Signed-off-by: LronDC <lun.su@daocloud.io>
2023-05-12 18:53:43 +08:00
Poor12 68a5f66689 add application failover e2e
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-11 19:47:23 +08:00
Poor12 80eab7bcb3 add a clusterEvicted plugin
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-28 09:21:45 +08:00
lxtywypc b606c6b0d3 add e2e to test dependency distribution base on ClusterPropagationPolicy
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-04-23 11:19:42 +08:00
Poor12 c0f9d8c107 fix ReplicaSchedulingType is Duplicated, trigger rescheduling when replicas have changed
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-03-21 18:46:05 +08:00
changzhen 709ad8d06a add e2e for schedule with clusteraffinitise
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-28 11:31:17 +08:00
Poor12 5eff625925 add placement for binding
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-10 15:18:01 +08:00
karmada-bot 69ecff65d8
Merge pull request #3114 from Poor12/test
Detector watch pp fields changed other than resource selector
2023-02-09 16:35:51 +08:00
Poor12 9ae3e50ae8 detector watch pp fields changed other than resource selector
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-09 15:16:21 +08:00
Fish-pro 05c759a19a Use http constants instead of string
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-07 15:51:00 +08:00
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
RainbowMango 95213cd6f5 Adopt IngressStatus type changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 18:08:19 +08:00
hejunhua f229d97be9 fix that the InterpretDependency operation is absent in the validating webhook
Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>

fix e2e problem

Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>

fix test case

Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>
2023-01-17 15:14:04 +08:00
Amir Alavi 05a98cc978
default interpreter aggregate status: set sub-test name and parallelize
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2023-01-08 21:05:45 -05:00
karmada-bot 4d9b23ff72
Merge pull request #3008 from Fish-pro/infoffmt
Remove unnecessary fmt.Sprintf for logging
2022-12-30 09:25:51 +08:00
chen zechun 4699343bcf Remove unnecessary fmt.Sprintf for logging
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-29 17:55:56 +08:00
karmada-bot a20dd6e630
Merge pull request #2935 from jwcesign/code-review-fix-v2
Delete the redundant logic in func GenerateExecutionSpaceName
2022-12-29 15:39:50 +08:00
jwcesign 8acd1a4503 Delete the redundant logic in func GenerateExecutionSpaceName
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-28 15:59:24 +08:00
Poor12 dbcf60a696 log error when replicaDivisionPreference is Weighted and WeightPreference is nil
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-23 14:25:18 +08:00
wlp1153468871 3dc0ef2a4a Update the wrong message info in the e2e
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-12-21 12:18:33 +08:00
karmada-bot f029394009
Merge pull request #2912 from jwcesign/fix-pp-rb
fix a corner case that re-schedule be skipped in case of the cluster becomes not fit.
2022-12-13 17:06:27 +08:00