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
chaunceyjiang
17a44ae041
When ServiceImportType is Headless, it should be ignored
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-05-31 15:37:24 +08:00
changzhen
f2e92ab467
fix add annotation when annotation is nil
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-31 14:23:58 +08:00
xin.li
7a01a35204
adjust etcd version
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-30 21:57:27 +08:00
karmada-bot
3f1d0cf81c
Merge pull request #1720 from CharlesQQ/scheduler-feature
...
feat: allow propagate workload to cluster but replicas is zero
2022-05-30 20:37:49 +08:00
Garrybest
d1ce1a126d
fix implicit issue for event filter
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-30 10:48:32 +08:00
karmada-bot
22b368abb4
Merge pull request #1909 from hanweisen/cleanup
...
delete unused parameter
2022-05-30 09:28:48 +08:00
hanweisen
b8abd537fb
delete unused parameter
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-05-29 23:36:52 +08:00
likakuli
a42c819c10
feat: taint cluster by condition and filter cluster by taint in scheduler
...
Signed-off-by: likakuli <1154584512@qq.com>
2022-05-29 11:54:11 +08:00
karmada-bot
4eba0e506b
Merge pull request #1890 from my-git9/livs
...
Add livenes for karmada-scheduler
2022-05-29 00:11:46 +08:00
lonelyCZ
bc45915bf3
Add karmada-search API documents
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-28 17:23:37 +08:00
huntsman_ly
95f60b5ec8
feat: karmada-search backendStore (opensearch)
...
Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>
2022-05-27 17:14:22 +08:00
karmada-bot
bad8959132
Merge pull request #1891 from XiShanYongYe-Chang/karmada-search
...
Support karmada-search component search interface
2022-05-27 10:46:45 +08:00
karmada-bot
9b8fec2537
Merge pull request #1878 from lonelyCZ/pr-optimize-deinit
...
Optimize deinit according former comments
2022-05-27 09:41:46 +08:00
bruce
05012477f5
a bad log was found when doing promote
...
Signed-off-by: bruce <zhangyongxi_yewu@cmss.chinamobile.com>
2022-05-26 20:10:57 +08:00
changzhen
1445785fc5
support karmada-search component search interface
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-26 19:21:18 +08:00
xin.li
068f64e32f
add livenes for karmada-scheduler
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-26 19:09:12 +08:00
RainbowMango
a556816efd
Adds BackendStore to SearchRegistry API
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-05-26 09:59:52 +08:00
chang.qiangqiang
962089cb01
feat: add command option for enable-empty-workload-propagation
...
Signed-off-by: charlesQQ <charles_ali@qq.com>
Author: charlesQQ <charles_ali@qq.com>
2022-05-26 00:52:15 +08:00
RainbowMango
2efe6cf9c8
Update SearchRegistry API
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-05-25 18:16:22 +08:00
karmada-bot
ba71cdc5f9
Merge pull request #1865 from huntsman-li/feat/search
...
feat(karmada-search): Implement SearchRegistry reconcile logic
2022-05-25 17:36:43 +08:00
huntsman_ly
de186ea043
feat(karmada-search): Implement SearchRegistry reconcile logic
...
Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>
2022-05-25 14:42:31 +08:00
lihanbo
08833eb186
add ProxyHeader API
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-05-25 14:20:26 +08:00
lonelyCZ
c8ed3f8145
Optimize deinit according former comments
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-25 10:32:14 +08:00
changzhen
c5178b8ba9
add InterpreterOperationInterpretStatus for supportedInterpreterOperation
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-24 19:21:17 +08:00
karmada-bot
801d18767b
Merge pull request #1829 from dddddai/cluster-status
...
Add cluster failure threshold
2022-05-24 18:03:43 +08:00
dddddai
339f431673
add cluster failure threshold
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-05-24 17:22:05 +08:00
karmada-bot
766def4bc9
Merge pull request #1867 from zirain/readiness
...
add readiness for aa
2022-05-24 15:53:42 +08:00
karmada-bot
a2ddf45217
Merge pull request #1869 from anu491/removing_deprecated_flag
...
Removed Deprecated karmada-config flag
2022-05-23 21:30:47 +08:00
karmada-bot
d9b043bedd
Merge pull request #1861 from xyz2277/karmada-zyx-1
...
karmada agent can't find context of karmada-apiserver.config
2022-05-23 20:49:41 +08:00
anu491
ea3ff53a7a
Removed Deprecated flag
...
Signed-off-by: anu491 <anutosh.bhat.21.linux@gmail.com>
2022-05-23 15:54:58 +05:30
hejianpeng
fac03b4ff3
add readiness for aa
...
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-05-23 14:47:21 +08:00
bruce
f4ed1d5fa2
karmada agent can't find context of karmada-apiserver.config
...
Signed-off-by: bruce <zhangyongxi_yewu@cmss.chinamobile.com>
2022-05-23 11:37:21 +08:00
karmada-bot
ecbb15ed07
Merge pull request #1842 from RainbowMango/pr_unittest
...
supply unit test to cover zero replica case
2022-05-23 09:22:42 +08:00
hanweisen
c40bd7ea45
when type wrong etcd-storage-mode throw error
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-05-21 22:48:45 +08:00
karmada-bot
58c0bc4887
Merge pull request #1839 from wuyingjun-lucky/bug_fix
...
Discard unused param in cmd functions
2022-05-21 10:05:42 +08:00
RainbowMango
db217990dd
supply unit test to cover zero replica case
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-05-20 11:39:14 +08:00
wuyingjun
87073c3d78
discard unused param in cmd functions
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-20 11:25:29 +08:00
karmada-bot
8ac5c67611
Merge pull request #1840 from AllenZMC/cleanup
...
Clear confusing comments
2022-05-20 09:07:47 +08:00
AllenZMC
9d07030f11
Clear confusing comments
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-05-20 00:18:51 +08:00
karmada-bot
97fc9d5bca
Merge pull request #1825 from wuyingjun-lucky/taint_bug
...
fix karmadactl taint failed
2022-05-19 14:28:46 +08:00
wuyingjun
44df4a9aca
fix karmadactl taint failed
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-18 16:31:32 +08:00
karmada-bot
9a62ca140b
Merge pull request #1796 from lonelyCZ/pr-exec-describe-cmd
...
Add exec and describe function to karmadactl
2022-05-18 15:57:46 +08:00
karmada-bot
cc53e75b1c
Merge pull request #1337 from prodanlabs/karmadactl-deinit
...
karmadactl add deinit subcommand
2022-05-18 15:01:48 +08:00
karmada-bot
d79d2bf802
Merge pull request #1806 from chaunceyjiang/issue_1797
...
fix when the type of svc is nodeport. resourcebindings FULLYAPPLIED field is False
2022-05-18 14:33:47 +08:00
karmada-bot
db21fac0f6
Merge pull request #1820 from XiShanYongYe-Chang/modify-karmadactl-logs-example
...
Modify karmadactl logs example
2022-05-18 11:42:47 +08:00
karmada-bot
5199979588
Merge pull request #1799 from huone1/spreadconstraint-admission
...
optimize the validating webhook for spreadconstraint
2022-05-18 11:06:46 +08:00
changzhen
36e4bff38c
modify karmadactl logs example
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-18 11:00:48 +08:00
huone1
d969e0c6bc
optimize the validating webhook for spreadconstraint
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-05-18 10:58:41 +08:00
karmada-bot
be5755daaf
Merge pull request #1781 from Garrybest/pr_clusterlifecycle
...
enhance cluster lifecycle management: add taints for the clusters which are unhealthy for a period of time
2022-05-18 09:33:47 +08:00
Garrybest
967fa8d18a
add cluster lifecycle management test
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-17 21:51:22 +08:00
Garrybest
7107e3934f
enhance cluster lifecycle management
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-17 21:17:42 +08:00
chaunceyjiang
52a3c46218
fix when the type of svc is nodeport. resourcebindings FULLYAPPLIED field is False
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-05-17 15:26:18 +08:00
chaunceyjiang
7c283b124b
log format
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-05-17 11:47:18 +08:00
karmada-bot
5577f05587
Merge pull request #1802 from XiShanYongYe-Chang/karmada-search
...
Add karmada-search fabric
2022-05-17 10:48:46 +08:00
karmada-bot
ee820d8b29
Merge pull request #1790 from ikaven1024/fix-ut
...
fix test fail on arm64 mac `panic: permission denied`, removing gomonkey
2022-05-17 10:15:45 +08:00
changzhen
3e217b0249
add karmada-search fabric
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-17 09:24:04 +08:00
yingjinhui
dafe30c649
fix test fail on arm64 mac `panic: permission denied`, removing gomonkey
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-16 20:07:40 +08:00
lonelyCZ
4439316d2a
Add describe function to karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-16 10:54:26 +08:00
lonelyCZ
8cae9be548
Add exec function to karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-16 10:53:33 +08:00
lonelyCZ
36090a1bfa
Make getclusterInfo function more general
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-15 22:03:57 +08:00
lonelyCZ
aae6d087d0
Enable promote command to support AA
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-14 16:49:45 +08:00
karmada-bot
a35672271f
Merge pull request #1764 from wuyingjun-lucky/debug_fot
...
feature_1753:support kube-image-mirror-country and kube-image-registry
2022-05-13 15:33:43 +08:00
karmada-bot
bac80da911
Merge pull request #1785 from AllenZMC/context_test
...
add ut for IsControllerEnabled and update configure-controllers.md
2022-05-13 15:24:43 +08:00
AllenZMC
dd2a677e0e
add ut for IsControllerEnabled and correct the mistakes for configure-controllers.md
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-05-13 14:41:54 +08:00
carlory
77b37983ba
fix karmadactl init examples
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-05-13 14:25:40 +08:00
wuyingjun
78cb7291c0
feature_1753:support kube-image-mirror-country and kube-image-registry
...
Update pkg/karmadactl/cmdinit/kubernetes/deploy.go
Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
Update pkg/karmadactl/cmdinit/cmdinit.go
Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
Apply suggestions from code review
Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-12 22:29:48 +08:00
karmada-bot
0f2bd7c02b
Merge pull request #1766 from duanmengkk/feature_globalResource
...
fixed a bug where not-namespaced resource could not be promoted
2022-05-12 14:55:42 +08:00
karmada-bot
df60b85ff3
Merge pull request #1682 from ikaven1024/pr-lifted
...
add update-lifted and verify-lifted
2022-05-12 11:51:42 +08:00
duanmeng
e7ba433f50
fixed a bug where not-namespaced resource could not be promoted
...
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-05-12 10:57:35 +08:00
yingjinhui
568a22a79e
add update-lifted and verify-lifted
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-12 10:43:35 +08:00
karmada-bot
dfd158270c
Merge pull request #1768 from ikaven1024/fix-ut
...
Fix occasionally TestAggregateJobStatus time error
2022-05-12 10:35:42 +08:00
wuyingjun
8f88eec583
modify variable format using hump
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-12 09:21:33 +08:00
karmada-bot
da78076e26
Merge pull request #1759 from duanmengkk/master
...
fixed a panic which due to nil annotation during promote resources to Karmada
2022-05-11 16:50:31 +08:00
yingjinhui
4518b0e497
Fix occasionally TestAggregateJobStatus time error
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-11 14:46:56 +08:00
karmada-bot
b2ebfb6036
Merge pull request #1733 from XiShanYongYe-Chang/skip-reflect-status
...
Skip reflect work status when resource has empty status
2022-05-11 10:20:33 +08:00
prodan
ac4bde1bf6
karmadactl add deinit subcommand
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-05-11 02:11:37 +08:00
duanmeng
9ea26cc144
fix empty anannotation which result to null-pointer exception when add overwrite annotation
...
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-05-10 22:02:16 +08:00
karmada-bot
977725d479
Merge pull request #1706 from likakuli/feature_fixemptyselectorerr
...
fix empty resource selectors which result to policy will not be consi…
2022-05-10 17:03:31 +08:00
karmada-bot
2bc6ef8bd0
Merge pull request #1721 from lonelyCZ/pr-unify-example
...
Unify usage example template of karmadactl
2022-05-10 15:37:31 +08:00
lonelyCZ
4908b313b7
Unify usage example template of karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-10 12:08:11 +08:00
karmada-bot
97d6d64dfd
Merge pull request #1748 from lonelyCZ/pr-add-context
...
Add --context for karmadactl init
2022-05-10 11:58:31 +08:00
lonelyCZ
885cbbe61c
Add --context for karmadactl init
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-09 15:24:11 +08:00
karmada-bot
d0321b0608
Merge pull request #1743 from lvyanru8200/delete_statusField
...
[fix] delete work status 'Resource' field
2022-05-09 11:27:29 +08:00
lv
12d9023a5c
[fix] delete work status 'Resource' field
...
Signed-off-by: lv <yanru.lv@daocloud.io>
2022-05-09 09:48:21 +08:00
YasongLi
da68d952e1
Add a CRD for the cached member cluster and resource scope. ( #1674 )
...
* Add a CRD named ClusterCache for the cached member cluster and resource scope
Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>
* set resource scoped to cluster-scoped
Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>
* Change the group name to search.karmada.io
Change the kind name to ResourceRegistry
Remove the CachePhase filed; add Conditions
Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>
Co-authored-by: huntsman_ly <huntsman_ly@sina.com>
2022-05-07 12:28:27 +08:00
changzhen
d0dadb282a
skip reflect work status when resource has empty status
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-07 11:02:22 +08:00
karmada-bot
810048fe89
Merge pull request #1670 from XiShanYongYe-Chang/update-work-contains
...
Update judge work contains serviceExport with .spec.workload.manifests
2022-05-07 10:44:27 +08:00
karmada-bot
7b7ae06392
Merge pull request #1708 from zgfh/change-kubecnfig-username
...
update UserName of kubeconfig with clusterNmae perfix
2022-05-03 22:12:24 +08:00
karmada-bot
30ac5aaa37
Merge pull request #1702 from AllenZMC/improve_test
...
Correct the function name error in the comment
2022-05-02 10:00:19 +08:00
Alan Zhu
22a3c92a83
update UserName of kubeconfig with clusterNmae perfix
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-05-01 23:59:07 +08:00
likakuli
56dfba331b
fix empty resource selectors which result to policy will not be considered matched
...
Signed-off-by: likakuli <1154584512@qq.com>
2022-05-01 17:09:36 +08:00
AllenZMC
01a2c8c988
Correct the function name error in the comment
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-05-01 15:14:11 +08:00
Alan Zhu
5e6fd0b8a0
bump default alpine image of karmadactl init from v3.14.3 to v3.15.1
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-05-01 08:34:34 +08:00
karmada-bot
40d61d2053
Merge pull request #1679 from XiShanYongYe-Chang/add-e2e-for-resource-status-collection
...
[E2E] add e2e for ingressStatus collection
2022-04-30 12:54:18 +08:00
karmada-bot
7fde5d7d90
Merge pull request #1683 from prodanlabs/karmadactl-init-fix
...
Fix karmadactl init karmada-controller-manager leader elect failure
2022-04-29 09:32:15 +08:00
karmada-bot
9f37a15590
Merge pull request #1671 from AllenZMC/improve_test
...
add ut for dependencies
2022-04-29 08:54:17 +08:00
prodan
3f3165e8d4
add `leader-elect-resource-namespace` flags
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-04-28 21:08:45 +08:00
changzhen
695c29fe61
add e2e for ingressStatus collection
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-28 11:55:57 +08:00
AllenZMC
c7e770c51d
add ut for dependencies
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-27 16:42:45 +08:00
karmada-bot
fb30db012d
Merge pull request #1668 from XiShanYongYe-Chang/sort-aggregatedStatus-by-clustername
...
Sort the aggregatedStatus in rb/crb by the clusterName
2022-04-27 14:32:15 +08:00
duanmeng
01e13f75ef
improved the output of 'kubectl get cluster -o wide'
...
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-04-27 10:43:08 +08:00
changzhen
43fde63b4d
update judge work contains serviceExport with work.spec.workload.manifests
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-26 20:43:06 +08:00
changzhen
86072e1dbd
sort the aggregatedStatus in rb/crb by the clusterName
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-26 19:40:14 +08:00
AllenZMC
0ce25cb82b
add ut for discovery
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-26 17:07:32 +08:00
karmada-bot
7ea7415b31
Merge pull request #1646 from huone1/feature/spreadconstraint-region
...
support region spread constraint
2022-04-26 12:00:13 +08:00
huone1
7f5809ce6e
support region spread constraint
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-04-26 11:16:48 +08:00
Kante
b5af525b19
introduce schedulerOptions to optimize scheduler instantiation ( #1627 )
...
* feat: introduce schedulerOptions to scheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
* add tests for NewScheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-26 09:26:13 +08:00
karmada-bot
de7b7a15ce
Merge pull request #1638 from lonelyCZ/pr-get-watch
...
Add watch function for karmadactl get
2022-04-25 21:05:13 +08:00
karmada-bot
f4ddd15b61
Merge pull request #1633 from XiShanYongYe-Chang/work-status-grab
...
Add ReflectStatus ResourceInterperter interface to grab workload status
2022-04-25 17:37:12 +08:00
lonelyCZ
4d0186b815
Add lifted information for logs.go
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-25 15:10:25 +08:00
karmada-bot
ac0f8eec95
Merge pull request #1647 from RainbowMango/pr_comment_binding_controller
...
Add comments about why resource template not exist
2022-04-25 09:36:12 +08:00
karmada-bot
c682dee9da
Merge pull request #1597 from lonelyCZ/pr-karmadactl-logs
...
Add logs function to karmadactl
2022-04-24 17:22:11 +08:00
changzhen
0454944b63
add default reflectstatus implemetation
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-24 16:32:03 +08:00
RainbowMango
362bef3065
Add comments about why resource template not exist
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-04-24 15:15:14 +08:00
changzhen
0b985f4463
add default reflectstatus implementation with deployment kind
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-24 11:19:42 +08:00
karmada-bot
8125a0132c
Merge pull request #1629 from RainbowMango/pr_add_binding_assigned_helper
...
Introduce AssignedReplicasForCluster for ResourceBinding
2022-04-24 09:26:11 +08:00
lonelyCZ
f8f2c6b672
Add watch function for karmadactl get
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-23 21:21:09 +08:00
karmada-bot
c36be6b6b2
Merge pull request #1636 from ctripcloud/update-fetch-workload
...
skip reconciling loop quickly after workload gone
2022-04-22 14:44:10 +08:00
lonelyCZ
a52bfca0b8
Add logs function to karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-22 13:52:12 +08:00
RainbowMango
501d586462
Introduce AssignedReplicasForCluster for ResourceBinding
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-04-22 11:49:18 +08:00
karmada-bot
a3c334c3b1
Merge pull request #1637 from AllenZMC/improve_test
...
add ut for rules
2022-04-22 11:41:07 +08:00
karmada-bot
bb46766f63
Merge pull request #1639 from XiShanYongYe-Chang/update-lifted-doc
...
update lifted doc
2022-04-22 10:19:08 +08:00
changzhen
ecc8ddbb02
add ReflectStatus ResourceInterperter interface to grab workload status
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-22 10:08:03 +08:00
changzhen
c1c9ef8904
update lifted doc
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-22 09:43:59 +08:00
AllenZMC
48029b7fb7
add ut for rules
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-21 22:54:25 +08:00
ljx李静雪
4953fbcd9e
if workload is not found, skip to ensure work
...
Signed-off-by: jingxueli <jingxueli@trip.com>
2022-04-21 20:06:29 +08:00
pangshaoqiang
c8edab3fd5
Fix pod exec through cluster/proxy
...
Signed-off-by: pangshaoqiang <pangsq9413@gmail.com>
2022-04-21 16:29:09 +08:00
karmada-bot
28a6c2c767
Merge pull request #1620 from XiShanYongYe-Chang/fix-timeout-with-cluster-proxy
...
[AA] fix timeout when request of `-w` or `logs -f` flags with cluster/proxy
2022-04-21 12:45:06 +08:00
karmada-bot
53d24092b9
Merge pull request #1628 from AllenZMC/improve_test
...
add ut for filter
2022-04-21 10:04:07 +08:00
AllenZMC
a9000a375c
add ut for filter
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-21 00:19:39 +08:00
changzhen
1efbeb6d79
fix timeout when request of -w or logs -f with cluster/proxy
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-20 21:01:57 +08:00
karmada-bot
15e614ba56
Merge pull request #1563 from huone1/optimize/selectClusters
...
[optimize]Consider available resources when selecting clusters
2022-04-20 17:01:09 +08:00
huone1
960b2f924d
[optimize]ensure that the selected clusters has sufficient available resources
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-04-20 15:16:57 +08:00
karmada-bot
4c386f265f
Merge pull request #1625 from AllenZMC/improve_test
...
add ut for revisereplica
2022-04-20 11:56:06 +08:00
karmada-bot
73e24c2ac5
Merge pull request #1622 from stingshen/stingshen/nil_cluster_secret
...
check if cluster secretRef is nil before using it
2022-04-20 09:11:07 +08:00
AllenZMC
f67684acf7
add ut for revisereplica
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-19 22:20:09 +08:00
stingshen
3eada92e03
check if cluster secretRef is nil before using it
...
Signed-off-by: stingshen <stingshen@126.com>
2022-04-19 19:31:40 +08:00
karmada-bot
5b3ef7d93f
Merge pull request #1623 from AllenZMC/improve_test
...
improve test coverage for validation
2022-04-19 11:26:03 +08:00
AllenZMC
2d1bb23b9d
improve test coverage for validation
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-19 10:44:30 +08:00
kerthcet
6d30ff9eb9
refactor: remove commented codes
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-15 16:58:40 +08:00
karmada-bot
9a99433b65
Merge pull request #1382 from kerthcet/feature/add-outoftree-plugins
...
feat: introduce registry to initialize framework
2022-04-15 15:53:57 +08:00
kerthcet
7f3b3dc072
feat: introduce registry to store plugins in framework initialization
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-15 15:09:40 +08:00
AllenZMC
81bb528494
add ut for condition
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-14 20:56:38 +08:00
karmada-bot
9083d06b7c
Merge pull request #1589 from Poor12/add-UT
...
add UT for aggregatestatus
2022-04-12 16:41:53 +08:00
Poor12
6c1b9f1765
add UT for aggregatestatus
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-04-12 14:26:01 +08:00
hanweisen
9c8824642f
fix pull mode example error
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-04-12 11:46:15 +08:00
lonelyCZ
32db15983b
Fix karmadactl get -o yaml|json reporting null error
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-11 00:14:53 +08:00
karmada-bot
b4be8be08d
Merge pull request #1586 from Poor12/fix-1544
...
enable aggregateStatusInterpreter for daemonSet and statefulSet
2022-04-08 11:27:48 +08:00
Poor12
257e36f422
fix 1544-add aggregateStatusInterpreter for daemonSet and statefulSet
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-04-08 10:41:18 +08:00
Garrybest
5770247365
ignore to propagate service account token
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-04-07 19:44:33 +08:00
karmada-bot
a649575920
Merge pull request #1570 from gf457832386/add_filterplugin_cluster_property
...
add filter plugin ClusterProperty to filter cluster
2022-04-07 14:18:46 +08:00
gf457832386
4e436af66e
add filter plugin SpreadConstraint to filter cluster
...
Signed-off-by: gf457832386 <13278887558@163.com>
2022-04-07 12:04:35 +08:00
karmada-bot
756fd12dd3
Merge pull request #1584 from CharlesQQ/master
...
fix: bugfix response's patch and patchType is nil, controller panic
2022-04-07 10:07:47 +08:00
chang.qiangqiang
af3ffd6179
fix: bugfix response's patch and patchType is nil, controller panic
...
Signed-off-by: charlesQQ <charles_ali@qq.com>
fix: bugfix response's patch and patchType is nil, controller panic
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-04-06 19:05:15 +08:00
karmada-bot
79442df784
Merge pull request #1575 from lonelyCZ/pr-get-pull
...
Implement `karmadactl get` to support pull mode cluster
2022-04-06 17:01:47 +08:00
Poor12
83be916fa5
fix 1589-disable hpa controller
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-04-06 10:39:32 +08:00
lonelyCZ
93c3c04c35
Implement karmadactl get to support pull mode cluster
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-02 14:46:30 +08:00
karmada-bot
9cbe962748
Merge pull request #1550 from AllenZMC/karmadactl
...
karmadactl init: add cluster proxy rbac for admin when deploy Karmada control plane
2022-03-31 19:41:02 +08:00
AllenZMC
92bd69a7e6
karmadactl init: add cluster proxy rbac for admin when deploy Karmada control plane
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-31 15:51:53 +08:00
Garrybest
5e9d5d79bb
add parallelism in estimator
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-30 20:30:41 +08:00
Garrybest
b86461e82f
add benchmark in estimator
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-30 20:30:31 +08:00
lonelyCZ
144a77ced8
Add output information when no resource is found
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-29 20:53:36 +08:00
lonelyCZ
6a669fa962
refactor Obj to save more information about resources
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-29 19:48:22 +08:00
karmada-bot
f2144035b4
Merge pull request #1553 from RainbowMango/pr_initilize_binding_helper
...
Setup binding helpers
2022-03-29 09:21:01 +08:00
Garrybest
b082d7d8d1
change event type of descheduler
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-28 19:59:14 +08:00
RainbowMango
545020a042
Setup binding helpers
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-28 15:31:39 +08:00
lihanbo
95825fecfb
update binding's labels when it's policy has been deleted
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-26 15:52:40 +08:00
karmada-bot
431677b1a4
Merge pull request #1334 from huone1/feature/clusterlocality
...
add plugin clusterLocality to favor cluster
2022-03-26 14:18:56 +08:00
karmada-bot
a084c8d7b0
Merge pull request #1543 from XiShanYongYe-Chang/update-judgement-for-setting-job-completions
...
update the judgement for setting completions with job
2022-03-25 17:11:56 +08:00
changzhen
3c11b00720
update the judgement for setting completions with job
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-25 15:41:24 +08:00
huone1
31201c6bf4
add plugin clusterLocality to favor cluster
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-25 15:13:12 +08:00
AllenZMC
e0eae7c52d
add ut for node helper
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-25 14:01:41 +08:00
AllenZMC
850d86dece
improve test coverage
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-24 22:25:11 +08:00
karmada-bot
bf193134e9
Merge pull request #1478 from lonelyCZ/pr-get-aggregated
...
Enable `karmadactl get` command to leverage aggregated API
2022-03-24 19:36:28 +08:00
karmada-bot
70a08589f5
Merge pull request #1506 from huone1/refactor/selectclusters
...
refactor the selectclusters process
2022-03-24 16:51:22 +08:00
lonelyCZ
7a0eefb040
Enable karmadactl get command to leverage aggregated API
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-24 16:36:44 +08:00
huone1
785ad5dc63
add the ut case for selecting cluster
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-24 16:03:59 +08:00
Garrybest
6ca7c2a235
fix hack/update-estimator-protobuf.sh failed with Golang v1.18
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-24 15:14:40 +08:00
c30013971
607b3e918d
add a ut for pod.go
...
Signed-off-by: c30013971 <cuidengdeng@huawei.com>
2022-03-23 17:58:51 +08:00
huone1
c69d0e0eda
refactor the selectclusters process
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-23 14:28:16 +08:00
karmada-bot
3a5d6d132a
Merge pull request #1513 from mrlihanbo/bugfix-rb-status
...
bugfix: update binding status when work's applied condition status changed
2022-03-23 09:58:35 +08:00
huone1
067d45ec4d
fix the fulluapplied status is wrong in some scenario
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-22 11:33:44 +08:00
lihanbo
55b8c1cba9
bugfix: aggregate status to binding when work's applied condition status changed
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-21 21:23:12 +08:00
dddddai
e52e02c23a
add ratelimiter flags for karmada-agent
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-03-19 15:57:57 +08:00
RainbowMango
11fd0f935c
Refactor ratelimit flags to make it easier to share with karmada-agent.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-18 17:25:13 +08:00
karmada-bot
d8bcedc3c1
Merge pull request #1499 from mrlihanbo/binding-update-bugfix
...
bugfixs of dependencies distributor
2022-03-18 17:22:37 +08:00
huone1
670cc154eb
extend the score process to support the normalizeScore and scoreWeight
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-18 11:39:04 +08:00
changzhen
9e40d959e2
add file to record lifted flie list
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-17 20:47:27 +08:00
lihanbo
f66e391ee7
bugfix: update Resource info when update attached binding
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-17 14:55:56 +08:00
lihanbo
8843749bf2
bugfix: enqueue the resource binding that has been scheduled to member clusters
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-17 14:51:27 +08:00
karmada-bot
77e9d182b0
Merge pull request #1450 from XiShanYongYe-Chang/add-ut-for-quota
...
[UT] Add UT for FederatedResourceQuota validating
2022-03-16 16:41:31 +08:00
karmada-bot
df93b7d28c
Merge pull request #1456 from prodanlabs/karmadactl-init-fix
...
`karmadactl`: Fixed `init` commands can not select default release version issue.
2022-03-16 16:16:30 +08:00
changzhen
85ab6c7699
add ut for federatedresourcequota validating
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-16 14:37:13 +08:00