Commit Graph

438 Commits

Author SHA1 Message Date
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
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 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
karmada-bot 24bb582950
Merge pull request #3947 from yanfeng1992/proxy-connect-use-secretLister
Proxy connect get cluster impersonator secret use secretLister
2023-08-18 19:33:57 +08:00
huangyanfeng c30e6e6d09 Proxy connect get cluster impersonator secret use secretLister
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-08-18 09:50:45 +08:00
Tanggui Bian 6401c3e28a add http limit for the Slowloris attack
Signed-off-by: Tanggui Bian <softwarebtg@163.com>
2023-08-17 10:44:54 +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
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 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
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
changzhen 46204117e1 cleanup dependencies distributor
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-07-31 16:47:26 +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 20129ca5cd cleanup: delete old version hpa controller
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-27 17:36:21 +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 0ebb565096
Merge pull request #3748 from RainbowMango/pr_nominate_scaling_owners
Nominate FederatedHPA feature owner
2023-07-04 10:02:19 +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
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
karmada-bot 0febf48bc3
Merge pull request #3638 from chaunceyjiang/custom-metrics
feat: support custom metrics for metrics adapter
2023-06-19 21:10:46 +08:00
chaunceyjiang 70e5260315 feat: support custom metrics for metrics adapte
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-19 16:51:47 +08:00
karmada-bot d5e604c24c
Merge pull request #3130 from yanfeng1992/fix-remove-cluster-re-queue
unjoin cluster check namespace reduce cluster enqueue
2023-06-16 11:41:50 +08:00
huangyanfeng da234809fc add ExecutionSpaceRetryFrequency to reduce cluster requeue
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-06-12 20:01:49 +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 0789c83cfa
Merge pull request #3511 from ctripcloud/concurrent-pp
enable concurrency for pp and cpp
2023-05-17 18:33:53 +08:00
changzhen c04fd6ad62 add validation for mci
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-05-12 15:49:50 +08:00
zach593 8d221b110c enable concurrency for pp and cpp
Signed-off-by: zach593 <zach_li@outlook.com>
2023-05-10 16:10:51 +08:00
Poor12 d06fe2b5b3 add application failover controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-06 10:36:54 +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
karmada-bot ed2b101c44
Merge pull request #2999 from ctripcloud/update-resolver
Support Connection to ResourceInterpretWebhook without DNS Service
2023-04-20 16:36:13 +08:00
chaunceyjiang 593264e2c6 Allows setting wildcards for SkippedPropagatingNamespaces
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-19 13:16:06 +08:00
lxtywypc 71ffbf429a use ClusterIPServiceResolver instead of DefaultServiceResolver to eliminate dependency of DNS
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-04-17 10:42:43 +08:00
RainbowMango 0ee519e87f Set aggregatedapiserver owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-03-23 17:22:39 +08:00
changzhen eecadfd43a add bindingStatus controller to aggregate work status and update the
status of resource template

Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-23 16:08:36 +08:00
Poor12 b1f3476b51 clean up unused values
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-03 10:00:47 +08:00
changzhen b311b376de added the statement for disabling metrics
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-02 15:22:21 +08:00
Poor12 b9e32de35d add schedulerName validation
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-01 14:47:42 +08:00
Poor12 bec9ca1f6a Support multiple schedulers
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-01 12:00:40 +08:00
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
zhuzhenghao 3104761c38 Update wrong usage for flag --metrics-bind-address
Signed-off-by: zhuzhenghao <zhenghao.zhu@daocloud.io>
2023-01-28 16:02:09 +08:00
karmada-bot 9fc1a124b5
Merge pull request #3066 from XiShanYongYe-Chang/add-ut-for-strategy
Add ut for cluster registry
2023-01-28 14:32:17 +08:00
changzhen e070ad779c add ut for cluster registry
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-01-28 09:11:44 +08:00
yanggang ee37b7f594
fix wrong note for webhook --metrics-bind-address
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-01-26 11:06:42 +08:00
王凯 3b9b609072 modify description for flag usage #3038
Signed-off-by: 王凯 <wangkai05@bilibili.com>
2023-01-10 20:02:39 +08:00
Garrybest 8312a60759 cleanup pkg import in main function
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-30 15:40:26 +08:00
karmada-bot a20dd6e630
Merge pull request #2935 from jwcesign/code-review-fix-v2
Delete the redundant logic in func GenerateExecutionSpaceName
2022-12-29 15:39:50 +08:00
chen zechun 83d43235e8 Uniform error log output starts with uppercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
jwcesign 8acd1a4503 Delete the redundant logic in func GenerateExecutionSpaceName
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-28 15:59:24 +08:00
Garrybest c747cbcce7 clean up metrics for scheduler, descheduler and estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-12 17:35:49 +08:00
Poor12 b86c385fe8 start gracefulEviction controller when failover is close
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-12 09:18:32 +08:00
yingjinhui 45d85bb46c add metrics for pool
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-05 20:34:23 +08:00
karmada-bot 84b971a501
Merge pull request #2773 from Poor12/add-dependencies-event
Add getDependencies and syncScheduleResultToDependencies event
2022-11-29 15:37:11 +08:00
karmada-bot 3f21fc1ab4
Merge pull request #2755 from chaunceyjiang/resourceInterpreter
Implement ResourceInterpreterCustomization ValidatingAdmission
2022-11-28 20:42:17 +08:00
chaunceyjiang 0c16431a51 Implement ResourceInterpreterCustomization ValidatingAdmission
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-28 18:30:43 +08:00
Poor12 7013563291 add metrics for resource
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-28 14:38:22 +08:00
karmada-bot 6ef120f6e1
Merge pull request #2496 from Poor12/controller-metrics
Add metrics for cluster
2022-11-25 09:25:08 +08:00
Poor12 22d372ba79 add metrics for cluster
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-23 16:32:26 +08:00
Poor12 33193b8f9b add getDependencies and syncScheduleResultToDependencies event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-17 11:03:05 +08:00
Poor12 ac6aaa31f1 add override policy event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-09 10:25:23 +08:00
lonelyCZ 3dc11037cc karmadactl join/unjoin use factory to access control plane
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-07 16:02:45 +08:00
yanggang a0a7674d26
reuse context for controller-manager base-context
Signed-off-by: yanggang <gang.yang@daocloud.io>
2022-11-05 18:51:06 +08:00
Garrybest 75a3a91994 add Garrybest as descheduler owner
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-05 11:03:41 +08:00
karmada-bot bd8d734054
Merge pull request #2678 from cmicat/feature/proxy-connector-framework
Add Proxy Framework
2022-10-31 15:55:24 +08:00
raymondmiaochaoyue 7e24783b36 Add proxy framework.
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-10-31 14:50:15 +08:00
Garrybest a0b7ba5d1d leverage scheduler cache to estimate replicas
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-30 22:45:16 +08:00
karmada-bot 5d42e82b7b
Merge pull request #2596 from lonelyCZ/pr-agent-cert-rotation
Implement auto certificate rotation function for karmada-agent
2022-10-27 14:20:20 +08:00
lonelyCZ 0826fca253 Implement the certificate rotation function for karmada-agent
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-10-27 12:56:32 +08:00
karmada-bot a926ca4f49
Merge pull request #2650 from ikaven1024/search-featuregate
add option to disable search and proxy
2022-10-26 15:08:19 +08:00
yingjinhui b7554264ed add feature gate for search and proxy
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-20 15:10:31 +08:00
RainbowMango f5d3d013e6 remove kubeconfig parameter from customized interpreter
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-10-18 16:59:57 +08:00
carlory 23b52270da karmada scheduler & descheduler introduce scheduler-estimator-service-prefix flag
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-10-12 13:53:25 +08:00
karmada-bot 5c46c7caef
Merge pull request #2572 from Poor12/add-command-description
Add component descriptions
2022-10-11 18:24:24 +08:00
Poor12 57a9e41c7a add command descriptions
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-11 17:11:05 +08:00
lonelyCZ 3bcee9db07 Unify the dynamic client name for work_status_controller
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-10-09 10:25:38 +08:00
karmada-bot 427f7d287a
Merge pull request #2594 from RainbowMango/pr_enable_server_timeouts
set ReadHeaderTimeout for http server
2022-10-05 22:22:03 +08:00
RainbowMango 50d01d3ac9 set ReadHeaderTimeout for http server
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-09-30 15:33:25 +08:00
RainbowMango a30b097f9d Put ikaven1024 to approver list
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-09-29 17:21:55 +08:00
dddddai 01f37c160c adopt transform func to save memory
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-09-16 10:43:05 +08:00
changzhen 4049bf8285 don't consider the older cluster when filter with taint_toleration
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-30 20:52:23 +08:00
karmada-bot ba03782acd
Merge pull request #2397 from Poor12/schedule-based-on-model
Schedule based on cluster resource model
2022-08-27 09:52:55 +08:00
Poor12 6493a49874 schedule based on cluster resource model
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-26 17:31:46 +08:00
karmada-bot 15a2fbc403
Merge pull request #2407 from lonelyCZ/pr-fix-agent
Fix it occur error when `karmada-agent` is restarted
2022-08-23 11:22:50 +08:00
lonelyCZ 8ee19bc1d0 Fix it occur error when karmada-agent is restarted
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 10:11:01 +08:00
karmada-bot d4692ff4f2
Merge pull request #2389 from ikaven1024/proxy-cache
add proxy cache
2022-08-22 19:33:49 +08:00
yingjinhui 3d8df9c3e0 add proxy cache
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-08-22 18:36:07 +08:00
karmada-bot f6b7511906
Merge pull request #2390 from Poor12/set-default-model-for-cluster
Set default model for cluster
2022-08-19 15:50:46 +08:00
Poor12 d720a5c34f set default model for cluster
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-19 14:53:03 +08:00
karmada-bot 674641c1fa
Merge pull request #2369 from yy158775/id_join
avoid joining the same cluster repeatedly
2022-08-19 14:28:46 +08:00
karmada-bot dd7d70ae6f
Merge pull request #2366 from ikaven1024/feature-proxy
add proxy skeleton
2022-08-18 08:46:45 +08:00
yingjinhui dd1b6e2967 add proxy skeleton
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-08-17 18:55:06 +08:00
RainbowMango 95036ffcda enable node pod list only when needed for better performance
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-17 16:33:38 +08:00
yy158775 23dd9cadcb solve cluster id repeat to join
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-17 12:05:40 +08:00
jingxueli b3ca4c2ee8 make buildInformerForCluster configurable
Signed-off-by: jingxueli <jingxueli@trip.com>
2022-08-16 21:03:09 +08:00
karmada-bot a1785e89b8
Merge pull request #2373 from Garrybest/pr_cluster
remove TargetCluster when cluster is terminating
2022-08-15 20:33:42 +08:00
Garrybest 5658bdb2c3 remove TargetCluster when cluster is terminating
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-15 19:40:13 +08:00
karmada-bot 4dbe338d18
Merge pull request #2377 from Poor12/master
Rename package name of typedmanager
2022-08-15 12:16:41 +08:00
Poor12 1374169fe3 Rename package name of typedmanager
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-15 11:26:30 +08:00