Commit Graph

646 Commits

Author SHA1 Message Date
Poor12 c84ccf61c1 fix cached rest mapper
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-13 15:04:41 +08:00
karmada-bot 9cb88f77ed
Merge pull request #3549 from Poor12/delete-note
Delete redundant deepcopy
2023-06-13 14:25:42 +08:00
Poor12 e71a360f17 delete redundant deepcopy
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-09 17:37:12 +08:00
zhangdiandian 291ffdbcc1 Upgrade cluster-api to v1beta1 for v1alpha3/v1alpha4 deprecated
Signed-off-by: zhangdiandian <1635468471@qq.com>
2023-06-08 23:57:05 +08:00
jwcesign 06960c22c0 feat: add validation for federatedhpa
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-30 20:43:57 +08:00
Poor12 3a1464828a add hpa controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-30 17:26:02 +08:00
jwcesign 6dfa4d068e feat: support fieldSelector
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-05-28 16:02:57 +08:00
jwcesign ae6c34578c feat: add metrics-adapter component to support centralized hpa
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-26 11:23:38 +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
karmada-bot 8594406e5f
Merge pull request #3398 from whitewindmills/code-cleanup
Fix inspection errors
2023-05-19 20:28:53 +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
whitewindmills 89295f9606 Fix inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-17 17:06:27 +08:00
karmada-bot 9d72f27329
Merge pull request #3504 from realnumber666/add-unit-test
Add UT for pkg/util/lifted
2023-05-15 09:28:56 +08:00
rayywu 5977e1bd00 Add UT for pkg/util/lifted
Signed-off-by: rayywu <rayywu@tencent.com>
2023-05-14 01:33:12 +08:00
changzhen c04fd6ad62 add validation for mci
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-05-12 15:49:50 +08:00
Amir Alavi 121afd21ff
add managed-by label to resources created by karmada controllers (#3262)
* update value of managed-by label to 'karmada'

Signed-off-by: Amir Alavi <amiralavi7@gmail.com>

* change managed by label to a karmada reserved label

Signed-off-by: Amir Alavi <amiralavi7@gmail.com>

---------

Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2023-05-12 14:35:24 +08:00
karmada-bot 17eae7d32c
Merge pull request #3508 from Poor12/revert-fields
Revert preConditions and blockPredecessorSeconds in failover
2023-05-09 17:45:23 +08:00
Poor12 5bdd837f35 revert some fields
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-09 16:38:48 +08:00
RainbowMango 07f8929fb4 Update cluster-api version to semantic version
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-05-08 18:24:00 +08:00
Poor12 d06fe2b5b3 add application failover controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-06 10:36:54 +08:00
Poor12 80eab7bcb3 add a clusterEvicted plugin
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-28 09:21:45 +08:00
karmada-bot 27862f77f7
Merge pull request #3442 from chaunceyjiang/AffinityName
fix: affinityName can be set to an empty string
2023-04-25 10:31:10 +08:00
karmada-bot 2ef01942f1
Merge pull request #3395 from realnumber666/add-unit-test
Add UT for workstatus.go and taint.go and rule.go
2023-04-24 19:56:11 +08:00
Poor12 2c9d900c28 add some fields for GracefulEvictionTask
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-24 14:59:27 +08:00
chaunceyjiang 6fb9329b29 fix: affinityName can be set to an empty string
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-24 12:55:46 +08:00
rayywu 4c66528ae1 Add UT for workstatus.go and taint.go and rule.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-04-24 00:21:19 +08:00
karmada-bot b118a73ba1
Merge pull request #3433 from chaunceyjiang/prefix-namespace
feat: allows users to propagate resources under the Kubernetes reserved namespace.
2023-04-21 10:52:07 +08:00
chaunceyjiang 1f42f7f1e5 feat: allows users to propagate resources under the Kubernetes reserved namespace.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-20 19:05:33 +08:00
Poor12 74e030af81 add validation for failover
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-20 14:56:16 +08:00
chaunceyjiang 77e2157cf8 CommandArgsOverrider supports Job
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-17 14:32:33 +08:00
yike21 18ebee199f add unit test for pkg/resourceinterpreter/default/native/dependencies.go
Signed-off-by: yike21 <yike21@qq.com>
2023-04-13 17:56:55 +08:00
chaunceyjiang 6f3afbdbf2 fix: validates predicate path
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-12 13:47:28 +08:00
karmada-bot 9b4c9a8222
Merge pull request #3364 from whitewindmills/patch-util
use patch helper instead of jsonpatch
2023-04-10 19:10:58 +08:00
karmada-bot a7ae11c73d
Merge pull request #3123 from WulixuanS/fix/genericmanager
Avoid multiple executions after rlock in concurrent scenarios
2023-04-10 13:59:58 +08:00
karmada-bot 45fcc38535
Merge pull request #3315 from helen-frank/feature/parseSingle
parseSingle: add test
2023-04-10 10:59:58 +08:00
helen 94a78f9ab0 parseSingle add test
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-04-10 09:56:34 +08:00
karmada-bot 115d06eeee
Merge pull request #3357 from whitewindmills/sc-validation
fix that multiple same spread constraints are allowed
2023-04-08 09:01:55 +08:00
karmada-bot 7589eaec60
Merge pull request #3321 from Poor12/fix-duplicated
Do not revise replicas when strategy is duplicated
2023-04-07 08:11:55 +08:00
whitewindmills b15e43251b use patch helper instead of jsonpatch
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-06 16:04:58 +08:00
Poor12 75c638ddc1 do not revise replicas when duplicated
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-06 15:05:45 +08:00
wulixuan 8c63c146a4 Avoid multiple executions after rlock in concurrent scenarios
Signed-off-by: wulixuan <wulixuan@bilibili.com>
2023-04-06 13:49:04 +08:00
changzhen 1d0e6ced65 fix an issue where DeepEqual becomes invalid in aggregate binding status
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-04-04 16:32:16 +08:00
karmada-bot 8bec671e21
Merge pull request #3339 from yike21/bundle-kruise-resources-1
Add a function getPodDependencies for InterpretDependency operation
2023-04-04 10:55:53 +08:00
whitewindmills 9a408ab3d9 fix that multiple same spread constraints are allowed
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-02 22:52:24 +08:00
whitewindmills 26c787531e add placement helper
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-01 16:45:57 +08:00
yike21 9acd98faec Add a function getPodDependencies for InterpretDependency operation
Signed-off-by: yike21 <yike21@qq.com>
2023-04-01 11:42:08 +08:00
wenche e98599504f Fixed the control plane endpointslice cannot be deleted.
Signed-off-by: wenche <wenchuan.zhao@qq.com>
2023-03-31 13:55:55 +08:00
chaunceyjiang 7e2097f1f3 Optimize code directory structure.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-03-30 11:49:16 +08:00
helen 51365952b1 use rest.Config and check ca exist
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-03-22 15:52:55 +08:00
karmada-bot 40c202b937
Merge pull request #3288 from xigang/bugfix/gvk
bugfix: runtime.Object apiVersion/kind is empty
2023-03-17 15:27:21 +08:00