karmada-bot
|
2cefb24ecf
|
Merge pull request #576 from Garrybest/enhance-lease
Leader election: clean up and add leader election to agent
|
2021-08-09 14:31:12 +08:00 |
karmada-bot
|
8088121b82
|
Merge pull request #586 from weilaaa/fix/remove-duplicated-constants
remove duplicated constants in binding.go
|
2021-08-09 09:31:12 +08:00 |
changzhen
|
7a11781b14
|
add cluster-api schemes
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-08-07 17:45:41 +08:00 |
karmada-bot
|
b9641fdd56
|
Merge pull request #578 from Iceber/unlock-multi-cluster-manager
informermanager: cleanup lock operation
|
2021-08-07 11:16:08 +08:00 |
weilaaa
|
32d051ceae
|
remove duplicated constants in binding.go
Signed-off-by: weilaaa <weilanidaye@gmail.com>
|
2021-08-06 10:55:03 +08:00 |
weilaaa
|
7a980fa842
|
skip disabled gvr when new informers
Signed-off-by: weilaaa <weilanidaye@gmail.com>
|
2021-08-06 10:26:19 +08:00 |
pigletfly
|
8edb376966
|
Move labels to apis
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-08-06 00:03:00 +08:00 |
karmada-bot
|
91cf835872
|
Merge pull request #561 from XiShanYongYe-Chang/fix-cluster-fail-rescheduling
Fix an error in cluster fault rescheduling
|
2021-08-03 22:02:03 +08:00 |
Iceber Gu
|
6b86b6ee9c
|
informermanager: aviod prelonged RLock of the RWMutex
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
|
2021-08-03 14:15:53 +08:00 |
karmada-bot
|
33a214b639
|
Merge pull request #560 from XiShanYongYe-Chang/fix-pvc-update
Retain pvc volumeName when updating
|
2021-08-03 09:19:02 +08:00 |
Garrybest
|
87937a0830
|
clean up leader election
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-02 21:31:05 +08:00 |
changzhen
|
7a35aa069d
|
fix an issue in cluster fault rescheduling
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-31 15:12:29 +08:00 |
karmada-bot
|
056b1cb3c0
|
Merge pull request #509 from Garrybest/work-fix
Generate work name by hash code
|
2021-07-29 17:18:55 +08:00 |
Garrybest
|
4924021f31
|
generate work name by hash
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-07-29 14:55:56 +08:00 |
RainbowMango
|
7607dce76e
|
sync observed generation
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-07-28 20:39:03 +08:00 |
karmada-bot
|
77c99f18b0
|
Merge pull request #557 from XiShanYongYe-Chang/fix-misdeleting
Fix an issue when misdeleting namespace in member cluster
|
2021-07-28 10:10:51 +08:00 |
changzhen
|
5fec824b17
|
retain pvc volumeName when updating
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-27 20:47:57 +08:00 |
karmada-bot
|
1cd23bc45a
|
Merge pull request #547 from RainbowMango/pr_validate_skipped_resource
Enable validation for --skipped-propagating-apis flag
|
2021-07-27 09:21:53 +08:00 |
karmada-bot
|
942db31da4
|
Merge pull request #556 from garfcat/master
cleanup waitlist after resource template is removed
|
2021-07-26 12:10:51 +08:00 |
changzhen
|
cf5f6ecc77
|
fix an issue when misdeleting namespace in member cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-26 12:03:18 +08:00 |
karmada-bot
|
09daa8d3a1
|
Merge pull request #549 from XiShanYongYe-Chang/deprecated-client
use RB lister generated from the SingleClusterInformerManager
|
2021-07-26 08:55:50 +08:00 |
garfcat
|
524ce520e5
|
annotation format
Signed-off-by: garfcat <xiefei_mvp@163.com>
|
2021-07-24 21:38:47 +08:00 |
garfcat
|
1623181ab2
|
Once resource be deleted, the object in the waiting list should be remove.
Signed-off-by: garfcat <xiefei_mvp@163.com>
|
2021-07-23 20:01:23 +08:00 |
karmada-bot
|
b9912a6f22
|
Merge pull request #546 from qianjun1993/scale-scheduler
Replicas changes with aggregated ReplicaDivisionPreference
|
2021-07-23 15:41:46 +08:00 |
changzhen
|
478a8dfbf3
|
use resourceBinding lister generated from the SingleClusterInformerManager
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-23 14:20:12 +08:00 |
junqian
|
65b7f5c8de
|
Replicas changes with aggregated ReplicaDivisionPreference
Signed-off-by: junqian <junqian@tencent.com>
|
2021-07-23 10:10:37 +08:00 |
RainbowMango
|
54801cddca
|
remove inline json tag from status field
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-07-23 09:52:09 +08:00 |
karmada-bot
|
69d167e592
|
Merge pull request #551 from XiShanYongYe-Chang/nil-item
prevent nil key from queue
|
2021-07-23 09:16:46 +08:00 |
RainbowMango
|
fd1bdb4cab
|
validate skipped resource
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-07-22 21:48:43 +08:00 |
karmada-bot
|
e7887f4fb8
|
Merge pull request #533 from pigletfly/watchedNamespace
controller-manager: introduce --skipped-propagating-namespaces flag
|
2021-07-22 19:06:46 +08:00 |
pigletfly
|
3a29c15a7e
|
Add skipped-propagating-namespaces flag
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-07-22 17:41:50 +08:00 |
changzhen
|
8e770944d1
|
drop nil key
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-22 17:38:11 +08:00 |
karmada-bot
|
1d911bbf79
|
Merge pull request #529 from XiShanYongYe-Chang/mcs-e2e
Add e2e test for MCS feature
|
2021-07-22 14:07:45 +08:00 |
changzhen
|
0f1ce4e1d9
|
add e2e test for MCS feature
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-21 16:46:10 +08:00 |
karmada-bot
|
135c628019
|
Merge pull request #515 from qianjun1993/scale-scheduler
Replicas changes with Duplicated ReplicaSchedulingStrategy or Weighte…
|
2021-07-21 10:35:44 +08:00 |
RainbowMango
|
16bb6a2543
|
stop list propagationpolicies and clusterpropagationpolicies from controller-runtime cache
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-07-20 16:26:55 +08:00 |
junqian
|
b15854f3cb
|
Replicas changes with Duplicated ReplicaSchedulingStrategy or Weighted ReplicaDivisionPreference
Signed-off-by: junqian <junqian@tencent.com>
|
2021-07-20 16:17:45 +08:00 |
changzhen
|
5154ba4b37
|
resource's annotation have not been updated after the overridepolicy updated
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-16 18:04:40 +08:00 |
karmada-bot
|
18681cbbe3
|
Merge pull request #530 from XiShanYongYe-Chang/cleanup-todo
Replace util.CreateOrUpdateWork with helper.CreateOrUpdateWork
|
2021-07-16 10:20:37 +08:00 |
changzhen
|
1fe244c3d9
|
refactor util.CreateOrUpdateWork with helper.CreateOrUpdateWork
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-15 16:27:19 +08:00 |
RainbowMango
|
6aaa003f38
|
Add more debug logs for failing case.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-07-15 16:00:46 +08:00 |
karmada-bot
|
f1ee44bc77
|
Merge pull request #473 from XiShanYongYe-Chang/cleanup
Cleanup cyclomatic complexity with function EnsureWork
|
2021-07-14 21:12:33 +08:00 |
changzhen
|
12e2585e82
|
Cleanup cyclomatic complexity with function EnsureWork
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-07-14 20:43:45 +08:00 |
karmada-bot
|
9495cf398f
|
Merge pull request #511 from Garrybest/agent-deploy
fix bugs of agent deployment
|
2021-07-14 12:20:32 +08:00 |
Garrybest
|
e7b9de2f22
|
fix bugs of agent deployment
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-07-14 11:17:13 +08:00 |
karmada-bot
|
82d3e6982c
|
Merge pull request #519 from Garrybest/clean-up
cleanup: use meta.IsStatusConditionTrue
|
2021-07-12 10:29:31 +08:00 |
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 |
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 |
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 |
Garrybest
|
38690cbda6
|
share informer manager in global
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-07-05 19:31:41 +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 |
likakuli
|
29764f26b7
|
Fix misleading logs
Signed-off-by: likakuli <1154584512@qq.com>
|
2021-07-02 17:57:58 +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 |
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 |
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
|
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 |
Garrybest
|
e08029ade4
|
use meta.IsStatusConditionTrue in cluster.go
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-06-19 21:27:21 +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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
gy95
|
92c5df6c35
|
add linter whitespace and fix linter errors
Signed-off-by: gy95 <guoyao17@huawei.com>
|
2021-05-17 14:23:24 +08:00 |