Commit Graph

539 Commits

Author SHA1 Message Date
gy95 9701cc6454 fix make verify cmd generated codes output package is ./
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-06-07 09:30:49 +08:00
karmada-bot bd0d3b8a0c
Merge pull request #409 from XiShanYongYe-Chang/e2e
add E2E cases for policy matching with nil resourceSelectors
2021-06-05 19:39:45 +08:00
Garrybest 821742ec91 add k8s.io/component-helpers into go.mod
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-06-05 16:57:55 +08:00
karmada-bot 552e75a2b9
Merge pull request #404 from RainbowMango/pr_fix_Stringer
Change the receiver of Stringer interface implementation
2021-06-05 14:17:45 +08:00
karmada-bot fc22d2336e
Merge pull request #418 from Garrybest/remove-hard-code
modify hard code in cluster_status_controller
2021-06-05 10:43:44 +08:00
Garrybest 0331f8c6df modify hard code in cluster_status_controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-06-04 20:51:16 +08:00
karmada-bot ff11128c69
Merge pull request #328 from gy95/PATH_golangci
after install package, add $GOPATH/bin to env PATH
2021-06-04 14:13:45 +08:00
karmada-bot fe7c61492b
Merge pull request #410 from garfcat/master
fix #402 replicaschedulingpolicy does not take effect
2021-06-04 09:19:42 +08:00
karmada-bot 2916b9d304
Merge pull request #406 from lfbear/embed-certs-to-kubeconfig
Embed certs to kubeconfig
2021-06-03 21:09:41 +08:00
garfcat 02893e1746 fix #402 replicaschedulingpolicy does not take effect
Signed-off-by: garfcat <xiefei_mvp@163.com>
2021-06-03 20:41:57 +08:00
karmada-bot 9ac012d73b
Merge pull request #408 from RainbowMango/pr_goodfirst_template
Add good first issue template
2021-06-03 18:58:41 +08:00
changzhen 57085fa9ea add E2E cases for policy matching with nil resourceSelectors
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-06-03 15:44:41 +08:00
changzhen a0c7ef95fd refactor NewXXXPolicy method in e2e test
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-06-03 15:44:41 +08:00
karmada-bot 2233ab438c
Merge pull request #365 from Garrybest/cluster-status-controller
using cached lister to get node summary
2021-06-03 14:51:41 +08:00
lfbear c024740f85 add '--embed-certs' flag to embed the contents of certs to kubeconfig
Signed-off-by: lfbear <lfbear@gmail.com>
2021-06-03 14:20:21 +08:00
Garrybest 26085fcd6f feat(cluster-status-controller): use cached lister for getting node summary
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-06-03 11:54:44 +08:00
karmada-bot 1a7b054466
Merge pull request #327 from gy95/GOPATH
modify the way of getting GOPATH variable
2021-06-03 09:18:41 +08:00
gy95 6458d066d3 after install package, add $GOPATH/bin to env PATH
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-06-02 18:05:29 +08:00
karmada-bot 749c2d838b
Merge pull request #391 from XiShanYongYe-Chang/golangc-lint
enable gosec and fix warnings
2021-06-02 17:37:40 +08:00
gy95 365f405b5f modify the way of getting GOPATH variable
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-06-02 17:20:32 +08:00
RainbowMango 132e1df0dc Add good first issue template
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-06-02 16:58:57 +08:00
RainbowMango 0f7c9f7738 Change Stringer interface implementation from pointer receiver to value receiver.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-06-02 15:45:15 +08:00
karmada-bot 5e23d1a706
Merge pull request #396 from lfbear/bugfix-wrong-folder-kickstart
bug fix wrong folder kickstart
2021-06-02 10:12:41 +08:00
changzhen 5473488c04 fix golangci-lint: Implicit memory aliasing in for loop(G601)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-06-01 16:42:57 +08:00
lfbear 70a1ed57a1 bug fix wrong folder kickstart
Signed-off-by: lfbear <lfbear@gmail.com>
2021-06-01 12:49:04 +08:00
Zhen Chang bc7cfd8dc5
add e2e of imageOverrider (#379)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-05-28 14:46:02 +08:00
Wang Bing 40e7a6eff9
Add kubebuilder shortName tag (#376)
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-05-28 11:36:21 +08:00
Hanbo Li 0122d36d82
reschedule resource bindings when reference cluster propagation policy update (#381)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-28 09:32:07 +08:00
Kevin Wang d5ab3dddcc Update README.md
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-05-28 00:34:55 +08:00
lfbear 576c31a901 optimize installation
Signed-off-by: lfbear <lfbear@gmail.com>
2021-05-28 00:34:55 +08:00
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