Commit Graph

803 Commits

Author SHA1 Message Date
whitewindmills 9c08138f5b Use merge strategy to avoid work.karmada.io/permanent-id changes.
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-03 10:46:05 +08:00
whitewindmills ce84edfe12 labels cannot be deleted via Karmada propagation
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-03-30 21:31:47 +08:00
changzhen e511ad7bfc remove old MergeAnnotation func and rename ReplaceAnnotation func to MergeAnnotation
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-30 09:43:12 +08:00
changzhen 0e60af8ee2 remove work label on the member cluster resource
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-28 12:56:35 +08:00
changzhen 6b8e73e37a add endpointslice-controller finalizer for Endpointslice Work object
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-27 14:44:49 +08:00
changzhen b808f37847 fix wrong annotation marks on resource
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-26 20:00:14 +08:00
Lan Liang cd2812e30e Delete the labels of uid.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-18 03:00:19 +00: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
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
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
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
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 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
RainbowMango c47e12a442 bump golangci-lint to v1.55.2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-21 12:34:24 +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
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
jwcesign 947a80e00f cleanup: enable revive(var-naming rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-10 12:15:03 +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
whitewindmills 10f9fdd794 clean up deprecated codes
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-01-05 18:11:21 +08:00
whitewindmills 70d18106bc Replace distribution/distribution dependencies
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-01-03 15:47:23 +08:00
jwcesign cfd88926dd feat: report event when the service doesn't exist/when endpointslice api is disabled
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-19 18:19:26 +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 e2c6ece93a
Merge pull request #4371 from CharlesQQ/proxy-fix
fix(util/proxy): fix tls.config when secret.spec.caBundle is nil
2023-12-09 14:16:07 +08:00
karmada-bot 33fdf5225f
Merge pull request #4094 from ctripcloud/fix-binding-status-error-rate
Use Patch() when binding-status controller update workload's status
2023-12-09 10:11:06 +08:00
chang.qiangqiang fca22c2821 fix(util/proxy): fix tls.config when secret.spec.caBundle is nil
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2023-12-06 15:19:09 +08:00
jwcesign cb6508b7ad feat: dispatch eps to the newly joined consumption clusters
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-05 20:20:52 +08:00
karmada-bot 0b1681ed83
Merge pull request #4360 from Rains6/dev-mcs-zhc
feat: sync mcs work when cluster joined or unjoin
2023-12-05 17:36:03 +08:00
HongCen 8277a985b0 List&watch cluster creation/deletion, reconcile the work in the corresponding cluster execution namespace
Signed-off-by: HongCen <zhouhongcen1@huawei.com>
2023-12-04 17:06:08 +08:00
changzhen ad39b16c11 make cleanup with constants
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-12-04 11:14:33 +08:00
karmada-bot 27a3e54b5b
Merge pull request #4344 from zhzhuang-zju/license
correct the license in the lifted directory
2023-12-01 09:52:00 +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 ffed3f3b33 feat: clean the endpointslice if the current cluster is not in the mcs consumption clusters
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 20:26:20 +08:00
zhzhuang-zju 5e99881e59 correct the license in the lifted directory
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2023-11-30 20:21:36 +08:00
jwcesign 5932615cba feat: support mcs with native svc name
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 15:55:15 +08:00
z00623291 33ae852fa0 List&watch mcs and service, reconcile the work in execution namespace
Signed-off-by: z00623291 <zhouhongcen1@huawei.com>
2023-11-29 17:50:26 +08:00
karmada-bot 55547b2acf
Merge pull request #4199 from jwcesign/add-id-label
feat: add resource id label
2023-11-23 10:44:52 +08:00
karmada-bot 176d778762
Merge pull request #4254 from chaunceyjiang/cluster_proxy
feat: Cross-cluster unified query
2023-11-22 20:21:52 +08:00
chaunceyjiang 6ea7910d3a feat: Cross-cluster unified query
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
Co-authored-by: changzhen <changzhen5@huawei.com>
2023-11-22 19:19:20 +08:00
karmada-bot 4fe9dff3a8
Merge pull request #4204 from zhy76/copyright
feat: add license and verify license for code file
2023-11-22 10:23:52 +08:00
jwcesign 7e6387e98f feat: add resoruce id label
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-20 11:07:11 +08:00
RainbowMango 2f39163615 Nominate code owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-11-20 10:39:38 +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
karmada-bot 3dac48bd81
Merge pull request #4219 from chaosi-zju/feat-random
implementation : divide replicas by static weight evenly
2023-11-15 21:47:47 +08:00
chaosi-zju 4241e88085 implementation of divide replicas by static weight evenly
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-11-15 14:47:01 +08:00
lxtywypc e2fac02e2c only update necessary part of binding status
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-11-13 17:09:04 +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
zach593 d423206837 update details and UT
Change-Id: I68a9b2d293c35e10f287fdc4a625ded3da4848ba
Signed-off-by: zach593 <zach_li@outlook.com>
2023-11-06 13:41:20 +08:00
jwcesign 473b2beb61 feat: add ca to check the validation of the server certificate
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-10-26 19:24:08 +08:00
zach593 8520227897 improve update workload status error rate too high
Change-Id: I531e40fa99e657af3c060e59c13c47a835356274
Signed-off-by: zach593 <zach_li@outlook.com>
2023-10-20 10:28:07 +08:00
karmada-bot 70e2e1ca71
Merge pull request #4080 from ctripcloud/remove-max-retry
remove unnecessary maxRetry for AsyncWorker
2023-10-10 17:29:19 +08:00
chaosi-zju a4828cc410 retain for hpa controlled Deployment resource
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-21 19:44:01 +08:00
lxtywypc 54c14360aa remove unnecessary maxRetry for AsyncWorker
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-09-21 16:19:59 +08:00
chaosi-zju 19c63fca28 remove insecureSkipTLSVerify in UT test
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-13 15:07:45 +08:00
changzhen 734cf3ab8f fix depndencies lua scrpit bug
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-09-05 17:36:24 +08:00
karmada-bot 44d57c94bc
Merge pull request #4018 from whitewindmills/words_check
fix spelling errors
2023-09-04 11:40:14 +08:00
whitewindmills c8423cb237 fix spelling errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-09-04 10:22:39 +08:00
changzhen 2e3c2e5e9b fix karmada can not execute exec command with proxy url and header
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-09-03 16:09: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
karmada-bot 90235bb72b
Merge pull request #4010 from whitewindmills/deprecated-zone-rs
adopt zones in resource selector
2023-08-29 17:36:42 +08:00
whitewindmills 2fd56bb291 adopt zones in resource selector
match zones

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-28 17:25:45 +08:00
karmada-bot b852552ed1
Merge pull request #4007 from jwcesign/add-uid-label
feature: Add the UID of the owner resource in labels and include the details in annotations.
2023-08-28 15:13:07 +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
whitewindmills d0ef3343ae deprecate cluster-zone flag and introduce cluster-zones flag
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-25 11:02:29 +08:00
karmada-bot 19fbab565a
Merge pull request #3939 from chaunceyjiang/serviceimport
feat: Refactor the mechanism for propagating serviceexport derived svc and eps.
2023-08-22 15:50:02 +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
chaunceyjiang 2c55f10641 feat: Refactor the mechanism for propagating serviceexport derived svc and eps.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-08-18 16:04:35 +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
vie-serendipity ec6a83c2ad improve overridemanager test
Signed-off-by: vie-serendipity <2733147505@qq.com>
2023-08-15 19:28:00 +08:00
karmada-bot 8680ff333f
Merge pull request #3811 from chaunceyjiang/label_selector
feat: Introduce a LabelSelector field to DependentObjectReference
2023-08-09 15:56:50 +08:00
chaunceyjiang e17eb1a595 feat: Introduce a LabelSelector field to DependentObjectReference
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-08-09 12:14:56 +08:00
wulixuan ac04a7b73d fix unable to sync list result
Signed-off-by: wulixuan <wulixuan@bilibili.com>
2023-08-07 19:20:44 +08:00
karmada-bot e5277b6317
Merge pull request #3879 from whitewindmills/detector-resource
fix bug: avoid updating directly cached resource template
2023-08-03 17:22:45 +08:00
whitewindmills 909ba8527a avoid updating directly cached resource template
for clean up policy

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-03 14:59:54 +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
chaunceyjiang 1f3bf9e423 fix: fix dependent resources being created and deleted repeatedly when the dependent resource has a status field.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-08-02 14:57:34 +08:00
lxtywypc fad172d4e9 use ClusterCacheSyncTimeout for resources on fed control plane as well
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-08-01 18:22:06 +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
RainbowMango 4ee4b22f05 Adopt Kubernetes breaking changes: PR 113542 which require singular names for core types
Adopt breaking change of contriller-runtime PR 2122
Adopt breaking change of contriller-runtime PR 2296
Adopt breaking change of controller-runtime PR 2139
Adopt breaking change of controller-runtime PR 2135
Adopt breaking change of Kubernetes PR 116218
Adopt breaking change of controller-runtime PR 2149
Adopt breaking change of controller-runtime PR 2150
Adopt breaking change of controller-runtime PR 2134
Adopt breaking change of controller-runtime PR 2293
Adopt breaking change of controller-runtime PR 2144
Adopt k8s feature: watch list. PR 115402
Adopt breaking change of Kubernetes PR 117102
Adopt Kubernetes change: disable staticcheck
Fix unit tests that failure due to fake-client behavior changes.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-29 16:47:38 +08:00
zhy76 8c25212197 feat: Add label on the namespace created by karmada
Signed-off-by: zhy76 <958474674@qq.com>
2023-07-28 06:41:50 +00:00
karmada-bot f160ea7854
Merge pull request #3837 from whitewindmills/priority_preemption
feat: implement propagation policy priority preemption
2023-07-27 09:31:38 +08:00
whitewindmills d487e2cb0c implement propagation policy priority preemption
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-26 18:51:00 +08:00
karmada-bot 796a6caf62
Merge pull request #3821 from chaosi-zju/mig-dev
feat: realization of ConflictResolution in PP
2023-07-26 08:59:38 +08:00
chaosi-zju 2b060cbf3b feat: realization of ConflictResolution in PP.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-07-25 20:23:37 +08:00
karmada-bot 0d50f598f8
Merge pull request #3829 from whitewindmills/preemption-validation
feat: validate resourceSelectors if Preemption is enabled
2023-07-24 19:30:36 +08:00
whitewindmills 268498a3e5 validate resourceSelectors if Preemption is enabled
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-24 17:09:28 +08:00
karmada-bot 58e99de779
Merge pull request #3826 from jwcesign/allow-custom-metrics
feat: allow custom metrics configuration of FederatedHPA
2023-07-24 09:23:36 +08:00
jwcesign 26ed43eec4 feat: allow custom metrics configuration of FederatedHPA
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-21 17:19:36 +08:00
RainbowMango dec4e42101 refactor cached restmapper based on Kubernetes restmapper
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-20 15:24:32 +08:00
karmada-bot d27faeac95
Merge pull request #3613 from zishen/master
update lifted files to k8s 1.26
2023-07-19 10:38:32 +08:00
karmada-bot 2a314eb46e
Merge pull request #3631 from Poor12/test
Implement proxy headers of cluster API
2023-07-18 11:20:31 +08:00
Tanggui Bian 2390cde5f8 update lifted files to k8s 1.26
Signed-off-by: Tanggui Bian <softwarebtg@163.com>
2023-07-17 17:07:13 +08:00
Poor12 8911cffa2b implement proxy headers
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-07-17 16:41:01 +08:00
zishen b7e6826abc update some lift file logical
Signed-off-by: zishen <softwarebtg@163.com>
2023-07-15 16:48:42 +08:00