Commit Graph

2369 Commits

Author SHA1 Message Date
karmada-bot 0d17a0a542
Merge pull request #3876 from whitewindmills/replica-interpreter
feat: add pod replica interpreter
2023-08-10 09:36:50 +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 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
karmada-bot 13935e0484
Merge pull request #3908 from WulixuanS/fix/transform
fix unable to sync list
2023-08-09 11:54:49 +08:00
karmada-bot 241c9b40be
Merge pull request #3909 from chaosi-zju/resourceinterpreter
update validate-resourceinterpretercustomization webhook timeout from 3s to 10s
2023-08-08 09:44:49 +08:00
chaosi-zju a4f8c997d1 update validate-resourceinterpretercustomization webhook timeout from 3s to 10s
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-08-07 19:38:20 +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
whitewindmills a061740bb9 add mcs validation ut
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-07 11:13:10 +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
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
karmada-bot f72fd7fc9a
Merge pull request #3885 from chaunceyjiang/ingress
Add a Ingress to the default dependencinterpreter
2023-08-03 09:40:50 +08:00
karmada-bot d80cad4302
Merge pull request #3868 from chaunceyjiang/fix_dependencies
fix: fix dependent resources being created and deleted repeatedly when the dependent resource has a status field.
2023-08-02 17:47:44 +08:00
chaunceyjiang 72b5af2980 Add a Ingress to the default dependencinterpreter
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-08-02 17:47:31 +08:00
karmada-bot 946fc72fad
Merge pull request #3867 from whitewindmills/preempt-metrics-events
feat: add metrics and events for policy preemption
2023-08-02 15:33:45 +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
karmada-bot a2dc2e8bbb
Merge pull request #3874 from ctripcloud/enable-cache-sync-timeout-on-fed
use ClusterCacheSyncTimeout for resources on fed control plane as well
2023-08-02 11:24:44 +08:00
whitewindmills 10b644f317 add pod replica interpreter
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-01 21:30:13 +08:00
whitewindmills f26a31fc11 add metrics and events for policy preemption
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-01 20:57:15 +08:00
karmada-bot d916d877a4
Merge pull request #3827 from XiShanYongYe-Chang/cleanup-dependencies-distributor
Make some cleanup in dependencies distributor
2023-08-01 19:05:44 +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
karmada-bot 71584bca33
Merge pull request #3845 from whitewindmills/policy-preemption
feat: implement preemption between propagation policies
2023-07-31 19:57:49 +08:00
karmada-bot 89880c8153
Merge pull request #3855 from whitewindmills/hpa-unit
ut: add cron-fhpa validation unit-test
2023-07-31 18:41:42 +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
whitewindmills 272e4b548c implement preemption between propagation policies
pp preempts cpp

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-31 17:20:43 +08:00
changzhen 46204117e1 cleanup dependencies distributor
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-07-31 16:47:26 +08:00
karmada-bot 4488898b16
Merge pull request #3833 from liangyuanpeng/update_etcd_3.5.9
etcd:Update version to 3.5.9
2023-07-31 15:57:43 +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
whitewindmills b23449245d add cron-fhpa validation unit-test
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-31 09:54:17 +08:00
karmada-bot 9311a25fe7
Merge pull request #3863 from jwcesign/add-validation-cronfhpa
fix: fix bugs about validation of targetMinReplicas<=targetMaxReplicas and CronFederatedHPA status record
2023-07-31 09:32:42 +08:00
RainbowMango 3f5c9073ab Update vendor
Update auto-generated files

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-29 16:47:38 +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
karmada-bot 04d2ef17d8
Merge pull request #3862 from ikaven1024/fix-ut
fix ut in TestMultiClusterCache watch
2023-07-29 15:11:40 +08:00
yingjinhui fda27d96bb fix ut in TestMultiClusterCache watch
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2023-07-29 13:38:46 +08:00
karmada-bot ee3fa49ac0
Merge pull request #3839 from zhy76/label
feat: Add label on the namespace created by karmada
2023-07-29 10:19:40 +08:00
karmada-bot 85a4f50d27
Merge pull request #3853 from whitewindmills/non-workload
feat: avoid calculating available replicas for non-workload
2023-07-28 17:52:40 +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
whitewindmills 5a8d60c889 avoid calculating available replicas for non-workload
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-28 10:34:32 +08:00
chaunceyjiang 3274d64927 fix: When the PP is deleted, the propagationpolicy.karmada.io/name label in the resource template's labels is not removed.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>

