Commit Graph

495 Commits

Author SHA1 Message Date
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
karmada-bot 5b391e7535
Merge pull request #4338 from ctripcloud/fix-incorrect-fortype
fix incorrect forType in clusterResourceBinding status controller
2023-12-04 11:08:02 +08:00
jwcesign f2810b3dc9 cleanup: make the name unified of mcs
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-02 15:23:15 +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
jwcesign 5932615cba feat: support mcs with native svc name
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 15:55:15 +08:00
lxtywypc f8569d3b37 fix incorrect forType in clusterResourceBinding status controller
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-11-29 19:02:19 +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
chaosi-zju e9e8653c88 resourceModels supports extended resources
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-11-23 19:08:32 +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 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
zhangdiandian 7cef5b8086 fix: The PULL mode cluster cannot be deleted immediately
Signed-off-by: zhangdiandian <1635468471@qq.com>
2023-10-26 13:45:40 +00:00
karmada-bot d6cc5b92e2
Merge pull request #4138 from jwcesign/fix-version-sync
fix: Sync workload's status.observedGeneration if it's updated
2023-10-24 19:52:27 +08:00
halfrost 92ab33ebc0 1. Change modelSortings to be a member variable of ResourceSummary to solve multithreading issues
2. Delete unused functions

Signed-off-by: halfrost <ydz627@gmail.com>
2023-10-23 09:25:09 -07:00
jwcesign e50f414b4f fix: Update workload's status.observedGeneration if it's updated
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-10-17 13:33:56 +08:00
watermeion e5ee1636cf fix fhpa controller panic when SelectPolicy is nil
Signed-off-by: watermeion <watermeion@hotmail.com>
2023-10-09 15:16:06 +08:00
lxtywypc 8a56a8dc34 use status.DesiredReplicas instead of status.CurrentReplicas of HPA to update resource scale
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-09-22 10:20:54 +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 5ae8178ec3 add replicas syncer for resources with HPA
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-09-20 17:29:34 +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
whitewindmills c8423cb237 fix spelling errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-09-04 10:22:39 +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 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
karmada-bot 758a6ceaf0
Merge pull request #3972 from zhy76/metric
feat: add performance metrics for FederatedHPA
2023-08-26 16:23:05 +08:00
jwcesign 67a9802325 fix: do not reconcile when the resoruce generation doesn't change
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-08-25 10:47:39 +08:00
zhy76 d64894c8a6 feat: add performance metrics for FederatedHPA
Signed-off-by: zhy76 <958474674@qq.com>
2023-08-23 07:56:53 +00:00
karmada-bot 273cc9a4dd
Merge pull request #3949 from whitewindmills/CronFederatedHPA_metrics
feat: add cron federated hpa metrics
2023-08-23 10:11:02 +08:00
karmada-bot 3710dc4dab
Merge pull request #3948 from zishen/repair_ut
repair the cluster_status_controller_test
2023-08-21 21:59:01 +08:00
whitewindmills 9e4caa393c add cron federated hpa metrics
cron federated hpa & cron federated hpa rule

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-21 14:38:53 +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
Tanggui Bian bc689e9142 repair the cluster_status_controller_test
Signed-off-by: Tanggui Bian <softwarebtg@163.com>
2023-08-19 18:03:19 +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
zongqingli fe0febbf1f fix federated-hpa plain metric calc
Signed-off-by: zach593 <zach_li@outlook.com>
2023-08-09 16:47: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
karmada-bot 9a862db2be
Merge pull request #3852 from jwcesign/delete-hpa-controller
cleanup: remove old version hpa controller
2023-08-03 09:43:52 +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
karmada-bot 7381933798
Merge pull request #3730 from RainbowMango/pr_update_k8s_v127
Bump Kubernetes dependencies to v1.27.3
2023-07-31 12:29:43 +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
jwcesign 4da22c3f28 fix: fix bugs about validation of targetMinReplicas<=targetMaxReplicas and CronFederatedHPA status
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-29 15:53:17 +08:00
jwcesign 20129ca5cd cleanup: delete old version hpa controller
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-27 17:36:21 +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
jwcesign 4f41da2381 fix: reduce metrics size by merge metrics with different apiVersion/namespace/name
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-14 17:26:05 +08:00
RainbowMango eb0a9bb018 Promote code owners as per community membership
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-04 10:25:10 +08:00
karmada-bot 0ebb565096
Merge pull request #3748 from RainbowMango/pr_nominate_scaling_owners
Nominate FederatedHPA feature owner
2023-07-04 10:02:19 +08:00