Commit Graph

219 Commits

Author SHA1 Message Date
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
jwcesign 950b614fa7 Fix resource hangover in member cluster when propagating matching changes
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-13 14:55:50 +08:00
changzhen 5ed2100ee1 support multiple dependencyInterpreter lua script for one gvk
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-12-13 10:30:33 +08:00
Poor12 c3e2dedbbe fix e2e failure
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-12 11:14:40 +08:00
Poor12 7c4cd0b5b6 fix work status not sync to control plane
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-09 15:43:34 +08:00
karmada-bot 3f0a19c192
Merge pull request #2856 from jameszhangyukun/e2e-depency
[E2E] add test case for resource interpreter customization
2022-11-28 09:32:10 +08:00
zhangyukun a5e35a4ca8 e2e DependencyInterpretation
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-11-27 14:11:35 +08:00
karmada-bot d20c699e42
Merge pull request #2851 from XiShanYongYe-Chang/e2e-update-retain-test
[e2e] Refactor InterpreterOperation retain test with resourceinterpreter
2022-11-25 19:27:08 +08:00
changzhen f4353a1e65 e2e: refactor retain test
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-25 17:00:30 +08:00
RainbowMango f8646f5d91 Update Golang version from v1.18.3 to v1.19.3
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 19:47:12 +08:00
karmada-bot 4870c30f9d
Merge pull request #2839 from jameszhangyukun/e2e-custom
[E2E] add test case for resource interpreter customization
2022-11-22 21:00:07 +08:00
zhangyukun 49d7520119 e2e
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-11-22 19:42:01 +08:00
cleverhu e1e1616197 unify namespace and name style
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-19 23:42:01 +08: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 8bda9f85d2 e2e: wait till the informer's cache is synced in karmada-controller
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-17 15:49:30 +08:00
changzhen c60736ec23 mark test case as serial
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-16 15:52:09 +08:00
jwcesign 252dd7de97 Fix PP/CPP e2e probabilistic failure
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-15 19:50:29 +08:00
karmada-bot c8016354b3
Merge pull request #2805 from XiShanYongYe-Chang/fix-2804
[e2e] decrease the number of replicas when updating the number of statefulset replicas
2022-11-15 10:59:33 +08:00
changzhen 43933216a1 decrease the number of replicas when updating the number of statefulset replicas
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-15 10:02:54 +08:00
jwcesign 4c6fc6e367 Implement priority of PropagationPolicy/ClusterPropagationPolicy
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-14 23:07:38 +08:00
karmada-bot 3cbae40434
Merge pull request #2771 from wuyingjun-lucky/nil_resource_selector
Fix overridepolicy with nil resource selector could not work
2022-11-13 10:41:56 +08:00
wuyingjun 41b1cc4c8c fix overridepolicy with nil resource selector could not work
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-11-12 17:36:30 +08:00
lonelyCZ faa6b64cd6 Package subcommands of karmadactl to make it clearer
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-10 14:31:57 +08:00
changzhen ce0236e546 add e2e for editing policy resoureceSelectors
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-09 16:41:15 +08:00
lonelyCZ 3dc11037cc karmadactl join/unjoin use factory to access control plane
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-07 16:02:45 +08:00
lonelyCZ 7b44385441 karmadactl promote uses factory to access cluster
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-04 15:18:48 +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