Garrybest
|
675458ebb2
|
cleanup: use meta.IsStatusConditionTrue
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-07-09 20:38:20 +08:00 |
karmada-bot
|
c944e18206
|
Merge pull request #516 from XiShanYongYe-Chang/agent-suppress
suppress reported work from propagating in agent
|
2021-07-09 19:07:27 +08:00 |
karmada-bot
|
1f8c6a9bba
|
Merge pull request #508 from XiShanYongYe-Chang/webhook
Mutate policy's ResourceSelectors in webhook
|
2021-07-09 18:11:28 +08:00 |
changzhen
|
0d0e7c333e
|
suppress reported work from propagating in agent
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-09 17:27:55 +08:00 |
pigletfly
|
1e274e9b8f
|
Remove duplicate import
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-07-09 12:06:59 +08:00 |
RainbowMango
|
d8e2053b35
|
Suppress reported work from propagating
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-07-09 11:55:30 +08:00 |
changzhen
|
1e6c21cc28
|
mutate policy's ResourceSelectors in webhook
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-09 11:02:23 +08:00 |
karmada-bot
|
e1dfb7707d
|
Merge pull request #506 from qianjun1993/scheduler
scheduler with weighted ReplicaDivisionPreference
|
2021-07-09 10:29:28 +08:00 |
junqian
|
f60a77160c
|
scheduler with weighted ReplicaDivisionPreference
Signed-off-by: junqian <junqian@tencent.com>
|
2021-07-09 09:52:14 +08:00 |
karmada-bot
|
514b5e67db
|
Merge pull request #388 from pigletfly/add-kind-option
Add skippedPropagatingAPIs option
|
2021-07-08 22:23:27 +08:00 |
pigletfly
|
d4bbde279f
|
Add skippedPropagatingAPIs option
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-07-08 19:17:01 +08:00 |
karmada-bot
|
eb81ba0623
|
Merge pull request #502 from RainbowMango/pr_api_enablements
refactor utils for checking API enablements
|
2021-07-08 17:55:26 +08:00 |
karmada-bot
|
6db6baf2ac
|
Merge pull request #503 from qianjun1993/scheduler
scheduler with Duplicated ReplicaSchedulingStrategy
|
2021-07-08 10:00:25 +08:00 |
RainbowMango
|
13aacdfdea
|
refactor utils for checking API enablements
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-07-07 19:47:15 +08:00 |
changzhen
|
7e63e90ef9
|
derive service from ServiceImport
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-07 19:30:40 +08:00 |
karmada-bot
|
b35402c3bd
|
Merge pull request #496 from qianjun1993/ensureWork
ensure work with given replicas
|
2021-07-07 15:40:24 +08:00 |
junqian
|
228dbaa5ba
|
scheduler with Duplicated ReplicaSchedulingStrategy
Signed-off-by: junqian <junqian@tencent.com>
|
2021-07-07 15:32:07 +08:00 |
junqian
|
ffe285ea2a
|
ensure work with given replicas
Signed-off-by: junqian <junqian@tencent.com>
|
2021-07-07 15:14:23 +08:00 |
karmada-bot
|
7a4a5e5f62
|
Merge pull request #494 from XiShanYongYe-Chang/mcs-controller
Collect endpointslices from executionNamespace to serviceexport namespace
|
2021-07-07 11:24:25 +08:00 |
karmada-bot
|
7f2af48e02
|
Merge pull request #495 from qianjun1993/detector
add object resource info to binding
|
2021-07-07 09:15:24 +08:00 |
changzhen
|
a6c76d2ffa
|
collect endpointslices from executionNamespace to service namespace
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-06 22:08:58 +08:00 |
lihanbo
|
8e588ac06f
|
resolve AlreadyExists conflict when create resource in member cluster
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-07-06 21:51:54 +08:00 |
junqian
|
ab4fa71bf2
|
add object resource info to binding
Signed-off-by: junqian <junqian@tencent.com>
|
2021-07-06 11:28:11 +08:00 |
karmada-bot
|
ea47422461
|
Merge pull request #497 from qianjun1993/bug-fix
Update ReplicaScheduling type
|
2021-07-06 11:02:23 +08:00 |
junqian
|
dc80f64b44
|
fix bug that api name is wrong
Signed-off-by: junqian <junqian@tencent.com>
|
2021-07-06 10:25:51 +08:00 |
karmada-bot
|
30c22865aa
|
Merge pull request #490 from Garrybest/informer-manager
share informer manager in global
|
2021-07-06 09:36:23 +08:00 |
Garrybest
|
38690cbda6
|
share informer manager in global
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-07-05 19:31:41 +08:00 |
karmada-bot
|
b00693914a
|
Merge pull request #452 from qianjun1993/scheduler
Support scheduling according to member cluster resources
|
2021-07-05 15:56:22 +08:00 |
junqian
|
8d23a02673
|
update apis for scheduling according to member cluster resources
Signed-off-by: junqian <junqian@tencent.com>
|
2021-07-05 15:29:40 +08:00 |
karmada-bot
|
d95edbd747
|
Merge pull request #484 from XiShanYongYe-Chang/mcs
Add ServiceExport controller to report EndpointSlice
|
2021-07-03 17:15:19 +08:00 |
changzhen
|
f32bd501e6
|
add service_export_controller to watch serviceexport and report endpointslices to karmada
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-03 16:33:07 +08:00 |
karmada-bot
|
2533c3038c
|
Merge pull request #478 from Garrybest/ci-test
Wait context done to satisfy Runnalble interface
|
2021-07-03 10:10:18 +08:00 |
karmada-bot
|
e567f9baf3
|
Merge pull request #485 from likakuli/fix_misleading_logs
Fix misleading logs
|
2021-07-02 18:15:18 +08:00 |
likakuli
|
29764f26b7
|
Fix misleading logs
Signed-off-by: likakuli <1154584512@qq.com>
|
2021-07-02 17:57:58 +08:00 |
karmada-bot
|
0545509cd5
|
Merge pull request #470 from vincent-pli/new-scheduler-plugin-for-api-target-cluster
Add new scheduler plugin for checking if required api has installed in target cluster
|
2021-07-02 15:01:17 +08:00 |
karmada-bot
|
a83ecff01a
|
Merge pull request #476 from XiShanYongYe-Chang/cleanup_retainServiceFields
Cleanup cyclomatic complexity with function retainServiceFields
|
2021-07-02 09:39:17 +08:00 |
pengli
|
c6cf6b83fb
|
Add new scheduler plugin for checking if required api has installed in target cluster
Signed-off-by: pengli <justdoit.pli@gmail.com>
|
2021-07-01 21:51:00 +08:00 |
Garrybest
|
b1de17b3d7
|
block start in cluster health monitor
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-07-01 10:41:45 +08:00 |
lihanbo
|
a7f950766a
|
resolve the 'AlreadyExist' conflicts in a 'Create' process
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-07-01 08:54:06 +08:00 |
RainbowMango
|
831ac18b18
|
Added mcs API schemes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-06-28 09:54:56 +08:00 |
changzhen
|
47bb9b04d0
|
Cleanup cyclomatic complexity with function retainServiceFields
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-06-28 09:49:26 +08:00 |
karmada-bot
|
e1db428290
|
Merge pull request #454 from Garrybest/cluster-lifecycle
monitor cluster health in cluster_controller
|
2021-06-28 09:18:12 +08:00 |
Garrybest
|
d434a4d57e
|
monitor cluster health in cluster_controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-27 16:43:29 +08:00 |
lihanbo
|
f45147a9ce
|
adopt applying manifest to member cluster when resource with the same name and kind already exists
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-06-26 16:25:10 +08:00 |
karmada-bot
|
d982bea021
|
Merge pull request #468 from pigletfly/fix-sync-work
Fix sync work status
|
2021-06-25 21:51:09 +08:00 |
shinytang6
|
3ad39af5cd
|
fix(controller): rm sub-resources from cluster api enablement list
Signed-off-by: shinytang6 <1074461480@qq.com>
|
2021-06-24 21:06:09 +08:00 |
pigletfly
|
46e587e5ad
|
Fix sync work status
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-06-24 16:44:53 +08:00 |
karmada-bot
|
c053b6c8b3
|
Merge pull request #462 from vincent-pli/extend-cluster-status
Extend cluster.status.APIEnablements.Resources to struct with Kind
|
2021-06-24 15:15:08 +08:00 |
pengli
|
d5ee4e64cd
|
Extend cluster.status.APIEnablements.Resources to struct with Kind
Signed-off-by: pengli <justdoit.pli@gmail.com>
|
2021-06-24 13:40:52 +08:00 |
karmada-bot
|
83b9682fd2
|
Merge pull request #456 from Garrybest/resource
add ScalarResources in cluster ResourceSummary
|
2021-06-23 15:56:07 +08:00 |
Garrybest
|
24ca29017e
|
add ScalarResources into cluster
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-23 15:27:34 +08:00 |
RainbowMango
|
a81c714afc
|
Enable gocyclo static check
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-06-22 21:38:07 +08:00 |
karmada-bot
|
26b9fcb272
|
Merge pull request #453 from lfbear/issues-450
Change APIEnablement.Resources to an optional field
|
2021-06-21 15:55:16 +08:00 |
shinytang6
|
ee04a566ab
|
fix(controller): rm useless subresource status
Signed-off-by: shinytang6 <1074461480@qq.com>
|
2021-06-20 21:31:06 +08:00 |
Garrybest
|
e08029ade4
|
use meta.IsStatusConditionTrue in cluster.go
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-19 21:27:21 +08:00 |
lfbear
|
442cfa2dd4
|
change APIEnablement.Resources to optional
Signed-off-by: lfbear <lfbear@gmail.com>
|
2021-06-19 12:38:47 +08:00 |
karmada-bot
|
fa3ac4888e
|
Merge pull request #421 from Garrybest/cluster-lifecycle-manager
add cluster lease controller
|
2021-06-18 17:50:12 +08:00 |
karmada-bot
|
3f99da3024
|
Merge pull request #442 from vincent-pli/no-informer-for-member-cluster-when-applied-faied
No informer for sync status back when k8s resource applied failed to member clusters
|
2021-06-18 12:51:25 +08:00 |
pengli
|
b602aaf868
|
no informer for sync status back when k8s resource applied failed to member cluster
Signed-off-by: pengli <justdoit.pli@gmail.com>
|
2021-06-18 12:00:28 +08:00 |
karmada-bot
|
c6000efe6b
|
Merge pull request #444 from Garrybest/init-container
modify pending pods resource calculation
|
2021-06-17 10:13:08 +08:00 |
Rohan Sharma
|
cd00c7c73c
|
Fix redundant log
Signed-off-by: Rohan Sharma <rhnsharma5113@gmail.com>
|
2021-06-16 20:25:31 +05:30 |
Garrybest
|
b9010cfe9b
|
add cluster lease controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-16 21:19:43 +08:00 |
Garrybest
|
207eb1677f
|
add pending pods resource calculation
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-16 21:13:46 +08:00 |
Garrybest
|
7bc0d00e61
|
clean up cluster resource calculation
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-15 20:15:04 +08:00 |
Garrybest
|
cd6ba3558f
|
calculate ResourceSummary in new cluster API
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-15 15:03:06 +08:00 |
RainbowMango
|
17804ac550
|
Split listNodesAndPods function
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-06-11 17:13:42 +08:00 |
karmada-bot
|
738c148401
|
Merge pull request #417 from Garrybest/cluster-api
make cluster represents more precise resources
|
2021-06-11 16:15:02 +08:00 |
Garrybest
|
7632300761
|
change legacy code to adopt new cluster API
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-10 19:44:58 +08:00 |
Garrybest
|
045e4ad3cf
|
cluster code generate
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-10 17:40:07 +08:00 |
Garrybest
|
f0a59ce4de
|
modify cluster api according to #344
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-10 17:29:03 +08:00 |
RainbowMango
|
89f3569147
|
Making resource selector required
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-06-10 17:15:35 +08:00 |
lihanbo
|
aa4baa12a2
|
clean up works when resource binding has been removed
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-06-10 10:00:54 +08:00 |
huiwq1990
|
d96ac4e222
|
remove unused code
Signed-off-by: huiwq1990 <huiwq1990@163.com>
|
2021-06-07 21:47:14 +08:00 |
lihanbo
|
280abfe468
|
Introduce --karmada-context flag to karmada-agent to select context in
kubeconfig file
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-06-07 20:01:03 +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 |
Garrybest
|
0331f8c6df
|
modify hard code in cluster_status_controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-04 20:51:16 +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 |
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 |
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 |
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 |
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 |
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 |
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 |
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
|
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 |
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 |
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 |