yingjinhui
c024594b02
[ut] add ut for pkg/util/selector.go
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-22 11:22:05 +08:00
lonelyCZ
b2d3bbdf39
karmadactl token uses factory to access cluster
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-10-21 22:20:15 +08:00
karmada-bot
dbb24d3b62
Merge pull request #2589 from helen-frank/feature/getFactory
...
karmadactl get uses factory to access cluster
2022-10-21 21:51:15 +08:00
helen
ffb17f623b
karmadactl get uses factory to access cluster.
...
Signed-off-by: helen <helenfrank@protonmail.com>
2022-10-21 17:33:27 +08:00
helen
619c9b6e1e
karmadactl taint uses factory to access cluster
...
Signed-off-by: helen <helenfrank@protonmail.com>
2022-10-21 15:12:52 +08:00
Poor12
047b2fb7ae
fix a typo about events
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 20:42:23 +08:00
karmada-bot
2a53cf8a4f
Merge pull request #2662 from jwcesign/add-ut-v2
...
UT: add ut for rbac.go and webhook_configuration.go
2022-10-20 20:15:33 +08:00
karmada-bot
0debe0919c
Merge pull request #2660 from Poor12/add-ut-for-helper
...
[UT]Add ut for job.go and policy.go
2022-10-20 17:49:32 +08:00
jwcesign
d5e7a7fe7c
UT: add ut for rbac.go and webhook_configuration.go
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-10-20 17:33:42 +08:00
karmada-bot
69829f677c
Merge pull request #2561 from Poor12/gen-docs
...
Add gen-docs scripts
2022-10-20 16:54:14 +08:00
Poor12
5836639f69
add metrics_recorder for scheduler framework
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 16:35:11 +08:00
Poor12
138d9eac5f
add ut for job.go and policy.go
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 16:14:58 +08:00
Poor12
1414d7b9ba
add gen-docs
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 15:35:46 +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
karmada-bot
900a1bb043
Merge pull request #2651 from RainbowMango/pr_cleanup_customize_interpreter
...
cleanup kubeconfig parameter from customized interpreter
2022-10-20 09:08:15 +08:00
karmada-bot
7aa94c5be9
Merge pull request #2653 from chaunceyjiang/reviewer
...
Request to be a Reviewer of Karmada community
2022-10-19 12:19:14 +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
karmada-bot
eb0c6552df
Merge pull request #2639 from RainbowMango/pr_resourceinterpreter_customization_api
...
Add configurable resource interpreter API
2022-10-18 17:05:14 +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
RainbowMango
bb32de49d0
Add configurable resource interpreter
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-10-18 15:14:21 +08:00
calvin0327
01948be8d7
karmadactl are compatible with v1.24 master node label
...
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-10-18 11:00:13 +08:00
karmada-bot
141690eb9b
Merge pull request #2645 from mathlsj/snapshotNil
...
Fix clusterInfoSnapshot may be nil it will caused painc
2022-10-18 09:47:12 +08:00
karmada-bot
a0ca636508
Merge pull request #2646 from lixingchenDaoCloud/override-descriptions-wrong
...
The OverriderOperator description does not match the actual function
2022-10-18 09:35:30 +08:00
mathlsj
4c39d8deec
Fix clusterInfoSnapshot may be nil it will caused painc
...
Signed-off-by: mathlsj <mathlsj@outlook.com>
2022-10-17 22:26:33 +08:00
lixingchenDaoCloud
233430c311
The OverriderOperator description does not match the actual functions
...
Signed-off-by: lixingchenDaoCloud <captainchina_li@163.com>
2022-10-17 21:31:01 +08:00
karmada-bot
93817a9a58
Merge pull request #2644 from ikaven1024/pr-ut
...
[ut] add ut for proxy
2022-10-17 14:36:18 +08:00
karmada-bot
78fb5dbb3e
Merge pull request #2527 from carlory/fix-02
...
scheduler & descheduler introduce scheduler-estimator-service-prefix flag
2022-10-15 14:37:10 +08:00
yingjinhui
c8ca014081
[ut] add ut for proxy
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-14 21:59:45 +08:00
karmada-bot
c0349fe429
Merge pull request #2570 from helen-frank/feature/applyFactory
...
karmadactl apply uses factory to access member cluster
2022-10-14 14:56:10 +08:00
karmada-bot
32a512800a
Merge pull request #2633 from ikaven1024/fix-watchmux
...
[fix] close result chan when watchMux stopped
2022-10-14 14:17:10 +08:00
helen
0f5754ad14
karmadactl apply uses factory to access member cluster
...
Signed-off-by: helen <helenfrank@protonmail.com>
2022-10-14 13:36:51 +08:00
karmada-bot
69ad816e57
Merge pull request #2631 from cmicat/test/registry
...
Unit Test registry.go
2022-10-13 19:28:09 +08:00
karmada-bot
3e8ed1db96
Merge pull request #2611 from helen-frank/feature/cordonFactory
...
karmadactl cordon&uncordon uses factory to access cluster
2022-10-13 18:56:26 +08:00
raymondmiaochaoyue
6e1c4781f5
test registry.go
...
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-10-13 18:39:01 +08:00
karmada-bot
378fb86cc4
Merge pull request #2577 from lixingchenDaoCloud/addons-enable-flags
...
addons enable cluster flag usage description wrong
2022-10-13 16:11:09 +08:00
karmada-bot
cbc54497c7
Merge pull request #2612 from liangyuanpeng/fix_nil_map_panic
...
raise an error when there is no healthy nodes for etcd installation
2022-10-13 15:35:14 +08:00
lixingchenDaoCloud
4039fbf158
addons enable cluster flag usage description wrong
...
Signed-off-by: lixingchenDaoCloud <captainchina_li@163.com>
2022-10-13 14:56:15 +08:00
yingjinhui
b57ef199c9
[fix] close result chan when watchMux stopped
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-13 12:25:09 +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
362f77ad13
Merge pull request #2578 from Poor12/fix-sa
...
Fix serviceaccount continual regeneration by service account controller
2022-10-12 10:55:07 +08:00
Poor12
def9933fcf
fix serviceaccount continual regeneration by service account controller in member clusters
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-12 10:01:49 +08:00
karmada-bot
b9287479c5
Merge pull request #2606 from my-git9/conversion_test
...
add ut function for util/name.go
2022-10-11 21:10:07 +08:00
xin.li
d89d92fa5b
add ut function for util/name.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-10-11 19:59:36 +08:00
karmada-bot
40eae4af39
Merge pull request #2626 from RainbowMango/pr_enhance_version_cov
...
Add test coverage for pkg/version/release.go
2022-10-11 11:42:07 +08:00
karmada-bot
c11fb634bc
Merge pull request #2302 from Garrybest/pr_diagnosis
...
add scheduling diagnosis
2022-10-11 10:47:08 +08:00
karmada-bot
e40bd97222
Merge pull request #2625 from RainbowMango/pr_comment_rs
...
Update comments for ResourceSelectors in PropagationPolicy to eliminate ambiguity
2022-10-11 10:31:08 +08:00
karmada-bot
eceba6480a
Merge pull request #2584 from chaunceyjiang/overriders
...
introduce overriders for annotation and label
2022-10-11 09:05:24 +08:00
chaunceyjiang
8bcfd7810b
introduce overriders for annotation and label
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-10-10 22:15:14 +08:00
RainbowMango
996d1ec32d
Add test coverage for pkg/version/release.go
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-10-10 21:05:38 +08:00
karmada-bot
933e725940
Merge pull request #2602 from helen-frank/fix/runtimeMust
...
gclient handling programmer level errors
2022-10-10 19:18:06 +08:00
RainbowMango
78b872a8cf
Update comments for ResourceSelectors in PropagationPolicy to set the record straight.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-10-10 12:32:07 +08:00
karmada-bot
789a44acfa
Merge pull request #2615 from RachaelLuo/fix/fix-cordon
...
Add args greater than one
2022-10-09 15:24:21 +08:00
yipping.luo
07b39b4b1f
Add args greater than one
...
Signed-off-by: yipping.luo <yinping.luo@daocloud.io>
fix error message
Signed-off-by: yipping.luo <yinping.luo@daocloud.io>
rebase
2022-10-09 10:56:23 +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
Lan Liang
de06486124
Use error message of failed to find a healthy node for karmada-etcd for can not found note to scheduled etcd
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2022-10-09 10:02:30 +08:00
karmada-bot
290b4e0f3b
Merge pull request #2617 from Poor12/add-ut-for-helper
...
[UT]Add ut for override.go
2022-10-08 17:00:05 +08:00
Poor12
746d0fd915
add ut for override.go
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-08 15:30:52 +08:00
karmada-bot
75a0305a8c
Merge pull request #2608 from Fish-pro/fix-karamada
...
karmadactl: modify the wrong noun for karmadactl
2022-10-05 22:46:02 +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
helen
be4b3c829a
karmadactl cordon&uncordon uses factory to access cluster
...
Signed-off-by: helen <helenfrank@protonmail.com>
2022-10-04 17:33:13 +08:00
chen zechun
828e2c945f
Modify the wrong noun for karmadactl
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-10-02 22:55:41 +08:00
karmada-bot
155e37c9e5
Merge pull request #2600 from RainbowMango/pr_put_ikaven
...
nominate ikaven1024 as approver
2022-10-02 10:28:59 +08:00
karmada-bot
7ddf549e96
Merge pull request #2555 from Poor12/add-metrics-test
...
Fix the issue that incomingBindingMetrics ignores the ClusterChanged event
2022-09-30 16:50:15 +08:00
Poor12
1d282bf179
add metrics test for scheduler
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-09-30 15:39:00 +08:00
RainbowMango
50d01d3ac9
set ReadHeaderTimeout for http server
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-09-30 15:33:25 +08:00
Garrybest
4a657b5872
introduce type ImplicitPriority to represent the priority.
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
Co-authored-by: RainbowMango <qdurenhongcai@gmail.com>
2022-09-30 14:48:05 +08:00
Garrybest
9bd626b3cc
add implicit priority for PP and CPP
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-09-30 14:48:05 +08:00
helen
77a6f15994
gclient handling programmer level errors
...
Signed-off-by: helen <helenfrank@protonmail.com>
2022-09-30 11:08:31 +08:00
wlp1153468871
0dbb8f57b0
cleanup
...
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-09-30 10:09:38 +08:00
RainbowMango
a30b097f9d
Put ikaven1024 to approver list
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-09-29 17:21:55 +08:00
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
karmada-bot
a82c427509
Merge pull request #2395 from yusank/bugfix/sync-crb-status
...
fix: sync cluster level resource status
2022-08-22 11:48:50 +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
karmada-bot
e237614954
Merge pull request #2351 from XiShanYongYe-Chang/add-health-field
...
add health field in the binding and work api
2022-08-19 16:34:47 +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
changzhen
c1794bf7e4
add health field in the binding and work api
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-19 15:44:19 +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
78c299caf4
Merge pull request #2370 from zhuwint/dev-defaultinterpreter
...
add default interpreter for interpretHealth
2022-08-19 12:11:46 +08:00
karmada-bot
303d4652ef
Merge pull request #2312 from lonelyCZ/pr-cluster-info
...
Set open cluster-info to distribute root CA certificates
2022-08-19 10:56:46 +08:00
karmada-bot
822abc540b
Merge pull request #2297 from lonelyCZ/pr-init-normalize-cert
...
Standardize the generation of certificates for karmadactl init
2022-08-18 15:23:45 +08:00
karmada-bot
121ae39ac0
Merge pull request #2386 from halfrost/cluster-resource-modeling-api
...
Add cluster resource modeling api
2022-08-18 15:00:45 +08:00
halfrost
77cf4bed09
Add cluster resource modeling api
...
Signed-off-by: halfrost <ydz627@gmail.com>
2022-08-17 22:06:21 -07:00
zhuwint
989fb496fd
add default interpreter for interpretHealth
...
Signed-off-by: zhuwint <zhuwentao15@huawei.com>
2022-08-18 11:48:09 +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
lonelyCZ
37247f6081
Set open cluster-info to distribute root CA certificates
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-17 14:39:29 +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
lonelyCZ
818a9e3368
Standardize the generation of certificates for karmadactl init
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-16 15:35:03 +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
c5ce2af608
Merge pull request #2382 from Poor12/add-feature-gate-for-model
...
Add a feature gate for cluster resource custom modeling
2022-08-15 21:32:41 +08:00
Poor12
944a725daa
Add a feature gate for cluster resource custom modeling
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-15 20:48:19 +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
karmada-bot
6662906cb7
Merge pull request #2376 from AllenZMC/improve_taint
...
improve ut for taint
2022-08-15 11:22:42 +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
AllenZMC
53550a825c
improve ut for taint
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-14 23:49:15 +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
karmada-bot
2197159032
Merge pull request #2355 from AllenZMC/improve_binding
...
add ut for binding
2022-08-12 14:12: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
karmada-bot
f0379682a2
Merge pull request #2356 from AllenZMC/improve_taint
...
add ut for taint
2022-08-12 09:20:10 +08:00
huntsman_ly
b4c86a26df
fix opensearch mapper_parsing_exception
...
karmada-search error log: Could not dynamically add mapping for field [app.name]. Existing mapping for [metadata.labels.app] must be of type object but found [text].
Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>
2022-08-11 15:09:34 +08:00
karmada-bot
bac3eb233e
Merge pull request #2360 from Charlie17Li/toTypedManager
...
update the dynamic informer in cluster status controller with typed informer
2022-08-11 14:11:08 +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
karmada-bot
431e06a684
Merge pull request #2329 from zhuwint/devhealthy
...
implement InterpretHealth for resource interpreter
2022-08-11 10:51:09 +08:00
zhuwint
90ddb6ae3c
implement InterpretHealth for resource interpreter
...
Signed-off-by: zhuwint <zhuwentao15@huawei.com>
2022-08-11 09:19:50 +08:00
karmada-bot
79992fe222
Merge pull request #2118 from hanweisen/addpvcdepend
...
propagate dependencies support propagate pvc
2022-08-10 14:51:08 +08:00
AllenZMC
e679b63a28
add ut for binding
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-10 11:10:18 +08:00
hanweisen
721d4e02bf
propagate dependencies support propagate pvc
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-08-10 11:09:25 +08:00
Poor12
e528657382
add typed shared informer
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-10 10:39:58 +08:00
karmada-bot
0cc00f7bcf
Merge pull request #2345 from yy158775/patch-update
...
patch resourcebinding instead of update and update observed generation.
2022-08-10 08:56:08 +08:00
AllenZMC
3eeb57e238
add ut for taint
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-09 22:26:24 +08:00
karmada-bot
b1684b6466
Merge pull request #2352 from RainbowMango/pr_rename_informer_manager
...
rename and re-organize the informermanager
2022-08-09 20:58:07 +08:00
karmada-bot
6f4b24a26d
Merge pull request #1653 from Poor12/add-desheduler
...
Add warnings when config cluster-namespace as karmada-system
2022-08-09 18:50:08 +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
karmada-bot
67fd394e5e
Merge pull request #2346 from RainbowMango/pr_add_graceful_evict_helper
...
Enable graceful eviction in taint manager
2022-08-09 16:43:08 +08:00
karmada-bot
b45087c491
Merge pull request #2347 from RainbowMango/pr_rename_interprete_healthy
...
Rename interpreter operation health
2022-08-09 15:49:07 +08:00
yy158775
2d8d70202b
add test for Scheduler's patchXXX
...
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-09 11:59:46 +08:00
karmada-bot
6dee3c50eb
Merge pull request #2262 from wlp1153468871/wlp
...
use kubectl describe to implement karmadactl describe
2022-08-09 10:08:07 +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
karmada-bot
661d6526dd
Merge pull request #2344 from AllenZMC/improve_ut
...
add ut for spreadconstraint
2022-08-08 21:01:07 +08:00
RainbowMango
f73e7f2639
Rename interpreter operation health
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-08 19:56:18 +08:00
AllenZMC
eecb74f513
add ut for spreadconstraint
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-07 23:28:00 +08:00
yy158775
194a448b6f
patch ClusterResourceBinding instead of update and update observed generation.
...
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-07 16:49:40 +08:00
RainbowMango
5bb852e772
Introduce graceful eviction feature gate and mark feature in alpha state.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-06 16:54:50 +08:00
karmada-bot
fcc994adc0
Merge pull request #2339 from XiShanYongYe-Chang/grace-eviction-binding-controller
...
Make changes to binding-controller to adopt graceful eviction
2022-08-06 11:23:07 +08:00
karmada-bot
8c6a357a43
Merge pull request #2269 from zhuwint/devctl
...
Adjust the order of kubeconfig loadingRules
2022-08-05 16:45:06 +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
bbb5e2949e
Merge pull request #2328 from nuclearwu/master
...
fix karmada-agent can not ensure default namespace issue
2022-08-05 16:38:06 +08:00
karmada-bot
03eb521b7d
Merge pull request #2330 from RainbowMango/pr_patch_rb_conditions
...
patch resourcebinding instead of update and update observed generation.
2022-08-05 14:23:05 +08:00
wuzhongjian
161c16de24
Fix 'namespace karmada-cluster not found' when cluster is being registered with 'pull' mode
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-08-05 13:52:37 +08:00
karmada-bot
371ecba406
Merge pull request #2331 from AllenZMC/fix_panic
...
opensearch: fixed panic issue when dumps error infos
2022-08-05 09:36:02 +08:00
RainbowMango
286805c239
patch resourcebinding instead of update and update observed generation.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-05 09:17:01 +08:00
AllenZMC
177e9e604c
Clear conflict between variable `delete` and builtin function
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-04 23:24:13 +08:00
AllenZMC
278987aa44
fixed panic issue when dumps error infos
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-04 22:41:09 +08:00
karmada-bot
54752ed626
Merge pull request #2324 from duanmengkk/feature_retain
...
Put Lease to default SkippedResourceConfig
2022-08-04 18:09:01 +08:00
karmada-bot
0694d0cdd4
Merge pull request #2325 from XiShanYongYe-Chang/update-import-aliases
...
update import aliases
2022-08-04 17:25:02 +08:00
changzhen
2457cee11c
update import-aliases
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-04 15:47:25 +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
duanmeng
8e0a4ca5f2
Put Lease to default SkippedResourceConfig
...
Signed-off-by: duanmeng <duanmengng_yewu@cmss.chinamobile.com>
2022-08-04 14:58:43 +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
karmada-bot
a24effba96
Merge pull request #2310 from wuyingjun-lucky/karmada_addon_owners
...
Put wuyingjun-lucky onto karmadactl addons owner list
2022-08-03 09:26:00 +08:00
karmada-bot
7c728707fc
Merge pull request #2035 from chaunceyjiang/auto_propagate_sa
...
Propagate dependencies add support propagate ServiceAccount
2022-08-02 19:50:59 +08:00
karmada-bot
65757bf124
Merge pull request #2205 from my-git9/apply2
...
fix karmadactl apply help
2022-08-02 19:21:58 +08:00
karmada-bot
99b87bad79
Merge pull request #2284 from Garrybest/pr_toleration
...
add default tolerations for pp and cpp
2022-08-02 18:10:58 +08:00
Garrybest
c5b35bd199
add default tolerations for pp and cpp
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-02 17:20:25 +08:00
karmada-bot
270d729c77
Merge pull request #2273 from RainbowMango/pr_gracefull_eviction_api
...
Extend Binding API for graceful eviction
2022-08-02 17:16:58 +08:00
wuyingjun
a92a5266d4
put wuyingjun-lucky onto karmadactl addons owner list
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-08-02 16:27:54 +08:00
karmada-bot
bda97036c7
Merge pull request #2134 from wuyingjun-lucky/karmada_addon
...
Add karmadactl addons subcommand
2022-08-02 16:02:58 +08:00
chaunceyjiang
0014bc2aed
Propagate dependencies add support propagate ServiceAccount
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-08-02 15:55:31 +08:00
karmada-bot
730ed3d8fe
Merge pull request #2305 from AllenZMC/improve-resource
...
Optimize code to reduce redundancy
2022-08-02 12:03:58 +08:00
AllenZMC
915afb5947
Optimize code to reduce redundancy
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-02 09:01:24 +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
RainbowMango
89f9c96644
Extend Binding API adding graceful eviction
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-01 17:36:03 +08:00
karmada-bot
e153614477
Merge pull request #2283 from lonelyCZ/pr-options-cmd
...
karmadactl: Introduce options subcmd to list global command-line options
2022-08-01 16:00:57 +08:00
karmada-bot
73f24d39b5
Merge pull request #2180 from RainbowMango/pr_clusterid_api
...
Add ID to Cluster API
2022-08-01 14:22:57 +08:00
Garrybest
8ea96c0c55
add event error msg when failed to apply policy
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-01 10:37:31 +08:00
karmada-bot
b5119c391a
Merge pull request #2280 from zirain/crd-category
...
support CRD category
2022-07-30 14:51:55 +08:00
hejianpeng
01eea9189c
support CRD category
...
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-07-30 11:47:54 +08:00
karmada-bot
22e0136b75
Merge pull request #2285 from carlory/karmadactl-reviewer
...
Put carlory onto the karmadactl owner list
2022-07-30 10:52:55 +08:00
wlp1153468871
f1db971b44
use kubectl describe to implement karmadactl describe
...
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-07-29 22:58:25 +08:00
Poor12
e6ad74e3bd
add description for overridePolicy
...
Signed-off-by: Poor12 <1185060656@qq.com>
2022-07-29 22:08:51 +08:00
carlory
9a101ec68c
Put carlory onto the karmadactl owner list
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-29 22:04:55 +08:00
RainbowMango
2bdeb78474
Add ID to Cluster API
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-29 17:21:51 +08:00
lonelyCZ
13ad47d2ab
Introduce options subcmd to list global command-line options
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-07-29 16:33:21 +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
zhuwint
1447909f68
Adjust the order of kubeconfig loadingRules
...
Signed-off-by: zhuwint <zhuwentao15@huawei.com>
2022-07-28 11:13:20 +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
karmada-bot
f8e4c47acc
Merge pull request #2268 from RainbowMango/pr_add_binding_remove_helper
...
Introduce RemoveCluster helper method for RB/CRB
2022-07-28 09:50:53 +08:00
karmada-bot
6bd9f68a0d
Merge pull request #2164 from carlory/iostreams
...
take iostreams as a func parameter
2022-07-28 08:54:53 +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
dabdbea0fb
Merge pull request #2230 from zhuwint/updatedetector
...
Reduce the number of reconciliations on update in detector
2022-07-27 14:27:51 +08:00
karmada-bot
26c559e1a2
Merge pull request #2252 from RainbowMango/pr_fix_health_assessment
...
Fixed Argo CD can not assess StatefulSet and DaemonSet health status issue
2022-07-27 11:51:52 +08:00
karmada-bot
4b188f1158
Merge pull request #2136 from Fish-pro/fix-args-validate
...
karmadactl:modify join and unjoin validation
2022-07-27 10:59:52 +08:00
z50023861
4469d39aa5
Reduce the number of reconciliations on update in detector
...
Signed-off-by: z50023861 <zhuwentao15@huawei.com>
2022-07-27 10:23:35 +08:00
karmada-bot
b8af2a70b4
Merge pull request #2249 from dddddai/status
...
Make sure to update resource status
2022-07-27 09:34:52 +08:00
wuyingjun
98ef6281a6
Support Karmada addon commands
...
Co-authored-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-07-27 00:58:01 +08:00
chen zechun
a94bc2b1bc
Modify join and unjoin validation
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-26 18:34:04 +08:00
carlory
dce8e27332
karmadactl allow users to select one or many member clusters to propagate resources.
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-26 13:30:35 +08:00
karmada-bot
8c649b8c31
Merge pull request #2250 from dapengJacky/uniform-format
...
Comment should start with a whitespace and Uppercase
2022-07-26 12:52:50 +08:00
dddddai
5743cebab0
make sure to update resource status
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-07-26 11:18:31 +08:00
RainbowMango
6068b606ae
Fixed Argo CD can not assess StatefulSet and DaemonSet health status
...
issue.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-25 16:00:48 +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
Qianjin Xu
845e89d3a7
Fix: ArgoCD can not assess Deployment health status.
...
Signed-off-by: Qianjin Xu <xuqianjins@gmail.com>
2022-07-23 18:55:30 +08:00
karmada-bot
6969a5d643
Merge pull request #2129 from Fish-pro/fix-karmadactl-example
...
karmadactl-example:print example by templates like kubectl
2022-07-23 10:24:49 +08:00
karmada-bot
5abdfb0448
Merge pull request #2227 from luoMonkeyKing/search-namespace
...
karmada-search cannot query a single namespace
2022-07-23 09:10:47 +08:00
carlory
dfa793f229
take iostreams as a func parameter that can be used by logs, get, describe and exec.
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-23 08:30:18 +08:00
karmada-bot
fec1464ca2
Merge pull request #2153 from TheStylite/wuchen
...
karmadactl describe support the --namespace flag
2022-07-22 18:11:47 +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
karmada-bot
cb58d5f730
Merge pull request #2238 from Poor12/add-clientOption
...
Cleanup ClusterClientSetFunc field in execution-controller
2022-07-22 16:16:47 +08:00
chen zechun
6dffaf5e0f
print example by templates like kubectl
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-22 15:46:08 +08:00
karmada-bot
eff23524d7
Merge pull request #2220 from my-git9/initversion
...
fix karmada init help crd version
2022-07-22 15:24:47 +08:00
karmada-bot
9fedf66222
Merge pull request #2233 from lonelyCZ/pr-group-cmd
...
Group the subcommands of karmadactl
2022-07-22 11:40:46 +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
lonelyCZ
5dd268f598
Group the subcommands of karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-07-21 18:52:42 +08:00
luomonkeyking
3b33fd359a
modify contains-merge-commits
...
Signed-off-by: luomonkeyking <luomonkeyking@gmail.com>
2022-07-21 15:12:27 +08:00
karmada-bot
df125af3b0
Merge pull request #2187 from yy158775/learn
...
Add a New Type cachedRESTMapper
2022-07-21 10:37:45 +08:00
karmada-bot
37ffc7dfd5
Merge pull request #2135 from chaunceyjiang/scheduler_plugins
...
custom enable or disable of scheduler plugins
2022-07-20 15:59:44 +08:00
yangyong
155e5ed424
feat:add new type cachedRESTMapper to optimize GetGroupVersionResource
...
Signed-off-by: yy158775 <1584616775@qq.com>
2022-07-20 14:47:53 +08:00
chaunceyjiang
fc600ae003
custom scheduler plugin
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-20 11:16:02 +08:00
xin.li
710d71c75d
improve karmada init version
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-07-19 22:04:13 +08:00
wlp1153468871
65086f4e97
fix inaccurate code comment in pkg/estimator/client/general.go
...
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-07-19 20:39:40 +08:00
karmada-bot
e9730e2c55
Merge pull request #2214 from carlory/fix-error-test
...
use the existing utilerrors.AggregateGoroutines func to collect each cluster's replicas concurrently
2022-07-19 20:13:44 +08:00
karmada-bot
7efc6bc2d6
Merge pull request #2206 from carlory/remove-useless-field
...
remove useless field from CommandGetOptions
2022-07-19 14:16:44 +08:00
karmada-bot
ab0883e73d
Merge pull request #2170 from RainbowMango/pr_rename_plugin
...
Rename scheduler plugin name
2022-07-19 10:27:43 +08:00
carlory
aca3965545
use the existing utilerrors.AggregateGoroutines func to collect each cluster's replicas concurrently
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-19 10:23:01 +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
karmada-bot
9ea1f17c55
Merge pull request #2179 from zhuwint/updateut
...
[ut] add ut for pkg/utils/namespace
2022-07-18 12:59:42 +08:00
karmada-bot
fa4fecaa24
Merge pull request #2193 from carlory/fix-karmadactldescribe
...
remove unused flag for karmadactl promote
2022-07-18 09:36:42 +08:00
carlory
493b2da7ed
remove useless field from CommandGetOptions
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-17 10:06:31 +08:00
xin.li
cc4589b3bd
fix karmadactl apply help
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-07-16 20:44:16 +08:00
karmada-bot
60c5a64402
Merge pull request #2203 from my-git9/promote2
...
improve karmadactl promte -h
2022-07-16 20:29:40 +08:00
z50023861
e25b7bea56
add ut for pkg/utils/namespace
...
Signed-off-by: z50023861 <zhuwentao15@huawei.com>
2022-07-16 19:30:50 +08:00
karmada-bot
9c200843a4
Merge pull request #2146 from chaunceyjiang/issue_2173
...
sync pod failded and succeeded status
2022-07-16 19:09:39 +08:00
xin.li
55008d1b6a
improve karmadactl promte -h
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-07-16 18:54:10 +08:00
karmada-bot
ab00a50c19
Merge pull request #2181 from carlory/remove-lifted
...
remove unused lifted codes
2022-07-16 09:20:40 +08:00
TheStylite
6ef71bff4d
karmadactl describe support the --namespace flag
...
Signed-off-by: TheStylite <848099532@qq.com>
2022-07-15 17:05:02 +08:00
karmada-bot
30a690640a
Merge pull request #2184 from AllenZMC/improve_test
...
add ut for binding/common
2022-07-15 16:54:40 +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
karmada-bot
0432fba76d
Merge pull request #2190 from carlory/fix-karmadactlget
...
remove unused flag for karmadactl get
2022-07-15 16:06:39 +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
karmada-bot
0bc4742a2b
Merge pull request #2178 from carlory/remove-DisableFlagsInUseLine
...
enable addition of [flags] to the usage line
2022-07-15 15:40:39 +08:00
Garrybest
1d2028b10f
add taint manager
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 10:42:38 +08:00
chaunceyjiang
f38439a92d
sync pod failded and succeeded status
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-15 09:56:52 +08:00
carlory
a78bc65af5
remove unused flag for karmadactl promote
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-15 07:23:48 +08:00
carlory
a3367e7e9e
remove unused flag for karmadactl get
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-14 21:26:32 +08:00
luomonkeyking
9d58dc5e39
Modify the default storage type of etcd to hostPath
...
Signed-off-by: luomonkeyking <luomonkeyking@gmail.com>
2022-07-14 20:53:01 +08:00
karmada-bot
f46d90f6b4
Merge pull request #2000 from carlory/karmadactl-apply
...
karmadactl support apply command
2022-07-14 14:51:38 +08:00
AllenZMC
17bd5641ee
Remove unnecessary package alias
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-07-14 10:53:51 +08:00
karmada-bot
6bd435a5e0
Merge pull request #2163 from AllenZMC/karmadactl
...
improve karmadactl command line description
2022-07-14 09:11:37 +08:00
carlory
0bf9750533
remove unused lifted codes
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-13 22:09:03 +08:00
carlory
3610f6dd3e
karmadactl support apply command
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-13 14:02:07 +08:00
carlory
af8b7c86f8
enable addition of [flags] to the usage line of a command when printing help or generating docs
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-13 13:09:30 +08:00
karmada-bot
a70f1fb120
Merge pull request #2098 from carlory/karmadactl-log
...
use kubectl logs to implement karmadactl logs
2022-07-13 10:22:36 +08:00
carlory
4ee623c1e2
use kubectl logs to implement karmadactl logs
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
2022-07-12 23:17:46 +08:00
AllenZMC
5321de1e6d
improve karmadactl command line description
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-07-12 17:22:06 +08:00
lonelyCZ
da2868bc42
karmadactl exec: check if --cluster specify
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-07-12 14:34:41 +08:00
karmada-bot
46490a6513
Merge pull request #2171 from my-git9/karmadactl3
...
Fix karmadactl get -C error
2022-07-12 12:05:36 +08:00
xin.li
da6e031392
Fix karmadactl get -C error
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-07-12 11:16:30 +08:00
karmada-bot
eff20f2a2a
Merge pull request #2161 from CharlesQQ/callwebhook-fix
...
fix: fix applyPatch when patch and patchType is nil
2022-07-12 11:15:35 +08:00
charlesQQ
519bcb0eed
fix: fix applyPatch when patch and patchType is nil
...
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-07-12 10:30:38 +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
karmada-bot
a50e31ddaf
Merge pull request #2148 from carlory/fix-karmadactl-get
...
allow to read namespace from the context field of karmada config when use the karmadactl get command
2022-07-11 21:52:35 +08:00