Commit Graph

1067 Commits

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