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
RainbowMango
8159189708
Rename scheduler plugin name
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-11 18:05:08 +08:00
karmada-bot
d2bd9d9823
Merge pull request #2092 from carlory/karmadactl-exec
...
use kubectl exec to implement karmadactl exec and introduce the `--namespace` flag
2022-07-11 15:33:35 +08:00
Poor12
41bf329bde
add warnings when config cluster-namespace as karmada-system
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-11 14:20:21 +08:00
karmada-bot
4121cda7d3
Merge pull request #2144 from XiShanYongYe-Chang/upgrade-karmada-apiserver
...
Upgrade default karmada-apiserver from v1.23.8 to v1.24.2
2022-07-11 09:57:40 +08:00
carlory
a31315c0e9
use kubectl exec to implement karmadactl exec
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-10 22:47:40 +08:00
RainbowMango
f5eeaf6dd3
Fixed misleading or outdate comments about --cluster-namespace flag
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-09 18:35:48 +08:00
changzhen
a703560296
upgrade default karmada-apiserver from v1.23.8 to v1.24.2
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-07-09 14:40:10 +08:00
karmada-bot
821a18542e
Merge pull request #1990 from CharlesQQ/cluster-pull-secret
...
feat: agent report secret
2022-07-08 10:56:31 +08:00
karmada-bot
6adce059d6
Merge pull request #2140 from Fish-pro/fix-option-lowercase
...
karmadactl:modify the cluster parameter from lowercase to uppercase
2022-07-08 10:37:34 +08:00
karmada-bot
d0cb708e7e
Merge pull request #2113 from calvin0327/cleanup-federated-resourcequota
...
cleanup federated resource quota
2022-07-08 10:35:35 +08:00
karmada-bot
3aa00ac72f
Merge pull request #2124 from carlory/fix-karmadactl
...
improve karmadactl description
2022-07-08 10:32:39 +08:00
calvin0327
532b22f80d
cleanup federated resource quota
...
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-07-08 09:55:22 +08:00
carlory
796383dc63
allow to read namespace from the context field of karmada config
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-07 21:12:01 +08:00
charlesQQ
8738617ad0
feat: agent report secret
...
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-07-07 14:26:07 +08:00
karmada-bot
5ecb4ba1bb
Merge pull request #2008 from Poor12/add-pprof
...
Add pprof for karmada components
2022-07-07 11:09:30 +08:00
chen zechun
13600f02b9
modify the promote option of cluster lowercase
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-07 08:02:12 +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
karmada-bot
33ca62eda2
Merge pull request #2062 from XiShanYongYe-Chang/cleanup-detector-eventfilter
...
Remove unused check in detector resource Eventifilter
2022-07-06 09:29:34 +08:00
karmada-bot
bffd4f8bba
Merge pull request #2132 from Fish-pro/fix-namespace-usage
...
karmadactl:modify the usage of cluster-namespace
2022-07-05 18:24:33 +08:00
chen zechun
4111e8342a
Modify the usage of cluster-namespace
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-05 17:11:30 +08:00
karmada-bot
f4fc8c7062
Merge pull request #2080 from AllenZMC/fix_binding
...
Fix checking if scheduler has a replica assigned to each cluster
2022-07-05 17:04:33 +08:00
AllenZMC
1966ff634b
Fix comment: `checking if scheduler has a replica assigned to each cluster`
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-07-05 16:16:16 +08:00
changzhen
708b39eb6d
upgrade default karmada-apiserver from v1.22.10 to v1.23.8
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-07-05 15:37:17 +08:00
carlory
c60573df9a
improve karmadactl description
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-04 20:37:50 +08:00
karmada-bot
3c9611a6fe
Merge pull request #2117 from AllenZMC/fix_manager
...
Fix nil pointer and err formatting problems in updateConfiguration
2022-07-04 20:35:32 +08:00
karmada-bot
18e3fba143
Merge pull request #2016 from zgfh/deinit-update
...
feature: `deinit` add param of `force`
2022-07-04 14:47:27 +08:00
AllenZMC
f7469ea3ec
Fix nil problem in updateConfiguration
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-07-04 13:03:06 +08:00
karmada-bot
67a4d86cb4
Merge pull request #2086 from chaunceyjiang/issue_2071
...
fix binding reference key hash collision
2022-07-04 10:34:26 +08:00
chaunceyjiang
5350072889
fix binding reference key hash collision
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-04 09:42:51 +08:00
karmada-bot
417dc98478
Merge pull request #2094 from wuyingjun-lucky/gci
...
Add gci to seperate goimports to three parts
2022-07-04 09:28:26 +08:00
wuyingjun
d6b4fac842
add gci to seperate goimports to three parts
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-07-03 11:09:50 +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
karmada-bot
6b69d11748
Merge pull request #2093 from wuyingjun-lucky/misspell
...
Add misspell in golangci
2022-07-01 23:21:25 +08:00
karmada-bot
ff2cb7a047
Merge pull request #2100 from chaunceyjiang/import_error
...
fix import error
2022-07-01 14:30:23 +08:00
karmada-bot
81097a47bc
Merge pull request #2070 from chaunceyjiang/aggregate_status_pvc
...
sync status of pvc
2022-07-01 14:09:23 +08:00
karmada-bot
3a74e2c8d1
Merge pull request #2022 from carlory/remove-useless-function
...
remove useless function in the get_flags.go file
2022-07-01 12:11:23 +08:00
chaunceyjiang
3dc02a8a07
fix import error
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-01 11:28:20 +08:00
chaunceyjiang
6ffe6f0967
sync status of pvc
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-01 10:59:02 +08:00
karmada-bot
dc8177c0bc
Merge pull request #2064 from prodanlabs/fix-scheduler
...
karmada-scheduler add disable-scheduler-estimator-in-pull-mode flag
2022-06-30 16:52:24 +08:00
wuyingjun
5d3185b622
add misspell to golangci
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-30 16:47:00 +08:00
prodan
2f35a48c5e
add: disable-scheduler-estimator-in-pull-mode flag
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-06-30 12:10:37 +08:00
carlory
ed428ac0ee
remove useless function in the get_flags.go file
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
2022-06-30 09:58:43 +08:00
karmada-bot
bce5bfab39
Merge pull request #2078 from AllenZMC/improve_test
...
improve test coverage for validation
2022-06-29 14:18:26 +08:00
karmada-bot
0abb792bbf
Merge pull request #1850 from hanweisen/adde2etest
...
[E2E] add karmadactl cordon/uncordon e2e test
2022-06-29 10:44:21 +08:00
hanweisen
7219bf6655
avoid required label override by overridepolicy
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-29 00:25:31 +08:00
AllenZMC
286026b3bf
improve test coverage for validation
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-28 22:17:33 +08:00
karmada-bot
4a243f447a
Merge pull request #2052 from calvin0327/shortCircuit-updateResourceRegistry-envetHander
...
karmada-search: short circuit event hander for resourceRegistry updation
2022-06-28 18:07:21 +08:00
calvin
74b97357ad
short circuit event hander for resourceRegistry updation
...
Signed-off-by: calvin <wen.chen@daocloud.io>
2022-06-28 17:23:15 +08:00
changzhen
2e91ff1662
return err when create resource failed
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-06-28 16:28:14 +08:00
karmada-bot
7e8c841f73
Merge pull request #1972 from zgfh/fix-sa
...
bugfix: support join 1.24 k8s: auto create secret when sa not create
2022-06-27 20:01:21 +08:00
karmada-bot
a2bcb1acd4
Merge pull request #1822 from duanmengkk/feature_servicepromotefix
...
fixed a bug that the service could not be promoted and e2e test
2022-06-27 19:17:19 +08:00
karmada-bot
578961ea11
Merge pull request #2061 from ikaven1024/pr-lifted
...
add lifted doc
2022-06-26 19:22:19 +08:00
karmada-bot
9fabb0959b
Merge pull request #2050 from RainbowMango/pr_update_kubernetes
...
Update Kubernetes dependencies to v1.24.2
2022-06-25 17:11:17 +08:00
changzhen
c2b6c78061
remove unused check in detector resource Eventifilter
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-06-25 16:05:53 +08:00
yingjinhui
085ecd4d14
add lifted doc
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-06-25 15:42:27 +08:00
karmada-bot
03cd025cd1
Merge pull request #2060 from chaunceyjiang/auto_propagate_cronjob
...
Add a CronJob to the default dependencinterpreter
2022-06-25 15:11:17 +08:00
RainbowMango
f432977bbd
Update auto-generated files
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2022-06-25 14:44:02 +08:00
chaunceyjiang
21cb9839a5
Add a CronJob to the default dependencinterpreter
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-06-25 14:31:12 +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
AllenZMC
7f67228557
Update pkg/printers with Kubernetes v1.24.2
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-23 22:04:35 +08:00
karmada-bot
5fcdafbcfe
Merge pull request #2033 from dddddai/lease
...
Skip updating lease for push mode clusters
2022-06-23 20:42:15 +08:00
karmada-bot
a2608ace23
Merge pull request #1998 from XiShanYongYe-Chang/cleanup-upgrade-code
...
Clean-up unused code for upgrade scene
2022-06-23 11:55:15 +08:00
karmada-bot
4440645e09
Merge pull request #2039 from AllenZMC/liveness
...
add livenessProbe for karmada-controller-manager
2022-06-23 10:21:15 +08:00
karmada-bot
bd5ff7a86d
Merge pull request #2048 from chaunceyjiang/join_zone_region
...
Manually specify the Zone and Region of the cluster
2022-06-22 15:12:14 +08:00
karmada-bot
0601e11a82
Merge pull request #2045 from wlp1153468871/wlp
...
improve webhook_configuration.go
2022-06-22 14:39:14 +08:00
chaunceyjiang
6ac2a75e6b
Manually specify the Zone and Region of the cluster
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-06-22 14:13:52 +08:00
karmada-bot
b4a130487b
Merge pull request #2044 from my-git9/deployments4
...
improve deployments.go
2022-06-22 13:51:14 +08:00
wlp1153468871
1c7494bf4f
improve code
...
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-06-22 10:47:25 +08:00
karmada-bot
588fae9287
Merge pull request #2029 from RainbowMango/pr_add_prodanlabs
...
Add prodanlabs to approver list
2022-06-22 08:51:18 +08:00
karmada-bot
c1b6df2a77
Merge pull request #2021 from RainbowMango/pr_lonelycz
...
Put lonelyCZ to owner files
2022-06-22 08:50:15 +08:00
Alan Zhu
53a7fce680
auto create secret when sa not create
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-06-22 08:28:08 +08:00
karmada-bot
3dbccd519e
Merge pull request #1980 from RainbowMango/pr_setup_search_owners
...
setup karmada-search owners
2022-06-21 20:42:14 +08:00
xin.li
dede5ad078
improve deployments.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-06-21 16:55:23 +08:00
karmada-bot
66857b67b3
Merge pull request #2038 from cutezhangq/imports/package
...
The package imports can be improved
2022-06-21 09:22:13 +08:00
AllenZMC
7fd951e95a
add livenessProbe for karmada-controller-manager
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-20 23:28:41 +08:00
cutezhangq
7bbf649e5f
imports/package
...
Signed-off-by: cutezhangq <qian.zhang@daocloud.io>
2022-06-20 22:58:43 +08:00
dddddai
4e73056e51
skip updating lease for push mode clusters
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-06-20 14:43:59 +08:00
RainbowMango
43be572ebd
Add prodanlabs to approver list
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-20 10:20:50 +08:00
karmada-bot
19a015b224
Merge pull request #2023 from carlory/fix-dry-run
...
remove dry-run from GlobalCommandOptions
2022-06-20 09:23:12 +08:00
carlory
ac1121365a
remove dry-run from GlobalCommandOptions
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-06-19 00:06:39 +08:00
RainbowMango
5a3266c3e2
Put lonelyCZ to owner files
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-17 18:14:09 +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
hanweisen
429dae2340
add karmadactl cordon/uncordon e2e test
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-17 09:58:31 +08:00
Alan Zhu
2048c4a42d
`deinit` add param of `force`
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-06-17 08:10:53 +08:00
duanmeng
0ea0f6f1cb
fixed a bug that the service could not be promoted and e2e test
...
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-06-16 21:56:01 +08:00
dddddai
1ebc680d16
add cluster success threshold
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-06-16 18:02:17 +08:00
karmada-bot
8304974169
Merge pull request #1933 from my-git9/deinit-1
...
modify output for deinit
2022-06-16 15:33:13 +08:00
karmada-bot
75019ad1e2
Merge pull request #1883 from xyz2277/karmada-zyx-8
...
add Error message when unjoining cluster with a non-existent clustername
2022-06-16 15:03:08 +08:00
karmada-bot
5a4f449d3b
Merge pull request #2003 from Momeaking/dev-fix-etcd-dp
...
fix etcd-default-path
2022-06-16 10:12:08 +08:00
Momeaking
e9144f4837
fix etcd-default-path
...
Signed-off-by: Momeaking <1026415175@qq.com>
2022-06-15 10:15:03 +08:00
bruce
faf8558b02
add Error message when unjoining cluster with a non-existent clustername
...
Signed-off-by: bruce <zhangyongxi_yewu@cmss.chinamobile.com>
2022-06-15 10:09:53 +08:00
RainbowMango
56d1570439
rename misleading label constant
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-14 11:25:10 +08:00
changzhen
8ada4671ae
clean-up unused code for upgrade scene
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-06-14 10:32:44 +08:00
bruce
738352611e
sync status of pod
...
Signed-off-by: bruce <zhangyongxi_yewu@cmss.chinamobile.com>
2022-06-13 15:15:56 +08:00
karmada-bot
1ae36f7e16
Merge pull request #1987 from Garrybest/pr_ttl
...
fix bugs of aggregating job status
2022-06-13 12:02:04 +08:00
Garrybest
3ad6f31a7b
fix bugs of aggregating job status
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-06-10 17:47:00 +08:00
karmada-bot
e68c089165
Merge pull request #1663 from kerthcet/feature/add-outoftree-registry
...
feat: add outOfTree plugin entry when initializing scheduler
2022-06-10 14:45:01 +08:00
karmada-bot
a4576872ca
Merge pull request #1960 from calvin0327/move-cluster-annotations
...
rename cache resource annotation
2022-06-10 14:19:01 +08:00
calvin0327
d4da468dc3
move this annotation key `cluster.karmada.io/name` to the Cluster API.
...
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-06-10 11:29:04 +08:00
karmada-bot
6ae45f8618
Merge pull request #1902 from hanweisen/addevent
...
add syncEvent from execution_controller to resource
2022-06-10 10:42:01 +08:00
hanweisen
f43f67367c
add syncEvent from execution_controller to resource
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-10 09:58:07 +08:00
karmada-bot
d5275106fa
Merge pull request #1928 from chaunceyjiang/headless
...
When ServiceImportType is Headless, it should be ignored
2022-06-10 09:57:08 +08:00
RainbowMango
3af32d433d
setup karmada-search owners
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-09 10:41:19 +08:00
karmada-bot
3791cd5815
Merge pull request #1824 from wuyingjun-lucky/promote_bug
...
Fix promoting failed if a resource with other kind used same name has promoted before
2022-06-08 11:54:58 +08:00
karmada-bot
1737035d63
Merge pull request #1968 from duanmengkk/bugfix_apienables
...
fix the incorrect use of ServerGroupsAndResources() in client-go
2022-06-07 17:32:58 +08:00
duanmeng
800107904e
fix the incorrect use of ServerGroupsAndResources() in client-go
...
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-06-07 16:44:11 +08:00
karmada-bot
fba00666c0
Merge pull request #1951 from huntsman-li/feat/search
...
fix(karmada-search): uncomparable `cache.ResourceEventHandler`
2022-06-07 11:07:57 +08:00
charlesQQ
6fc65fb281
ut: add unit test for requestinfo
...
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-06-06 11:46:02 +08:00
wuyingjun
667e0ee9d5
fix promoting failed if a resource with other kind used same name has promoted before
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-04 21:10:55 +08:00
karmada-bot
14e673be3d
Merge pull request #1874 from mrlihanbo/proxy-header-api
...
add ProxyHeader API
2022-06-04 09:46:55 +08:00
huntsman_ly
5790aacba0
fix(karmada-search): uncomparable `cache.ResourceEventHandler`
...
Since `SingleClusterInformerManager.ForResource` uses `==` to determine whether the handler exists, `backendstore.Default` need to return a comparable `cache.ResourceEventHandler`.
Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>
2022-06-03 10:22:54 +08:00
chaunceyjiang
fdbe1d6649
fix log
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-06-02 17:45:56 +08:00
karmada-bot
08fe6a6df0
Merge pull request #1855 from hanweisen/karmadainit
...
when type wrong etcd-storage-mode throw error
2022-06-02 12:02:52 +08:00
kerthcet
84cc6f8500
Feat: add outOfTree plugin entry when initializing scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-06-01 20:32:54 +08:00
AllenZMC
62b5181d33
Update default kube-apiserver from v1.21 to v1.22
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-01 15:57:32 +08:00
karmada-bot
e80336a403
Merge pull request #1917 from XiShanYongYe-Chang/search-with-labels
...
Support to search resources with labels
2022-06-01 15:50:51 +08:00
karmada-bot
60170ea4b5
Merge pull request #1916 from my-git9/etcd4
...
adjust etcd version
2022-06-01 14:00:51 +08:00
xin.li
99807e3f75
modify output for deinit
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-31 21:08:36 +08:00
changzhen
b7fe29a5a3
support to search resources with labels
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-31 20:05:37 +08:00