Commit Graph

66 Commits

Author SHA1 Message Date
zhzhuang-zju 4e592c1bee add operator e2e suites
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-26 10:35:15 +08:00
chaosi-zju e7e06ceed8 fix pdb collection testing occasional failure
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-08-15 21:28:00 +08:00
Amir Alavi 8f707f35b4
work suspension: emit event for work dispatch status
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>

fix lint

fix lint
2024-08-09 06:15:05 -04:00
Mohamed Awnallah f71bc13963 test: unify access to cluster members
In this commit, we unify access to cluster members
in `test/helper/NewFederatedResourceQuota()` by passing
`clusterNames` as an input parameter. This commit is also
a follow-up of this PR #5226.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-07-23 17:46:54 +00: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
Lan Liang 5a4539d404 migrate wait.PollImmediate to wait.PollUntilContextTimeout.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-22 05:51:49 +00:00
chaosi-zju 9211d27973 add e2e for WorkloadRebalancer
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-16 16:18:30 +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
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
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
jwcesign 38b2cae7e1 cleanup: enable revive(exported rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-09 09:41:47 +08:00
jwcesign e77fe55851 feat: fix conflicts with pp
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-14 19:46:46 +08:00
jwcesign 35d7ddd77f cleanup: cleanup e2e of mcs
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-02 15:14:14 +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 5e90907819 fix: fix exec failure when tls enabled
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-09 10:39:01 +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
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
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
jwcesign 7ac69c1864 e2e: Add e2e for CronFederatedHPA
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-07-18 20:36:15 +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
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
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
changzhen df81ff9509 add e2e for resource interpreter customization
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-19 18:15:18 +08:00
jwcesign 4c6fc6e367 Implement priority of PropagationPolicy/ClusterPropagationPolicy
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-14 23:07:38 +08:00
Garrybest a0b7ba5d1d leverage scheduler cache to estimate replicas
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-30 22:45:16 +08:00
changzhen 5ee9f6776e fix 2392: replace colon with point in the rbac resource name
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-26 10:10:56 +08:00
chaunceyjiang 92fff3163d propagate dependencies support propagate sa
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-09-17 18:21:17 +08:00
hanweisen 721d4e02bf propagate dependencies support propagate pvc
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-08-10 11:09:25 +08:00
hejianpeng c038cdd127 support ClusterOverridePolicy in namespaces_sync_controller
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-07-28 11:00:32 +08:00
changzhen a703560296 upgrade default karmada-apiserver from v1.23.8 to v1.24.2
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-07-09 14:40:10 +08:00
duanmeng 0ea0f6f1cb fixed a bug that the service could not be promoted and e2e test
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-06-16 21:56:01 +08:00
changzhen 9e94ed28c2 update perl image for latest image run err
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-31 11:39:00 +08:00
Poor12 b3eed04087 [e2e]add e2e for jobStatus,daemonSetStatus,statefulSetStatus collection
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-05-09 20:25:57 +08:00
changzhen 695c29fe61 add e2e for ingressStatus collection
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-28 11:55:57 +08:00
changzhen eec51a5a7a move cleanup to ginkgo setup node
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-14 09:10:11 +08:00
changzhen ca103cf336 Declare in container nodes, initialize in setup nodes
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-12 09:46:18 +08:00
Garrybest b86461e82f add benchmark in estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-30 20:30:31 +08:00
changzhen e1fbf5cf2d refactor aggregated-apiserver e2e test
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-25 15:27:08 +08:00
wwwnay b534e994c2 e2etest for aggregated api endpoint
Signed-off-by: wwwnay <ywilling@outlook.com>
2022-03-25 15:23:16 +08:00
lihanbo 2a631017ed add e2e test for dependencies distributor
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-22 19:49:33 +08:00
changzhen 82ff421c57 add e2e for federatedresourcequota sync
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-21 16:39:43 +08:00
huone1 316773b761 optimize the failover e2e test case
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-15 10:26:40 +08:00
lonelyCZ f4c71a6370 Run karmada-interpreter-webhook-example in CI
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-30 20:46:32 +08:00
zhangyukun 28889171fd e2e test for overridemanager.go
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2021-12-20 10:30:26 +08:00
Garrybest d01fccfd3b add division algorithm test
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-06 22:39:57 +08:00