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
changzhen
4f545e37c6
lifted ut from the k8s codebase for resourcequota
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-16 14:13:33 +08:00
karmada-bot
aef51c0a48
Merge pull request #1460 from XiShanYongYe-Chang/tidy-up-lifted-file
...
Tidy up lifted file
2022-03-15 20:49:31 +08:00
RainbowMango
0f2219840f
Rename karmada controller manager yaml file name
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-15 11:02:45 +08:00
changzhen
d711b72f45
tidy up lifted file
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-15 10:42:32 +08:00
karmada-bot
38f326dd20
Merge pull request #1477 from mrlihanbo/scheduler-add-retry
...
replace update method with patch method when updating schedule result
2022-03-15 08:56:30 +08:00
karmada-bot
feeadbe3ea
Merge pull request #1480 from XiShanYongYe-Chang/update-work-label
...
Update WorkNamespaceLabel/WorkNameLabel to v1alpha1
2022-03-14 17:54:33 +08:00
karmada-bot
42c8c3103b
Merge pull request #1468 from RainbowMango/pr_grouping_log_flags
...
grouping flags for karmada-controller-manager
2022-03-14 17:31:36 +08:00
karmada-bot
096176715f
Merge pull request #1437 from lonelyCZ/init-kubeconfig
...
Fix `karmadactl init` can not read KUBECONFIG environment variable issue
2022-03-14 16:14:31 +08:00
changzhen
74451dba63
Unified WorkspaceLabel/WorkNameLabel
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-14 16:06:02 +08:00
RainbowMango
9279870035
Add another idea about release version
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-14 15:15:35 +08:00
lihanbo
0a42c38b52
replace update method with patch method when updating schedule result
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-14 14:54:29 +08:00
karmada-bot
7e6d4f6990
Merge pull request #1475 from Garrybest/pr_descheduler
...
fix descheduler crash
2022-03-14 09:00:30 +08:00
lonelyCZ
d3ac601801
Fix bug: [karmadactl init] can not read KUBECONFIG environment variable
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-11 18:08:01 +08:00
RainbowMango
7358ea6c42
Grouping log flags of karmada-controller-manager
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-11 17:14:18 +08:00
Garrybest
995a2a4006
fix descheduler crash
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-11 16:15:05 +08:00
karmada-bot
43748ff38e
Merge pull request #1455 from prodanlabs/karmadactl-feature
...
delete the karmada data directory before installing with init
2022-03-11 15:49:24 +08:00
karmada-bot
ad6b7971da
Merge pull request #1449 from sayaoailun/master
...
replace hard coded namespace with custom namespace
2022-03-11 14:31:25 +08:00
prodan
66c5f2701a
fix init image and crd default version
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-03-10 12:30:37 +08:00
karmada-bot
c82a994eda
Merge pull request #1462 from AllenZMC/improve_test_util
...
accelerate merge clusters during schedule and improve test coverage
2022-03-10 11:22:21 +08:00
karmada-bot
0d0975db5d
Merge pull request #1448 from huone1/fix/scheduler
...
fix rb spec.Clusters is incorrent in some scenarios
2022-03-10 09:32:22 +08:00
AllenZMC
3c61c61105
reduce unnecessary code operations in some cases and improve test coverage
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-09 23:09:59 +08:00
karmada-bot
df072cf238
Merge pull request #1458 from chinmaym07/prevent-network-api
...
Prevented network api from propagating
2022-03-09 14:53:21 +08:00
karmada-bot
92fcf13651
Merge pull request #1447 from XiShanYongYe-Chang/remove-retain-service-nodeport
...
Don't retain service nodeport when updating service
2022-03-09 14:00:21 +08:00
chinmaym07
48ffb41720
Prevented network api from propagating
...
Signed-off-by: chinmaym07 <b418020@iiit-bh.ac.in>
2022-03-09 02:17:25 +05:30
karmada-bot
8d460a1bd9
Merge pull request #1446 from RainbowMango/pr_cleanup_ratelimiter
...
chore: cleanup ratelimiter flags
2022-03-09 02:34:20 +08:00
prodan
38c2eb9040
delete the karmada data directory before installing with init
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-03-08 23:14:37 +08:00
karmada-bot
0190fda996
Merge pull request #1401 from lonelyCZ/openapi-swagger
...
Generate API documents for Karmada CRD
2022-03-08 20:27:19 +08:00
sayaoailun
a1bc670e3f
replace hard coded namespace with custom namespace
...
Signed-off-by: sayaoailun <guojianwei007@126.com>
2022-03-08 14:10:39 +08:00
Garrybest
ab2028f341
clean up scheduler metrics
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-08 11:12:25 +08:00
huone1
c876bb624f
fix rb spec.Clusters is incorrent in some scenarios
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-08 11:02:26 +08:00
karmada-bot
7ed9c62651
Merge pull request #1416 from sayaoailun/master
...
`karmadactl`: Fixed `--namespace` flag of `init` command not work issue.
2022-03-08 10:47:21 +08:00
changzhen
3c028192ae
don't retain service nodeport when update service
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-08 09:37:26 +08:00
karmada-bot
4af6414e4e
Merge pull request #1436 from AllenZMC/improve_test
...
improve test coverage
2022-03-08 09:30:22 +08:00
sayaoailun
b5a0160541
bug fix: flag -n doesn't work as expected
...
Signed-off-by: sayaoailun <guojianwei007@126.com>
2022-03-08 08:58:58 +08:00
RainbowMango
8a402f8e94
chore: cleanup ratelimiter flags
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-08 08:57:01 +08:00
huone1
0c0f1eece8
fix the failover e2e test failed
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-07 20:45:09 +08:00
AllenZMC
e21c848e80
improve test coverage
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
improve test coverage
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-07 13:09:24 +08:00
karmada-bot
0ef339011d
Merge pull request #1426 from zgfh/fix-kubectl-karmada-log
...
fix bug: fix can not use '-v 6' to set log level when run kubectl-karmada
2022-03-07 09:38:18 +08:00
karmada-bot
b33bda9709
Merge pull request #1383 from huone1/DeleteCluster
...
[feature]support rescheduling when deleting a cluster
2022-03-04 15:13:14 +08:00
karmada-bot
faac37b2ff
Merge pull request #1366 from pigletfly/move-rb-reconcile
...
moving RB status aggregating from detector to controller
2022-03-04 14:56:14 +08:00
lonelyCZ
fd1a7689b6
Update generated openapi
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-04 14:23:14 +08:00
pigletfly
d8470c2c52
Fix resource binding get reconciled multiple times
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-04 14:21:13 +08:00
lonelyCZ
60ed745aef
Add openapi-gen flag and resource kind in pkg/apis
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-04 14:21:02 +08:00
Alan Zhu
38dd00d46c
fix bug: fix can not use '-v 6' to set log level when run kubectl-karmada
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-03-04 14:13:16 +08:00
karmada-bot
a3426c0504
Merge pull request #1425 from zgfh/feature-kubectl-karmada-init
...
Wait for APIService status when installing karmada with `karmadactl init`
2022-03-04 14:13:14 +08:00
Alan Zhu
03baf1285e
feature: Add check for cluster apiservice when install karmada with kubectl-karmada
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-03-04 13:40:15 +08:00
karmada-bot
cd8d6ac645
Merge pull request #1429 from XiShanYongYe-Chang/federated-resource-qupta-validation
...
add validation for federatedResourceQuota create/update
2022-03-03 20:31:15 +08:00
changzhen
e7b4436dae
add validation for federatedResourceQuota create/update
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-03 19:44:48 +08:00
AllenZMC
f35838a5ce
remove redundant code and improve test coverage
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-03 18:37:25 +08:00
karmada-bot
f3b1142599
Merge pull request #1399 from pigletfly/add-ratelimiter-flags
...
Introduce ratelimiter flags
2022-03-03 17:25:13 +08:00
pigletfly
9e28d6c6e8
add ratelimiter flags
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-03 16:09:39 +08:00
huone1
f7e6ecd56a
[feature]support rescheduling when deleting a cluster
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-03 09:49:44 +08:00
dddddai
c5802628bc
fetch resource from cache instead of api-server
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-03-02 17:24:22 +08:00
karmada-bot
fe8500bfc9
Merge pull request #1306 from zgfh/fix/karmada-join
...
fix: karmada join failed when secret exist
2022-03-02 14:45:13 +08:00
changzhen
fdc2fdb370
eliminate duplicate getworks function
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-01 09:52:51 +08:00
changzhen
62a94e57aa
add federatedResourceQuota status controller
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-28 16:56:44 +08:00
changzhen
b457a3b2e5
add federatedResourceQuota sync controller
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-28 16:13:14 +08:00
karmada-bot
956604dd6e
Merge pull request #1406 from AllenZMC/improve_test
...
improve test coverage
2022-02-28 14:48:09 +08:00
RainbowMango
f5c59c3f1a
Set subresource for federated resource quota
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-28 09:02:13 +08:00
karmada-bot
7892e61b05
Merge pull request #1387 from RainbowMango/pr_resourcequota
...
Introduce FederatedResourceQuota API
2022-02-28 08:55:09 +08:00
AllenZMC
bc3add201d
improve test
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-02-27 21:10:54 +08:00
lihanbo
4569663b40
adapt for propagating dependencies
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-26 15:49:06 +08:00
lihanbo
4a320cd114
add dependencies distributor framework
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-26 15:48:47 +08:00
karmada-bot
d980eeac5d
Merge pull request #1321 from pigletfly/fix-worker-num
...
introduce concurrent flags to controllers
2022-02-25 15:17:06 +08:00
karmada-bot
0756007db1
Merge pull request #1370 from kerthcet/feature/quick-return-in-filter
...
feat: quick return in filter phase when unsuccessful state returned
2022-02-25 14:36:06 +08:00
RainbowMango
3f0aa79948
Fix comments from myself.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-25 10:42:26 +08:00
karmada-bot
0c986bdef5
Merge pull request #1392 from Garrybest/pr_desch
...
add karmada-descheduler
2022-02-24 17:21:06 +08:00
pigletfly
957be91796
Fix controller reconcile concurrent
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-02-24 15:54:14 +08:00
lihanbo
83efb14201
add default dependenciesInterpreter
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-24 14:37:05 +08:00
Garrybest
513071d9eb
add karmada-descheduler test
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-24 11:43:38 +08:00
Garrybest
85d8a6ccf4
add karmada-descheduler
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-24 11:43:28 +08:00
kerthcet
eba5d2f497
feat: quick return in filter phase when unsuccessful state returned
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-02-24 10:45:19 +08:00
Garrybest
fcbbe3f0a2
revise comment of proto
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 16:17:41 +08:00
karmada-bot
670a77aead
Merge pull request #1380 from Garrybest/pr_estimator
...
Descheduler: Implement GetUnschedulableReplicas for estimator
2022-02-23 14:54:04 +08:00
Garrybest
90900309ca
implement GetUnschedulableReplicas for estimator
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 14:19:51 +08:00
Garrybest
0777cf064c
clean up GetObjectFromCache
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 14:19:38 +08:00
karmada-bot
0c043f636f
Merge pull request #1332 from XiShanYongYe-Chang/mci
...
add MultiClusterIngress API for MCI feature
2022-02-23 09:11:04 +08:00
Garrybest
728ef531e0
fix bugs of resource computing
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-22 16:30:24 +08:00
RainbowMango
e102ad37bd
Generates API files
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2022-02-22 15:40:07 +08:00
RainbowMango
29bb02b94b
Add FederatedResourceQuota API
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-22 15:40:07 +08:00
karmada-bot
2bd15c9909
Merge pull request #1381 from kerthcet/feature/remove-temp-files-in-tests
...
feat: remove temp files in tests
2022-02-22 09:49:04 +08:00
karmada-bot
dfef817fdb
Merge pull request #1378 from huone1/optimize/staticWeight
...
delete some invalid logic in static weight strategy
2022-02-22 09:11:03 +08:00
changzhen
54762a28b3
add networking v1alpha1 schemes to gclient
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-21 15:25:06 +08:00
changzhen
f0563e517d
add MultiClusterIngress API for MCI feature
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-21 09:40:55 +08:00
karmada-bot
2d48dd495c
Merge pull request #1377 from RainbowMango/pr_update_k8s
...
Update kubernetes dependencies from v1.22.2 to v1.23.4
2022-02-21 09:11:01 +08:00
kerthcet
defd566097
feat: remove temp files in tests
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-02-20 13:56:30 +08:00
RainbowMango
bff2eb9024
Adopt k/k API/interface changes
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-19 21:16:32 +08:00
karmada-bot
1860fb2af9
Merge pull request #1368 from dddddai/detector
...
Rework "bugfix: resource binding not created occasionally"
2022-02-19 15:56:59 +08:00
huone1
6d8d68a72c
delete some invalid logic in static weight strategy
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-02-19 15:33:02 +08:00
RainbowMango
e7b58f896e
Update generated files
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2022-02-19 09:39:25 +08:00
karmada-bot
5833252422
Merge pull request #1373 from RainbowMango/pr_bump_golang
...
Bump Golang version from 1.16 to 1.17
2022-02-19 09:21:00 +08:00
dddddai
323c4c07da
Rework "bugfix: resource binding not created occasionally"
...
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-02-17 19:03:56 +08:00
RainbowMango
d47fc79101
Bump Golang version from 1.16 to 1.17
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-17 17:58:56 +08:00
jinglinax@163.com
9a9534d09e
return err replace nil
...
Signed-off-by: jinglinax@163.com <jinglinax@163.com>
2022-02-17 15:56:30 +08:00
dddddai
5a96bbfe1d
Revert "bugfix: resource binding is not created"
...
This reverts commit c770cc10f3
.
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-02-13 18:01:48 +08:00
karmada-bot
d898f8469c
Merge pull request #1355 from pigletfly/fix-retry
...
Fix add retry on createorupdate
2022-02-12 10:54:50 +08:00
karmada-bot
4fe9b9acac
Merge pull request #1299 from Garrybest/pr_mock
...
descheduler: add mock client for decoupling test
2022-02-11 15:10:50 +08:00
pigletfly
eef56c31d2
Fix add retry on createorupdate
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-02-11 14:30:36 +08:00
likakuli
f4fc8ee15b
fix a bug that Replica set by overridepolicy will be reset by ReviseReplica interpreterhook issue#1347
...
Signed-off-by: likakuli <1154584512@qq.com>
2022-02-10 16:14:14 +08:00
karmada-bot
94b4f930b7
Merge pull request #1349 from pigletfly/fix-work-retry
...
Add retry on CreateOrUpdateWork
2022-02-09 18:59:59 +08:00
pigletfly
c996f6bd5b
Add retry on CreateOrUpdateWork
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-02-09 17:00:56 +08:00
lonelyCZ
f488d6be90
Fix karmadactl get -o yaml|json
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-02-09 16:28:10 +08:00
lonelyCZ
9b5c9b7ee8
Cleanup checking kubeconfig in karmadactl get
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-02-09 13:14:28 +08:00
karmada-bot
b5493ccf5f
Merge pull request #1324 from huone1/fix/MaxGroups-invalidation
...
fix spreadconstraints[i].MaxGroups Invalidation when scaleup replicas
2022-02-08 11:26:45 +08:00
huone1
75aa4ce0e6
fix spreadconstraints[i].MaxGroups Invalidation when scaleup replicas
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-02-08 10:53:54 +08:00
karmada-bot
846b1aeb98
Merge pull request #1304 from pigletfly/fix-sort-apiResources
...
fixed apiEnablements unordered issue
2022-01-29 15:31:34 +08:00
karmada-bot
648e89ec45
Merge pull request #1328 from EvaDD/master
...
Update first in RetryOnConflict
2022-01-28 16:58:35 +08:00
libentai
f853550111
Update first in RetryOnConflict
...
Signed-off-by: libentai <libentai@huawei.com>
2022-01-28 15:50:18 +08:00
c30013971
773de5e746
Update first in RetryOnConflict
...
Signed-off-by: c30013971 <cuidengdeng@huawei.com>
2022-01-28 14:44:07 +08:00
karmada-bot
231c8b61a6
Merge pull request #1311 from RishiKumarRay/master
...
Update first in RetryOnConflict
2022-01-26 17:40:31 +08:00
Rishi Kumar Ray
893fbefa50
Update first in RetryOnConflict
...
Signed-off-by: Rishi Kumar Ray <rishi.ray@knoldus.com>
2022-01-26 14:33:24 +05:30
pigletfly
314e137e94
Fix log in detector
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-25 20:31:14 +08:00
Alan Zhu
44299055e0
fix: karmada join fail when secret exist
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-01-24 20:13:37 +08:00
wlp1153468871
c570006603
Update first in RetryOnConflict
...
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-01-24 18:55:38 +08:00
karmada-bot
e0e7a60c95
Merge pull request #1199 from dddddai/waiting
...
bugfix: resource binding is not created when creating resources and propagation policies at the same time
2022-01-24 15:47:30 +08:00
pigletfly
2d797acb23
Sort apiResources
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-24 14:57:00 +08:00
dddddai
c770cc10f3
bugfix: resource binding is not created
...
reconcile PP/CPPs and resource templates in one goroutine
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-01-24 10:15:12 +08:00
Garrybest
e322f60917
add mock client
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-22 22:00:04 +08:00
Garrybest
89ddfb4587
move estimator service protos
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-22 22:00:03 +08:00
karmada-bot
6da027a131
Merge pull request #1263 from Garrybest/pr_proto
...
add proto interface for descheduler
2022-01-22 09:50:26 +08:00
karmada-bot
e2c7d90aa0
Merge pull request #1298 from pigletfly/fix-log
...
Fix ignore log error when error is isnotfound
2022-01-21 16:41:25 +08:00
pigletfly
b3c31f2fad
Fix ignore log error when error is isnotfound
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-21 16:08:01 +08:00
karmada-bot
9a20367c97
Merge pull request #1288 from RainbowMango/pr_interpreter_owners
...
Nominate resource interpreter framework owners
2022-01-21 15:00:25 +08:00
karmada-bot
4a343225f9
Merge pull request #1297 from iawia002/typo
...
Fix typo in the test log
2022-01-21 11:36:25 +08:00
karmada-bot
9800c3c672
Merge pull request #1270 from lonelyCZ/optimize-get
...
Optimize karmadactl get to output more information
2022-01-21 11:09:30 +08:00
Xinzhao Xu
efa85c604b
Fix typo in the test log
...
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-21 10:59:48 +08:00
Garrybest
0d5b2427f3
adapt estimator for new interface
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-21 10:22:14 +08:00
Garrybest
8aa095000b
generate proto files for descheduler
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-21 10:22:01 +08:00
Garrybest
9347e4ae0f
add proto files for descheduler
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-21 10:21:23 +08:00
lonelyCZ
684d6c9ab4
Optimize karmadactl get to output more information
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-01-20 20:11:19 +08:00
Alan Zhu
eeb0f28244
karmada init: add more message for easy debug when nodePort exist
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-01-20 18:33:29 +08:00
RainbowMango
dd7a3d4c6b
Nominate resource interpreter framework owners
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-01-20 10:42:01 +08:00
karmada-bot
abc767bfcd
Merge pull request #1277 from iawia002/unstructured
...
Clean up the code that converts Unstructured objects
2022-01-20 10:09:25 +08:00
karmada-bot
28f0bf365b
Merge pull request #1145 from kerthcet/feature/fix-ensure-cyclomatic-complexity
...
fix ensureWork cyclomatic complexity
2022-01-20 09:00:25 +08:00
wlp1153468871
ed261ef0a0
modify log type to Error when err ocurs
...
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-01-19 18:21:19 +08:00
kerthcet
695f3cc99e
fix ensureWork cyclomatic complexity
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-19 13:16:56 +08:00
Xinzhao Xu
501f68aea4
Clean up the code that converts Unstructured objects
...
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-19 10:28:30 +08:00
changzhen
fc7616e234
update HookEnabled interface with resourceinterpreter
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-01-19 09:27:15 +08:00
karmada-bot
0d98cc368d
Merge pull request #1253 from iawia002/aggregate-status-hook
...
Implementing the AggregateStatus hook
2022-01-19 08:56:24 +08:00
Xinzhao Xu
2f55e6c583
Implementing the AggregateStatus hook
...
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-18 20:35:26 +08:00
karmada-bot
95838eb756
Merge pull request #1274 from pigletfly/add-kind
...
Add kind in log
2022-01-18 20:01:09 +08:00
pigletfly
44496e904c
Add kind in log
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-18 19:23:42 +08:00
karmada-bot
5732ba22f9
Merge pull request #1271 from ashley-rongfang/retryonconflict
...
Update first in RetryOnConflict
2022-01-18 12:03:08 +08:00
ashley-rongfang
a1c25ae4a8
Update first in RetryOnConflict
...
Signed-off-by: ashley-rongfang <rongfang@huawei.com>
2022-01-18 11:05:27 +08:00
karmada-bot
439d299523
Merge pull request #1266 from huone1/optimize/event-split
...
[optimize]split the code about resource event into event_handler.go
2022-01-18 10:39:08 +08:00
huone1
e8b717575a
split the code about resource event into event_handler.go
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-01-17 18:19:19 +08:00
Garrybest
74e36f723b
fix event type of apply policy
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-17 11:16:22 +08:00
karmada-bot
1c0abe6ef2
Merge pull request #1257 from RainbowMango/pr_set_owners
...
Put prodanlabs to owner list
2022-01-15 10:19:34 +08:00
karmada-bot
01e4bc9d4d
Merge pull request #1152 from carlory/add-validation-for-cluster
...
add validation for cluster api and remove validating webhook
2022-01-14 14:39:33 +08:00
carlory
f697c03c74
add validation for cluster api and remove cluster validating webhook
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-14 12:08:43 +08:00
RainbowMango
44bee6cb3a
Put prodanlabs to owner list of init functionality
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-01-14 09:46:46 +08:00
huone1
4c9bfbf310
[scheduler]fix a defer execution sequence problem
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-01-13 20:34:34 +08:00
karmada-bot
2060616c4a
Merge pull request #1242 from Fish-pro/increased-readability
...
Focus on the functions syncWorkStatus and reflectStatus, modify comments and rename variable names
2022-01-12 14:31:32 +08:00
chen zechun
306d06a8ff
change syncWorkStatus and reflectStatus function, modify comments and rename variable names.
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-01-12 12:05:32 +08:00
RainbowMango
990bf25072
mark override policy spec.targetCluster and spec.overriders deprecated
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-01-11 19:24:30 +08:00
helenfrank
43036a9670
Replace all the retry.DefaultBackoff with retry.DefaultRetry from codebase
...
Signed-off-by: helenfrank <helenfrank@protonmail.com>
2022-01-11 10:28:59 +08:00
karmada-bot
596f214659
Merge pull request #1225 from Garrybest/pr_resource
...
fix bug of resource computing
2022-01-11 08:59:53 +08:00
karmada-bot
6961c8dd05
Merge pull request #1201 from carlory/openapi
...
aggregatedapiserver support openapi
2022-01-10 20:22:50 +08:00
karmada-bot
bdd69e1bcf
Merge pull request #1226 from pigletfly/fix-retry-on-update
...
Retry on status update conflict
2022-01-10 18:23:50 +08:00
pigletfly
28f1fbf985
Retry on status update conflict
...
Signed-off-by: pigletfly wangbing.adam@gmail.com
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-10 17:44:29 +08:00
carlory
8f019269b0
aggregatedapiserver support openapi
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-10 10:41:26 +08:00
karmada-bot
36176d6a85
Merge pull request #1198 from liangyongzhenya/fix_--cluster-namespace_misleading_description
...
fix --cluster-namespace misleading description
2022-01-10 09:47:51 +08:00
karmada-bot
168d5edc74
Merge pull request #1223 from XiShanYongYe-Chang/add-comments-for-cluster
...
add comments for internal Cluster API
2022-01-09 02:49:50 +08:00
Garrybest
ae3eaaee5b
fix bug of resource computing
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-08 12:03:49 +08:00
changzhen
1d9c2ab6a8
add comments for internal Cluster API
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-01-07 14:52:16 +08:00
Xinzhao Xu
fc20a6c040
update codegen
...
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-07 14:26:41 +08:00
prodan
36b92cc412
organize `karmadactl init` code
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-01-05 19:04:26 +08:00
karmada-bot
808e487a2d
Merge pull request #1211 from Fish-pro/add-space
...
Comment should start with a whitespace
2022-01-05 14:46:45 +08:00
liangyongzhenya
88ba704db2
fix --cluster-namespace misleading description
...
Signed-off-by: liangyongzhenya <yongzhen.liang@daocloud.io>
2022-01-05 14:14:22 +08:00
chen zechun
b2a11f00b0
add a space before the first letter
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
Add spaces for all comments .go file in "pkg/karmadactl/cmdinit/utils/"
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-01-05 11:43:09 +08:00
karmada-bot
8b3aefdb6f
Merge pull request #1206 from carlory/fix-cluster-controller
...
remove unreachable code
2022-01-04 14:15:45 +08:00
prodan
d0665aaf82
Fix karmadactl init not found v1alpha1.cluster.karmada.io object
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-01-03 02:01:34 +08:00
carlory
da91752a29
remove unreachable code
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-02 22:21:45 +08:00
karmada-bot
14487548dd
Merge pull request #704 from mrlihanbo/follow-controller-2
...
update apis for automatically propagate dependencies
2021-12-31 07:44:40 +08:00
karmada-bot
e8a206640e
Merge pull request #1188 from XiShanYongYe-Chang/ignore-some-group-with-impersonate
...
Ignore auto-generated user groups when proxy request
2021-12-29 20:34:39 +08:00
karmada-bot
cd8ee3a6e5
Merge pull request #1183 from lonelyCZ/init-parentcommand
...
Add parentCommand to make init command compatible with `karmadactl`
2021-12-29 20:08:43 +08:00
changzhen
b34e2724b5
ignore some group with Impersonate-Group
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-29 18:20:53 +08:00
lihanbo
82722c2e8f
update apis for automatically propagate dependencies
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-29 15:34:10 +08:00
carlory
17578c8466
remove the karmada client from aggregated-apiserver
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2021-12-29 13:16:44 +08:00
lonelyCZ
8e298f9fa1
Add parentCommand to make init command compatible with karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-29 12:07:28 +08:00
changzhen
05722acfc0
add impersonatorSecretRef for cluster object
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-29 11:08:13 +08:00
karmada-bot
472f8c39d5
Merge pull request #1181 from carlory/print-cluster-columns
...
expose more than name/creation timestamp columns for cluster api
2021-12-29 09:17:39 +08:00
carlory
e69b58c981
define table converter for cluster api that exposes more than name/creation timestamp
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2021-12-29 07:41:23 +08:00
karmada-bot
7c2be233b7
Merge pull request #1174 from prodanlabs/karmadactl-init
...
Log print karmada text logo
2021-12-28 18:00:37 +08:00
RainbowMango
e1b275b960
Remove useless unit tests
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-12-28 17:11:12 +08:00
RainbowMango
537dd0a4ce
Update generated files
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-12-28 16:27:29 +08:00
RainbowMango
a11997c969
Add .spec.impersonatorSecretRef to Cluster
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-12-28 16:20:15 +08:00
prodan
24dc3e5a29
Log print karmada text logo
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2021-12-28 15:46:05 +08:00
karmada-bot
b06925128a
Merge pull request #1164 from XiShanYongYe-Chang/support-clusterproxy-for-pull
...
completes ClusterSpec and create impernator secret for pull mode cluster
2021-12-28 10:44:37 +08:00
karmada-bot
f5c33bbfff
Merge pull request #1165 from RainbowMango/pr_owners
...
Put lonelyCZ on the owner list
2021-12-28 10:02:38 +08:00
changzhen
9833a814a4
create or update cluster and create impersonation secret for pull cluster
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-27 21:07:00 +08:00
karmada-bot
a46961fc7d
Merge pull request #1169 from prodanlabs/karmadactl-init
...
adjust the steps of karmadactl init, update examples
2021-12-27 19:49:37 +08:00
prodan
e38e3cb2e0
adjust the steps of karmadactl init and update examples
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2021-12-27 17:40:17 +08:00
changzhen
bc377033e3
upgrade scenario for pull mod cluster
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-27 12:22:08 +08:00
changzhen
fb8f99718c
upgrade scenario for push mode cluster
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-26 16:48:22 +08:00
karmada-bot
5136be2917
Merge pull request #1167 from carlory/simplify-waiting-code
...
simplify waitForCacheSync func
2021-12-25 18:55:36 +08:00
carlory
572bf7ec4c
simplify waitForCacheSync func
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2021-12-25 17:15:42 +08:00
RainbowMango
b582a380e1
Put lonelyCZ on the owner list
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-12-25 16:09:29 +08:00
karmada-bot
abf08e476d
Merge pull request #1161 from iawia002/deprecate-rsp
...
Remove deprecated ReplicaSchedulingPolicy API
2021-12-25 09:15:34 +08:00
RainbowMango
5797e41161
Update karmada init command help
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-12-24 18:09:02 +08:00