Commit Graph

86 Commits

Author SHA1 Message Date
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
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +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
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
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
Poor12 f9f81280dc Cleanup ClusterClientSetFunc field in execution-controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-22 11:38:46 +08:00
Poor12 3ef7798213 Apply cachedRESTMapper for other Karmada components
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-21 19:26:52 +08:00
chang.qiangqiang 5fd569b0d6 feat: add cluster agent register flag
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-07-12 10:15:20 +08:00
charlesQQ 8738617ad0 feat: agent report secret
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-07-07 14:26:07 +08:00
Poor12 3b5fc38a41 add pprof for all Karmada components
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-06 16:39:28 +08:00
chang.qiangqiang 0fc2dcc54c feat: add leader election options
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2022-06-25 19:36:04 +08:00
karmada-bot 61072d117c
Merge pull request #2043 from Poor12/test
Add health probe for Karmada-agent
2022-06-24 16:24:16 +08:00
Poor12 a8af99e31c Add health probe for Karmada-agent
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-06-24 14:15:38 +08:00
karmada-bot b0150fb030
Merge pull request #1989 from ikaven1024/pr-logs
dump controllerruntime's logs to klog
2022-06-23 16:24:15 +08:00
karmada-bot 4c496a3a98
Merge pull request #1884 from dddddai/cluster-status
Add cluster success threshold
2022-06-17 15:46:09 +08:00
yingjinhui e30365cf45 dump controllerruntime's logs to klog
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-06-16 22:56:34 +08:00
dddddai 1ebc680d16 add cluster success threshold
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-06-16 18:02:17 +08:00
charlesQQ fe40364212 feat: agent add metrics-bind-address flag
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-06-13 00:09:54 +08:00
karmada-bot 801d18767b
Merge pull request #1829 from dddddai/cluster-status
Add cluster failure threshold
2022-05-24 18:03:43 +08:00
dddddai 339f431673 add cluster failure threshold
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-05-24 17:22:05 +08:00
wuyingjun 87073c3d78 discard unused param in cmd functions
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-20 11:25:29 +08:00
Garrybest 7107e3934f enhance cluster lifecycle management
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-17 21:17:42 +08:00
changzhen ecc8ddbb02 add ReflectStatus ResourceInterperter interface to grab workload status
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-22 10:08:03 +08:00
Poor12 83be916fa5 fix 1589-disable hpa controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-04-06 10:39:32 +08:00
dddddai e52e02c23a add ratelimiter flags for karmada-agent
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-03-19 15:57:57 +08:00