Commit Graph

1041 Commits

Author SHA1 Message Date
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
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