Commit Graph

1553 Commits

Author SHA1 Message Date
Poor12 d0f76e1070 add ut for lifted codes
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-09-29 10:55:54 +08:00
karmada-bot da948ce252
Merge pull request #2554 from lixingchenDaoCloud/remove-redundancy
Remove redundant type conversions
2022-09-29 10:34:56 +08:00
karmada-bot 6941012e9e
Merge pull request #2550 from wuyingjun-lucky/m_test
introduce karmada-apiserver-advertise-address
2022-09-29 09:57:02 +08:00
lixingchenDaoCloud 1bf4fb8a86 Remove redundant type conversions
Signed-off-by: lixingchenDaoCloud <captainchina_li@163.com>
2022-09-28 23:25:59 +08:00
karmada-bot 4504030c05
Merge pull request #2574 from cmicat/feature/deloy-scheduler-estimator-in-physical-machine
Support Deploy karmada-scheduler-estimator in Physical Machine
2022-09-28 11:06:56 +08:00
karmada-bot fc196abf89
Merge pull request #2581 from my-git9/utversion5
add ut for pkg/version/version.go
2022-09-28 08:51:56 +08:00
xin.li b1315e4ab1 add ut for pkg/version/version.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-09-27 21:26:07 +08:00
xin.li 5cc3d9f5ab Add livenesProbe for karmada-aggregated-apiserver
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-09-26 21:05:55 +08:00
raymondmiaochaoyue f4fc3d1480 1. Support deploy karmada-scheduler-estimator in physical machine.
2. remove unnecessary sudo

Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-09-26 16:25:16 +08:00
changzhen 5ee9f6776e fix 2392: replace colon with point in the rbac resource name
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-26 10:10:56 +08:00
wuyingjun 56afd0b493 introduce karmada-apiserver-advertise-address
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-09-23 16:47:04 +08:00
karmada-bot ed13e664d9
Merge pull request #2539 from jwcesign/master
Update karmada's k8s components to 1.25.2
2022-09-23 14:17:58 +08:00
Garrybest 92d8c69d46 stop publish duplicated event
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-09-23 10:43:59 +08:00
jwcesign d8a35e2d9a Update helm install karmada with k8s 1.25.1
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-23 10:37:40 +08:00
jwcesign a6d26b287d Update k8s dependency to latest version(1.25.1) for karmadactl
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-22 15:49:57 +08:00
karmada-bot 6102f41e81
Merge pull request #2548 from jwcesign/fix-dir-lost
karmadactl: Fix karmada-data directory not inilization isssue
2022-09-22 12:12:51 +08:00
jwcesign cdaa9344f0 Fix bugs about karmada-data dir lost
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-22 11:23:45 +08:00
karmada-bot 91e4e729f1
Merge pull request #2540 from helen-frank/fix/deinitHelp
`karmadactl`: Fixed options of `deinit` can not be shown issue.
2022-09-22 10:07:56 +08:00
karmada-bot ab889889fa
Merge pull request #2547 from jwcesign/fix-service-account
Delete service-account for karmada-controller-manager
2022-09-20 20:10:49 +08:00
jwcesign 6cc0d957fc Delete service-account for karmada-controller
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-20 14:44:17 +08:00
jeffeylan 63c189b381 Fix a typo(Registeration) in CLI #2543
Signed-off-by: jeffeylan <jeffreyliutao@didiglobal.com>
2022-09-20 14:29:37 +08:00
helen 9d9e0ec9e6 deinit help fix
Signed-off-by: helen <helenfrank@protonmail.com>
2022-09-20 00:11:12 +08:00
karmada-bot 516e09508e
Merge pull request #2524 from chaunceyjiang/sa
propagate dependencies support propagate sa
2022-09-19 19:34:48 +08:00
Garrybest b19cdb1031 add scheduling diagnosis
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-09-18 17:04:54 +08:00
carlory b987910a6b remove service accounts for karmada components except for karmada-agent
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-17 23:14:41 +08:00
karmada-bot 25af090405
Merge pull request #2511 from carlory/fix-karmada-controllermanager
karmada-controller-manager removes unnecessary permissions
2022-09-17 22:56:47 +08:00
chaunceyjiang 92fff3163d propagate dependencies support propagate sa
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-09-17 18:21:17 +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 62a4b4391f
Merge pull request #2089 from dddddai/transform
Adopt transform func to save memory
2022-09-16 11:51:49 +08:00
karmada-bot 7a6b17f6e7
Merge pull request #2450 from duanmengkk/fix_v6_error
fix karmadactl init pending when k8s is in ipv6 mode
2022-09-16 11:34:54 +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 1af078cd4a
Merge pull request #2515 from lonelyCZ/pr-agent-create-works
Fix that the ServiceExport can't be reported to control plane by karmada-agent
2022-09-15 09:01:18 +08:00
lonelyCZ 111c74191e Fix that the ServiceExport can't be reported to control plane by karmada-agent
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-09-14 17:51:27 +08:00
karmada-bot c2ac9c2e30
Merge pull request #2497 from helen-frank/fix/CmdInitEmptyArgs
cmdinit prohibit passing in additional parameters
2022-09-14 17:25:20 +08:00
helen cc55931656 Prohibit passing in additional parameters
Signed-off-by: helen <helenfrank@protonmail.com>
2022-09-14 10:42:48 +08:00
carlory c247537d66 karmada-controller-manager removes unnecessary permissions
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-13 21:22:06 +08:00
karmada-bot ac2e905356
Merge pull request #2471 from carlory/karmadactl-describe
karmadactl describe uses factory to access member cluster
2022-09-12 23:36:15 +08:00
karmada-bot d0149d8fa3
Merge pull request #2491 from panguicai008/fix-karmadactl-init
fix MEMBER_CLUSTER_NAME command usage
2022-09-09 18:13:11 +08:00
karmada-bot fdb13bedaa
Merge pull request #2489 from Poor12/fix-pod-lister
Fixed pod can not be collected issue when building resource summary
2022-09-09 17:15:12 +08:00
panguicai008 2dd2dfc6ec fix MEMBER_CLUSTER_NAME command usage
Signed-off-by: panguicai008 <1121906548@qq.com>
2022-09-09 14:06:33 +08:00
karmada-bot abc0f7c75b
Merge pull request #2481 from ikaven1024/pr-metrics
add native resource metrics in proxy
2022-09-09 11:19:12 +08:00
Poor12 133db50754 fix pod lister only list a pod
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-09-09 09:27:33 +08:00
karmada-bot 665af6916a
Merge pull request #2483 from ikaven1024/fix-map-panic
fix concurrent map writes panic while list via proxy
2022-09-08 14:18:11 +08:00
karmada-bot 707ae14cb9
Merge pull request #2298 from carlory/karmadactl-options
disable flags in use line
2022-09-08 09:45:11 +08:00
carlory 682924be23 karmadactl describe uses factory to access member cluster
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-08 00:16:00 +08:00
yingjinhui 178c4ae5c1 fix concurrent map writes panic while list via proxy
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-09-07 20:32:28 +08:00
karmada-bot 958f381a54
Merge pull request #2469 from ikaven1024/pr-cluster-anno
add cache source annotation for objects returned by proxy
2022-09-07 17:54:09 +08:00
yingjinhui 6a4674bc50 add native resource metrics in proxy
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-09-07 16:32:06 +08:00
yingjinhui a9fcfa2ecd add cache source annotation for objects returned by proxy
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-09-07 15:48:14 +08:00
karmada-bot 49fd8180c8
Merge pull request #2470 from carlory/karmadactl-exec
karmadactl exec uses factory to access member cluster
2022-09-06 20:37:08 +08:00
carlory fea61dad3f disable flags in use line
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-06 11:10:45 +08:00
xin.li 854ba1dfac improve karmada init help output
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-09-05 13:22:20 +08:00
carlory d17ac13964 karmadactl exec uses factory to access member cluster
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-05 01:25:26 +08:00
karmada-bot fd1c0b2ebc
Merge pull request #2202 from carlory/karmadactl-factory
introduce factory interface for karmadactl
2022-09-02 15:21:02 +08:00
wuzhongjian 9982852b59 Add default path prompt for deinit to delete etcd data
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-09-02 09:10:29 +08:00
carlory eb31ff4740 karmadactl logs uses factory to access member cluster
Signed-off-by: carlory <baofa.fan@daocloud.io>

Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2022-09-01 22:42:24 +08:00
carlory 44e3c5e351 introduce factoryexpansion interface for karmadactl
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-01 09:33:54 +08:00
changzhen 8b4eb7b310 fix bug of #2447: when replicaDivisionPreference is Weighted and WeightPreference is nil
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-30 21:51:50 +08:00
karmada-bot 102ac7de39
Merge pull request #2449 from XiShanYongYe-Chang/adjust-taint-toleration-filter
[karmada-scheduler] don't consider the older cluster when filtering with taint_toleration
2022-08-30 21:50:59 +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 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
duanmeng bd6b872a8d fix karmadactl init pending when k8s is in ipv6 mode
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-08-30 18:55:27 +08:00
karmada-bot 41615f8783
Merge pull request #2294 from chaunceyjiang/ttl
No need to propagate ttlsecondsafterfinished
2022-08-29 12:34:57 +08:00
chaunceyjiang 83c91ac909 No need to propagate ttlsecondsafterfinished
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-08-29 11:22:15 +08:00
chaunceyjiang 90ce5e004e Reschedule ResourceBinding when adding a cluster
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-08-27 11:01:25 +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
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 7839539383
Merge pull request #2430 from lonelyCZ/pr-fix-agent-rbac
failed to remove cluster which is registered by karmadactl register command
2022-08-26 17:29:53 +08:00
lonelyCZ 83cd8cd9bc Fix it is error to delete member clusters
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-26 15:48:21 +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 f70fe8a0e6
Merge pull request #2415 from Garrybest/pr_pv
retain PersistentVolume fields
2022-08-26 09:27:54 +08:00
karmada-bot 54d0a2d07a
Merge pull request #2409 from lonelyCZ/pr-init-print
Optimize `karmadactl init` to output example
2022-08-25 16:36: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
karmada-bot 23ec2afa8b
Merge pull request #2410 from XiShanYongYe-Chang/reflect-work-health-status
Reflect health status for recording the healthy state of the current resource
2022-08-24 18:16:53 +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
karmada-bot b6cd15905f
Merge pull request #2413 from ikaven1024/proxy-fix
fix some problems in proxy
2022-08-24 14:42:52 +08:00
yingjinhui 0128c84f72 creating member cluster resource via proxy should returns MethodNotSupported
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-08-24 12:17:06 +08:00
yingjinhui 2b7ed24875 [fix] get resource from proxy should not modify data in cache
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-08-24 12:04:22 +08:00
karmada-bot 5c79b11661
Merge pull request #2388 from lonelyCZ/pr-register-pull
Implement `karmdactl register` for joining clusters with PULL mode
2022-08-24 11:33:51 +08:00
karmada-bot aa2419cb1f
Merge pull request #2367 from halfrost/cluster-resource-modeling
Cluster resource modeling
2022-08-23 20:45:50 +08:00
lonelyCZ a4a612e9bb Optimize karmadactl init to output example
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 19:28:41 +08:00
Garrybest 7b7428fb9e retain PersistentVolume fields
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-23 18:04:33 +08:00
halfrost 5b1265e994 Add modeling implement
Signed-off-by: halfrost <ydz627@gmail.com>
2022-08-23 01:56:36 -07:00
karmada-bot 4657282293
Merge pull request #2398 from Poor12/add-cluster-check
add cluster resource model check
2022-08-23 16:26:51 +08:00
lonelyCZ 4b4ca14345 Implement karmadactl register for joining clusters with PULL mode
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 15:41:48 +08:00
Poor12 bdf11c447b add cluster resource model check
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-23 15:37:03 +08:00
karmada-bot d1150abbb9
Merge pull request #2399 from lonelyCZ/pr-karmadactl-token
Implement karmadactl token command to manage bootstrap tokens
2022-08-23 12:41:50 +08:00
lonelyCZ fbc9599510 Implement karmadactl token command to manage bootstrap tokens
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 11:31:00 +08:00
karmada-bot 79e7820dac
Merge pull request #2363 from huntsman-li/fix/issue-2335
fix opensearch mapper_parsing_exception
2022-08-22 20:01:50 +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 cc74041e7f
Merge pull request #2357 from lonelyCZ/pr-join-pull-rbac
Set the required RBAC to enable the certificate signing request
2022-08-22 17:09:49 +08:00
lonelyCZ 59c17d911f Set the required RBAC to enable the certificate signing request
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-22 15:42:54 +08:00
karmada-bot c10e5f6863
Merge pull request #2391 from Garrybest/pr_failover
remove Failover from scheduler
2022-08-22 15:39:49 +08:00
Garrybest ff94289352 remove Failover from scheduler
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-22 14:23:16 +08:00