Commit Graph

2593 Commits

Author SHA1 Message Date
chaosi-zju 3012c808f8 fix deployment replicas syncer in case deployment status changed before label added
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-18 11:39:42 +08:00
changzhen 473387bbd5 add ut for remedy controller eventhandler
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-15 14:35:54 +08:00
changzhen 6b04bffea0 add ut for remedy util function
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-15 11:01:18 +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
changzhen 2db3ca2629 add remedy api in the swagger.json
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-05 09:15:04 +08:00
karmada-bot 2cfa7e6efc
Merge pull request #4555 from whitewindmills/deprioritized-preemption
Optimize deprioritized policy preemption logic
2024-03-01 12:17:33 +08:00
whitewindmills e88797b2dc Optimize deprioritized policy preemption logic
Use the priorityequeue to sort the listed policies to avoid multiple preemption.

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-02-29 15:52:38 +08:00
karmada-bot 44b4ca591e
Merge pull request #4663 from XiShanYongYe-Chang/set-enum-value-for-operator
Set enum value for operator in Remedy API
2024-02-28 23:41:14 +08:00
changzhen 8a101ebcb7 set enum value for operator in Remedy API
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-28 22:49:53 +08:00
karmada-bot 1baacbf98f
Merge pull request #4660 from chaosi-zju/gvr
add GroupVersion of remedy.karmada.io/v1alpha1 to SkippedResourceConfig
2024-02-28 21:49:32 +08:00
karmada-bot 7b3a6a3452
Merge pull request #4646 from wm775825/master
Add service-name-resolution-detector
2024-02-28 21:01:14 +08:00
wm775825 d88ac92f73 add service-name-resolution-detector
Signed-off-by: wm775825 <1174929164@qq.com>
2024-02-28 20:08:20 +08:00
chaosi-zju 54f310c4e0 add GroupVersion of remedy.karmada.io/v1alpha1 to SkippedResourceConfig
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-02-28 14:46:07 +08:00
karmada-bot 4f75b3c577
Merge pull request #4657 from XiShanYongYe-Chang/fix-remedy-panic
fix panic when update remedy.spec.clusteraffinity to empty
2024-02-28 12:05:31 +08:00
karmada-bot 9df370f597
Merge pull request #4654 from ipsum-0320/master
feat: update hack/.import-alias
2024-02-28 11:34:31 +08:00
changzhen 1edd563268 fix panic when update remedy.spec.clusteraffinity to empty
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-28 11:14:03 +08:00
changzhen 081610e33e add remedy controller
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-27 22:24:34 +08:00
changzhen 70afc1ad6d add remedy group api and update cluster api
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-27 21:29:13 +08:00
ipsum-0320 2d6da23cd5 feat: update hack/.import-alias
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
2024-02-27 21:12:26 +08:00
zhzhuang-zju 8241b3cab2 update work status condition when recreate failed
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-02-21 11:07:29 +08:00
karmada-bot 0aec7b58dc
Merge pull request #4584 from niuyueyang1996/implement-node/pod-tableconvert
Implement node/pod tableconvert
2024-02-05 15:49:55 +08:00
niuyueyang 4aecca59ef support node/pod TableConvertor.
Signed-off-by: niuyueyang <719415781@qq.com>
2024-02-05 11:37:13 +08:00
Fish-pro c401a5d9f1 bump alpine to 3.19.1 to address CVE concerns
Signed-off-by: Zechun Chen <zechun.chen@daocloud.io>
2024-01-31 20:30:25 +08:00
karmada-bot 0126b90fc8
Merge pull request #4591 from jwcesign/fix-mcs-mci-conflict
feat: add manager label to eps work to avoid the conflicts between mcs/serviceexport
2024-01-29 21:19:49 +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
jwcesign e6225d8070 fix: reschedule the replicas of the disappear clusters in PP
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2024-01-29 15:50:47 +08:00
yweng14 e0b3e834ef [MVP] add resourcequota plugin in scheduler-estimator: add resourcequota plugin
Signed-off-by: yweng14 <yweng14@bloomberg.net>
2024-01-27 15:27:47 +08:00
karmada-bot 3cf27ccd6d
Merge pull request #4580 from niuyueyang1996/fix-table-convert
Support accept content type as=Table into karmada-search.
2024-01-26 15:21:46 +08:00
karmada-bot ae5b3fe373
Merge pull request #4577 from chaosi-zju/policy5
Introduced a lazy activation preference to PropagationPolicy/ClusterPropagationPolicy
2024-01-25 21:52:45 +08:00
chaosi-zju 926e34a7ad implementation of the LazyActivation preference for Policy.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-25 20:56:31 +08:00
niuyueyang a694872c89 if accept set application/json;as=Table;g=meta.k8s.io;v=v1beta1.
scope not support TableConvertor will return code 406.
Signed-off-by: niuyueyang <719415781@qq.com>
2024-01-25 14:18:43 +08:00
RainbowMango 67fc70d5ac Nominate Yuan peng, Zhuang, and Yan feng as new reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-23 15:05:28 +08:00
karmada-bot d508417a1e
Merge pull request #4554 from yanfeng1992/fix-member-apienable
search add check member cluster api enable
2024-01-23 10:15:44 +08:00
karmada-bot 23c51ec08e
Merge pull request #4568 from RainbowMango/pr_bump_golangci
bump golangci-lint to v1.55.2
2024-01-23 10:03:43 +08:00
karmada-bot 32edd16051
Merge pull request #4557 from yanfeng1992/fix-pull-cluster-name-check
pull mode register add check cluster exists
2024-01-23 00:10:49 +08:00
huangyanfeng 0e46397086 pull mode register add check cluster exists
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-01-22 19:43:48 +08:00
RainbowMango c47e12a442 bump golangci-lint to v1.55.2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-21 12:34:24 +08:00
Yao Weng c3458310d4
[MVP] add resourcequota plugin in scheduler-estimator: create framework for scheulder-estimator (#4534)
* [MVP] add resourcequota plugin in scheudler-estimator

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* framework only

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* fix lint error

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* address comments

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* add KubeClient in the Handle

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* - add snapshot as input argument of RunEstimateReplicasPlugins
- add Result to give clearer message

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* fix unitest name due

Signed-off-by: yweng14 <yweng14@bloomberg.net>

---------

Signed-off-by: yweng14 <yweng14@bloomberg.net>
2024-01-19 22:14:41 +08:00
karmada-bot 0e501b607a
Merge pull request #4528 from XiShanYongYe-Chang/remove-redundant-os-preload
Remove redundant os preload in lua vm
2024-01-19 10:53:41 +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
huangyanfeng b6ff5b8cc5 search add check member cluster api enable
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-01-16 14:29:13 +08:00
changzhen f2a260641b remove redundant os preload
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-01-16 11:01:57 +08:00
karmada-bot 31031548b7
Merge pull request #4519 from XiShanYongYe-Chang/remove-unsafe-lua-library-function
remove unsafe lua load library function
2024-01-16 10:50:37 +08:00
Mohammed Affan 970435c3d1 Add linting for unused parameters
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-01-13 12:26:54 +05:30
chaosi-zju e9851ae99b test of even distribution of replicas for removing cluster scenario
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-12 15:32:50 +08:00
zhzhuang-zju 774b9dcad2 cleanup: remove label when pp is deleted
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-12 14:11:23 +08:00
changzhen 6b5dc9f850 disable unsafe lua library function
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-01-11 16:49:43 +08:00
karmada-bot e857d1f95e
Merge pull request #4522 from helen-frank/fix/defer_runlock
defer RUnlock
2024-01-10 17:33:34 +08:00
helen 2397af5f24 defer RUnlock
Signed-off-by: helen <haitao.zhang@daocloud.io>
2024-01-10 16:43:41 +08:00
Mohammed Affan 89c6d7299c Add linting for redefined builtin ids
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-01-10 16:01:04 +08:00