Commit Graph

509 Commits

Author SHA1 Message Date
Hongcai Ren 6fa33a1071
Cleanup resource bindings when cluster propagation policy has been removed (#380)
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-05-27 19:11:32 +08:00
Peng Li ec97ab4089
fix issue that Scheduler do not schedule resourcebinding generated from clusterpropagationpolicy (#374)
Signed-off-by: pengli <justdoit.pli@gmail.com>
2021-05-27 15:31:11 +08:00
changzhen 4ae750b65d add UT of imageOverrider
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-05-26 18:16:44 +08:00
changzhen fa9a2ea662 ImageOverrider Implementation
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-05-26 18:16:44 +08:00
gy95 06e3bb360b
README add go link (#375)
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-25 17:54:05 +08:00
lihanbo 7e1e7b9726 add e2e test for scheduling base on cluster provider/region
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-25 09:11:57 +08:00
lihanbo b565cc0caa support schedule based on cluster provider/region/zone
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-25 09:11:57 +08:00
Iceber Gu 196c394d88
karmadactl: fix join in dry-run mode (#355)
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-05-24 10:47:00 +08:00
gy95 a6461cd434
remove Makefile SOURCES variable (#334)
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-24 09:34:47 +08:00
huiwq1990 e83639b44d
change to err:= (#368)
Signed-off-by: huiwq1990 <huiwq1990@163.com>
2021-05-22 18:54:44 +08:00
Long Dai 56c932e5a6
ci: use verify-staticcheck.sh instead (#350)
Signed-off-by: Long Dai <long0dai@foxmail.com>
2021-05-22 12:59:13 +08:00
Long Dai 72948a3e47
ci: optimize image build (#353)
Signed-off-by: Long Dai <long0dai@foxmail.com>
2021-05-21 10:16:54 +08:00
lihanbo 9834f8b981 add e2e test for taint toleration schedule
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-21 09:20:03 +08:00
lihanbo 08fdfc134a Update vendor
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-21 09:20:03 +08:00
lihanbo 483d5d9fa0 support schedule based on cluster taint toleration
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-21 09:20:03 +08:00
Rui Fang bbcf69f368
work: fix workload name conflicts (#358) (#359)
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-05-20 10:34:27 +08:00
Wang Bing 7a0d6c9b8c
Remove cluster namespace (#352)
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-05-18 23:42:07 +08:00
Iceber Gu 831dfe27bc
scheduler: fix the handling of the *PropatationPolicy updates (#351)
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-05-18 18:10:37 +08:00
Iceber Gu 4b5ec0c637
scheduler: fix the schedule function error return (#346)
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-05-18 00:51:31 +08:00
yuhang efb057932c
Adjust non-root user in quick start (#339)
Signed-off-by: futuretea <1913508671@qq.com>
2021-05-17 20:29:16 +08:00
Kevin Wang 57c3561fff fix lint failure in controller-manager options.go
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-05-17 17:04:13 +08:00
pigletfly ec6f2fdd74 Fix api version
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-05-17 14:24:57 +08:00
gy95 92c5df6c35 add linter whitespace and fix linter errors
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-17 14:23:24 +08:00
Rui Fang f598cb4365
scheduler: fix bug of plugin invalid memory address (#341)
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-05-17 14:11:49 +08:00
pigletfly 1056efa08c Add enalbe-leader-election flag
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-05-17 12:18:52 +08:00
yuhang 76429c6516
Fix panic when no clusters specified (#340)
Signed-off-by: futuretea <1913508671@qq.com>
2021-05-17 11:59:19 +08:00
gy95 6a2ade4512
use const string instead of string literal (#335)
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-17 09:16:42 +08:00
gy95 d33ae3818c
fix blank lines of import packages and repeated import problems (#337)
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-16 19:01:11 +08:00
LeoLiuYan c9f3fd8997 Add gitignore for vscode
Signed-off-by: LeoLiuYan <929908264@qq.com>
2021-05-14 12:22:28 +08:00
Long Dai 5d2854b747 docs: clean up whitenoise
Signed-off-by: Long Dai <long0dai@foxmail.com>
2021-05-14 12:19:58 +08:00
anirudhramnath 112dacd239
Fix import order (#324)
Signed-off-by: anirudhramnath <anirudh.ramnath@live.com>
2021-05-14 09:29:54 +08:00
Zhen Chang 54e198eaa9
sort OverridePolicy/ClusterOverridePolicy by name when more than one policy matched (#316)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-05-13 16:12:44 +08:00
futuretea 39d1a3a636 Fix goimports
Signed-off-by: futuretea <1913508671@qq.com>
2021-05-13 11:31:19 +08:00
futuretea fc79a90507 Enable goimports local prefix check
Signed-off-by: futuretea <1913508671@qq.com>
2021-05-13 11:31:19 +08:00
Peng Li e0f725ca2d
generate resourcebinding from clusterpropagationpolicy based on the "namespace" exist of the comming object (#315)
Signed-off-by: pengli <justdoit.pli@gmail.com>
2021-05-13 10:20:14 +08:00
Hongcai Ren 24ab1993ee
Added more clear description for override API (#318)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-12 20:12:07 +08:00
liufen90 d91f7868d0
support proxy (#307)
Signed-off-by: liufen90 <564795204@qq.com>
2021-05-12 10:51:15 +08:00
Zhen Chang 6a2588245d
match the first PropagationPolicy/ClusterPropagationPolicy in alphabetical order (#306)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-05-11 11:23:38 +08:00
Hongcai Ren 3d2459b377
Add community meeting and contact (#309)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-10 19:26:35 +08:00
RainbowMango 84977d3f06 Update go.mod and vendor
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-10 09:50:26 +08:00
RainbowMango 0203c60ab7 Add image parser utils
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-10 09:50:26 +08:00
RainbowMango 763c2a10e7 Adopt Reconcile() method signature change
Adopt MapOjbect removing change
Adopt event handling object changes
Adopt ToRequestsFunc to MapFunc change
Adopt EnqueueRequestsFromMapFunc change
Adopt runerable interface change
Adopt using admission review version v1

Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-08 19:12:35 +08:00
RainbowMango 58e88eb8a3 bump controller-runtime to v0.8.3
bump kubernetes dependency to v1.20.6

Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-08 19:12:35 +08:00
Hongcai Ren 5652fc54c6
enable cluster proxy that karmada control plane used to talk to clusters (#302)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-08 10:25:56 +08:00
lfear cac800a3df convert demo to svg file in images
Signed-off-by: lfear <lfbear@gmail.com>
2021-04-30 16:47:47 +08:00
lfear 3dd888f42c add a demo in README
Signed-off-by: lfear <lfbear@gmail.com>
2021-04-30 16:47:47 +08:00
gy95 46de97140e remove unnecessary todo
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-04-29 21:27:43 +08:00
gy95 f9ab9bdf09
modify the pr template: comment out the kind examples (#295)
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-04-29 15:04:30 +08:00
Kevin Wang dca8d5a8ed update project roadmap
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-04-29 01:58:38 +08:00
Leo Fang 62b526e385
Fix typo "karmadda" in README (#292)
Signed-off-by: Leo Fang <leofang94@gmail.com>
2021-04-28 09:39:10 +08:00