fix: When the PP is deleted, the propagationpolicy.karmada.io/name label in the resource template's labels is not removed.

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-07-27 18:09:00 +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
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 683af576ce
Merge pull request #3831 from jwcesign/add-validation-cronfhpa
feat: add more validation for CronFederatedHPA
2023-07-25 15:26:37 +08:00
Lan Liang e5babfebca etcd:Update version to 3.5.9
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2023-07-25 14:51:44 +08:00
jwcesign ee4b250067 feat: add more validation for CronFederatedHPA
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-24 20:33:26 +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 6ef427a98e
Merge pull request #3828 from Poor12/add-feature-gate
Add feature gate for policy preemption
2023-07-24 10:39:36 +08:00
Poor12 1e1d67a686 add feature gate for policy preemption
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-07-24 09:27:33 +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
karmada-bot 822caab526
Merge pull request #3819 from RainbowMango/pr_refactor_cached_restmapper
build cached restmapper based on Kubernetes restmapper
2023-07-23 09:46:41 +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
RainbowMango ae3f793358 Add conflict resolution API to PP and CPP
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-19 16:47:47 +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
karmada-bot 71de1644f7
Merge pull request #3741 from whitewindmills/schedule-condition
feat: optimize scheduling condition semantics
2023-07-18 10:44:31 +08:00
whitewindmills 45c995a9e1 add new schedule condition reason
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-17 18:38:41 +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
karmada-bot f8f82cc215
Merge pull request #3792 from zishen/lifted-update
update lifted file requestinfo.go logical
2023-07-17 15:30:30 +08:00
karmada-bot bc2c443f08
Merge pull request #3795 from jwcesign/fix-metrics-size
fix: reduce the number of metrics by merging entries
2023-07-17 11:32:30 +08:00
zishen b7e6826abc update some lift file logical
Signed-off-by: zishen <softwarebtg@163.com>
2023-07-15 16:48:42 +08:00
changzhen 688809a329 add MultiClusterService API to api swagger doc
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-07-15 15:09:05 +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 122d6c0904 Proposing PropagationPolicy Preemption API.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-14 09:03:54 +08:00
karmada-bot 5326e1bc97
Merge pull request #3781 from chaunceyjiang/mcs_port
feat: Change the port of MCS to required.
2023-07-13 11:16:27 +08:00
chaunceyjiang e4adcbe084 cleanup: clarify the meaning when the port of mcs is empty
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-07-12 15:14:52 +08:00
yike21 9079268ebb add validation for mcs
Signed-off-by: yike21 <yike21@qq.com>
2023-07-12 09:21:48 +08:00
karmada-bot dd010b3505
Merge pull request #3754 from chaunceyjiang/webhook
add cronfederatedhpa webhook for karmadactl and karmada-operator
2023-07-06 16:09:22 +08:00
karmada-bot 29dff6ad31
Merge pull request #3756 from RainbowMango/pr_promote_owners
Promote code owners as per community membership
2023-07-05 10:44:20 +08:00
Fish-pro 6ebf40f476 Use SetOut and/or SetErr instead SetOutput
Signed-off-by: Zechun Chen <zechun.chen@daocloud.io>
2023-07-04 17:45:26 +08:00
chaunceyjiang 913d9ce3fe add cronfederatedhpa webhook for karmadactl and karmada-operator
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-07-04 11:12:17 +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
karmada-bot 3909fccf7d
Merge pull request #3729 from jwcesign/cronhpa-imp
feat: Support CronFederatedHPA
2023-07-03 21:38:26 +08:00
jwcesign 068022db24 feat: Support CronFederatedHPA to scale worloads/FederatedHPA at specific time
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-03 20:25:02 +08:00
RainbowMango 2eda32bdbb Nominate FederatedHPA feature owner
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-03 16:44:07 +08:00
karmada-bot dfd12ef55d
Merge pull request #3670 from tedli/refactor-search
refactor search reconciling logic
2023-06-30 23:00:16 +08:00
lizhen6 8fddeea550 refactor search reconciling logic
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-06-30 09:50:41 +08:00
chaunceyjiang 0b86e0de4f fix: when application failover is enabled but propagateDeps is set to false, the failover has no effect.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-29 19:38:15 +08:00
karmada-bot c39856bfe9
Merge pull request #3717 from chaunceyjiang/karmada-metrics-adapter-ctl
feat: karmadactl adds a karmada-metrics-adapter addons.
2023-06-28 12:07:14 +08:00
karmada-bot f267b3dddd
Merge pull request #3644 from XiShanYongYe-Chang/add-MultiClusterService-api
add MultiClusterService API
2023-06-28 11:47:20 +08:00
chaunceyjiang fc975e8e53 feat: karmadactl adds the karmada-metrics-adapter addons.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-28 11:00:30 +08:00
changzhen dc8e1207b8 add MultiClusterService API
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-06-28 09:38:54 +08:00
Lilith McMullen 39c5817a48 fix scheme filename typo
Signed-off-by: Lilith McMullen <lilith.mcmullen@zendesk.com>
2023-06-27 15:58:56 -07:00
karmada-bot b005d5b134
Merge pull request #3712 from RainbowMango/pr_cleanup_federatedhpa_api
cleanup FederatedHPA API
2023-06-27 09:34:13 +08:00
RainbowMango 658eec642e cleanup FederatedHPA API
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-06-26 19:41:12 +08:00
chaunceyjiang 96de7c7f14 fix the Applied of ResourceBinding is always true
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-26 15:18:32 +08:00
karmada-bot 2840f91b3e
Merge pull request #3614 from chaunceyjiang/dependencies
feat: Support modification synchronization of custom resources as dependency
2023-06-26 11:47:17 +08:00
chaunceyjiang a10f895c1e feat: Support modification synchronization of custom resources as dependency
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-26 10:43:51 +08:00
RainbowMango 47e34c30a4 Adding CronFederatedHPA API
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-06-25 17:48:14 +08:00
karmada-bot db9d56c74b
Merge pull request #3673 from Poor12/add-hpa-controller
hpa-controller supports custom metrics
2023-06-21 17:21:49 +08:00
Poor12 eeab59c297 add custom metrics
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-21 15:54:52 +08:00
chaunceyjiang c3a4c26001 fix aggregateCronJobStatus panic
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-20 12:22:48 +08:00