Commit Graph

364 Commits

Author SHA1 Message Date
jwcesign ecfec33ec3 Add label "namespace.karmada.io/skip-auto-propagation" to control whether to propagate ns to member clusters
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-10-29 11:35:38 +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
stingshen e5d156dd61 check if cluster ImpersonatorSecretRef is nil before using it
Signed-off-by: stingshen <stingshen@126.com>
2022-10-26 12:36:28 +08:00
Poor12 047b2fb7ae fix a typo about events
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 20:42:23 +08:00
chaunceyjiang f865e5542c Put chaunceyjiang onto the controllers and resourceinterpreter reviewers list
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-10-19 09:47:04 +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
Garrybest 92d8c69d46 stop publish duplicated event
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-09-23 10:43:59 +08:00
changzhen 9387ab3fe7 Use Cluster secret ref namespace in unified-auth-controller when generate ClusterRoleBinding
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-16 15:23:56 +08:00
karmada-bot 90a51fe76f
Merge pull request #2383 from Poor12/improve-informer
adopt transform func to reduce memory usage
2022-08-30 20:38:59 +08:00
Poor12 2e3e816ba2 Use transform func to save memory when large cluster
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-30 19:21:09 +08:00
karmada-bot c769381c28
Merge pull request #2427 from chaunceyjiang/join_taint
Add NotReady taint to the new cluster
2022-08-27 10:07:56 +08:00
changzhen e90edb23a5 Perceiving the health status of cluster scheduling results in graceful evictions
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-26 15:14:29 +08:00
changzhen cab85d967e fix error of reflectStatus failed when call resourceInterpreter
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-26 14:08:33 +08:00
chaunceyjiang 403c384b0f Add NotReady taint to the new cluster
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-08-26 11:49:53 +08:00
karmada-bot bceea1635c
Merge pull request #2402 from Poor12/2367
Make changes to cluster-status-controller to adopt cluster resource models
2022-08-25 10:18:52 +08:00
Poor12 18c625e6a6 update cluster-status-controller to adopt cluster resource models
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-24 17:45:54 +08:00
changzhen afca732825 reflect health status for recording the healthy state of the current resource running in the member cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-24 17:27:56 +08:00
yusank d1617303a4 feat: sync cluster level resource status #2394
Signed-off-by: yusank <yusankurban@gmail.com>
2022-08-22 10:16:53 +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
jingxueli b3ca4c2ee8 make buildInformerForCluster configurable
Signed-off-by: jingxueli <jingxueli@trip.com>
2022-08-16 21:03:09 +08:00
RainbowMango 8bb253a483 Start lease controller with separated context.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-16 11:15:57 +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
changzhen 135efdb4a5 add grace-eviction-controller to evict cluster workload
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-15 09:34:47 +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
RainbowMango 2673a991d2 Add graceful eviction helper function and perform
graceful eviction only when feature gate is on.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 09:43:07 +08:00
changzhen b6c7320f70 make changes to binding-controller to adopt graceful eviction
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-05 16:43:47 +08:00
karmada-bot 393bf843de
Merge pull request #2315 from yy158775/workstatus_sync
stop update status if Work object in terminating state
2022-08-04 15:37:05 +08:00
yy158775 e26c0880cd don't collect status data when the work to be deleted
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-04 14:29:39 +08:00
karmada-bot 7097347d86
Merge pull request #2311 from weilaaa/optimize_unstructured_convert_methods
optimize unstructured convert methods
2022-08-04 14:16:01 +08:00
weilaaa 4ed701069d optimize unstructured convert methods
Signed-off-by: weilaaa <weilanidaye@gmail.com>
2022-08-04 11:38:25 +08:00
Garrybest 048caaa908 cleanup event in execution_controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-03 16:43:33 +08:00
AllenZMC 2f5178f88f add ut for binding/common
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-01 23:42:01 +08:00
karmada-bot b860ba56c7
Merge pull request #2263 from zirain/namespace-cop
support ClusterOverridePolicy in namespaces_sync_controller
2022-07-29 16:30:54 +08:00
hejianpeng c038cdd127 support ClusterOverridePolicy in namespaces_sync_controller
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-07-28 11:00:32 +08:00
RainbowMango dcbf8d2b96 Introduce RemoveCluster for ResourceBinding and ClusterResourceBinding
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-27 17:21:41 +08:00
karmada-bot 02836f928d
Merge pull request #1854 from likakuli/feature_notreadytaint
feat: use taint instead of condition to filter cluster
2022-07-22 16:57:48 +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
karmada-bot d626fcc7cf
Merge pull request #1945 from Garrybest/pr_taint
add NoExecute taint manager
2022-07-18 16:26:43 +08:00
Garrybest e39c5844a7 add option and feature gate for taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 16:29:43 +08:00
AllenZMC b7a05f72e5 add ut for binding/common
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-07-15 15:43:04 +08:00
Garrybest 1d2028b10f add taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 10:42:38 +08:00
calvin0327 532b22f80d cleanup federated resource quota
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-07-08 09:55:22 +08:00
karmada-bot 753d3df43e
Merge pull request #2081 from hanweisen/fixbug
avoid required label override by overridepolicy
2022-07-02 18:05:31 +08:00