Commit Graph

114 Commits

Author SHA1 Message Date
whitewindmills 955b5b5862 Standardize the health probe arguments
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-23 10:20:48 +08:00
chaosi-zju b889d26c32 silence the 'log.SetLogger(...) was never called' error
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-06-27 14:33:48 +08:00
zhzhuang-zju 309c67701b bump golangci to v1.58.0
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
chaunceyjiang 6f29134f1e Add QPS related parameters to control the request rate of metrics-adapter to member clusters.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-04-16 10:49:06 +08:00
RainbowMango 5a3fa76b27 Adopt breaking change made by controller-runtime#2407, moving metrics
options.
Adopt breaking change made by controller-runtime#2421, cache filtering
Fix deprecation in customresourceinterpreter webhook example

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-12-29 12:39:24 +08:00
huangyanfeng 22e4f4bb8c cleanup controllerruntime deprecated option SyncPeriod Namespace
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-12-21 10:25:08 +08:00
changzhen 2dba706a76 add MultiClusterService featuregate
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-12-01 00:18:35 +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
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
chaosi-zju b27da00291 remove insecureSkipTLSVerify in operator
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-20 19:47:20 +08:00
zhang.ming 35161ef99d make pull cluster to be able to register with zones
Signed-off-by: zhang.ming <zhang.ming@cestc.cn>
2023-09-16 09:30:00 +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
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
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
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
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
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
changzhen b311b376de added the statement for disabling metrics
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-02 15:22:21 +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
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
yingjinhui 45d85bb46c add metrics for pool
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-05 20:34:23 +08:00
Poor12 7013563291 add metrics for resource
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-28 14:38:22 +08:00
Poor12 22d372ba79 add metrics for cluster
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-23 16:32:26 +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
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
RainbowMango f5d3d013e6 remove kubeconfig parameter from customized interpreter
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-10-18 16:59:57 +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
dddddai 01f37c160c adopt transform func to save memory
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-09-16 10:43:05 +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
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 674641c1fa
Merge pull request #2369 from yy158775/id_join
avoid joining the same cluster repeatedly
2022-08-19 14:28:46 +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
Poor12 1374169fe3 Rename package name of typedmanager
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-15 11:26:30 +08:00
karmada-bot 66af6ef502
Merge pull request #2313 from yy158775/unique_id
add ID the unique identifier for push and pull mode's cluster
2022-08-12 14:57:10 +08:00
yy158775 474933826b add ID the unique identifier for push and pull mode's cluster
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-12 09:37:50 +08:00
charlie 34948b7c09 feat: update the dynamic informer in cluster status controller with typed informer
Signed-off-by: charlie <qianglin98@qq.com>
2022-08-11 13:00:31 +08:00
RainbowMango 8461e4fb8c rename and re-organize the informermanager
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 17:24:23 +08:00
jacky b27bfd6b94 fix uppercase only when it's the comment for exported variable
Signed-off-by: jacky <peng.chen@daocloud.io>
2022-07-25 15:26:37 +08:00
jacky f0ab1dbc50 Comment should start with a whitespace and Uppercase
Signed-off-by: jacky <peng.chen@daocloud.io>
2022-07-25 14:59:23 +08:00