pigletfly
|
eef56c31d2
|
Fix add retry on createorupdate
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2022-02-11 14:30:36 +08:00 |
pigletfly
|
c996f6bd5b
|
Add retry on CreateOrUpdateWork
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2022-02-09 17:00:56 +08:00 |
wlp1153468871
|
c570006603
|
Update first in RetryOnConflict
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
|
2022-01-24 18:55:38 +08:00 |
karmada-bot
|
e2c7d90aa0
|
Merge pull request #1298 from pigletfly/fix-log
Fix ignore log error when error is isnotfound
|
2022-01-21 16:41:25 +08:00 |
pigletfly
|
b3c31f2fad
|
Fix ignore log error when error is isnotfound
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2022-01-21 16:08:01 +08:00 |
Xinzhao Xu
|
501f68aea4
|
Clean up the code that converts Unstructured objects
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
|
2022-01-19 10:28:30 +08:00 |
Xinzhao Xu
|
2f55e6c583
|
Implementing the AggregateStatus hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
|
2022-01-18 20:35:26 +08:00 |
helenfrank
|
43036a9670
|
Replace all the retry.DefaultBackoff with retry.DefaultRetry from codebase
Signed-off-by: helenfrank <helenfrank@protonmail.com>
|
2022-01-11 10:28:59 +08:00 |
Garrybest
|
ae3eaaee5b
|
fix bug of resource computing
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2022-01-08 12:03:49 +08:00 |
Xinzhao Xu
|
a895c38005
|
Implementing the ReviseReplica hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
|
2021-12-24 16:02:25 +08:00 |
karmada-bot
|
5eefcd6a49
|
Merge pull request #1053 from mrlihanbo/delete-work-bugfix
abort deleting workload when the member cluster is unready
|
2021-12-20 17:07:27 +08:00 |
lihanbo
|
5290f07345
|
abort deleting workload when the member cluster is unready
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-12-19 14:29:12 +08:00 |
changzhen
|
586cd9d407
|
update discoveryv1beta1 to discoveryv1 for endpointslice
Signed-off-by: changzhen <changzhen5@huawei.com>
Signed-off-by: Shike-Ada <1073457937@qq.com>
|
2021-12-18 17:19:21 +08:00 |
karmada-bot
|
3a743aaaa9
|
Merge pull request #1060 from mrlihanbo/FullyApplied
update FullyApplied condition after aggregating works status
|
2021-12-10 17:43:18 +08:00 |
lihanbo
|
c07b6ce2dd
|
update FullyApplied condition
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-12-10 17:16:05 +08:00 |
Garrybest
|
60c3f31897
|
delete scale scheduling
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-12-07 10:03:18 +08:00 |
lihanbo
|
435f32cc4d
|
update Scheduled conditon when failed scheduling
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-12-02 17:53:53 +08:00 |
Garrybest
|
5195d93ec4
|
add startTime and completionTime in job status
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-11-25 21:50:36 +08:00 |
changzhen
|
033de2de9f
|
delete the TODO logic with binding labels
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-11-22 17:41:55 +08:00 |
Kevin Wang
|
f8af0363f6
|
Update resource interpreter api (aka. explorewebhook)
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
|
2021-11-20 14:59:52 +08:00 |
guoyao
|
ae34e4d1b8
|
unify IsNodeReady function
Signed-off-by: guoyao <1015105054@qq.com>
|
2021-11-15 11:35:03 +08:00 |
changzhen
|
d81f6e81ce
|
hooks matching and sending requests to webhook
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-11-15 10:34:18 +08:00 |
RainbowMango
|
9e7fde6ab9
|
Setup custom resource explorer
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-11-12 17:11:24 +08:00 |
karmada-bot
|
d0a7a9ac7e
|
Merge pull request #933 from gy95/continue
remove orphan works failed cannot print successful logs
|
2021-11-08 16:19:22 +08:00 |
guoyao
|
fc578cc496
|
remove orphan works failed cannot print successful logs
Signed-off-by: guoyao <1015105054@qq.com>
|
2021-11-08 14:55:26 +08:00 |
Garrybest
|
a29f3f7a50
|
divide replicas by dynamic weight
Signed-off-by: Garrybest <garrybest@foxmail.com>
Co-authored-by: junqian <junqian@tencent.com>
|
2021-11-06 22:38:57 +08:00 |
wawa0210
|
597abca96e
|
Delete EndpointSlice should consider the situation that it no longer exists
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
|
2021-10-25 21:18:42 +08:00 |
karmada-bot
|
d2af1e1991
|
Merge pull request #823 from dddddai/sched-condition
Propose a Scheduled condition for RB/CRB
|
2021-10-18 15:15:01 +08:00 |
dddddai
|
eaea5c608b
|
add scheduled condition for binding
Signed-off-by: dddddai <dddwq@foxmail.com>
|
2021-10-18 11:43:40 +08:00 |
karmada-bot
|
cceed5c9f8
|
Merge pull request #791 from dddddai/from-cache
Fetch control plane workload from cache instead of api server
|
2021-10-15 17:55:57 +08:00 |
dddddai
|
65071d1e64
|
fetch control plane workload from cache instead of api server
Signed-off-by: dddddai <dddwq@foxmail.com>
|
2021-10-15 17:33:25 +08:00 |
wawa0210
|
2d332b7556
|
Support delete ophranworks can continue the remove operation when an exception occurs, and finally return all deleted exceptions
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
|
2021-10-13 23:44:24 +08:00 |
changzhen
|
cac82db303
|
move binding's namespace/name from work's label to annotation
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-10-09 16:28:00 +08:00 |
karmada-bot
|
7d77644d43
|
Merge pull request #775 from Garrybest/pr_cleanup
clean up unstructured conversion
|
2021-09-29 12:05:35 +08:00 |
Garrybest
|
e9a7a2a022
|
clean up unstructured conversion
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-29 11:33:19 +08:00 |
dddddai
|
ede9fad83c
|
add finalizer in resource binding and cluster resource binding
Signed-off-by: dddddai <dddwq@foxmail.com>
|
2021-09-29 11:21:51 +08:00 |
RainbowMango
|
56fbbe1054
|
adopt binding v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-09-28 17:03:46 +08:00 |
changzhen
|
e118c7909e
|
fix an error when karmada-controller-manager restart
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-09-26 20:39:51 +08:00 |
esto
|
a6165e47f9
|
update import-aliases
Signed-off-by: esto <1291156784@qq.com>
|
2021-09-15 15:13:14 +08:00 |
karmada-bot
|
f380abf288
|
Merge pull request #657 from Garrybest/pr_estimator
add node claim into ReplicaRequirements
|
2021-09-07 09:13:03 +08:00 |
Garrybest
|
4f8215e071
|
add node claim into ReplicaRequirements
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-06 15:31:42 +08:00 |
karmada-bot
|
2b615642ca
|
Merge pull request #579 from pigletfly/fix-rb-status
Retry conflict errors when aggregating binding status
|
2021-08-30 17:50:52 +08:00 |
pigletfly
|
a2f78ab794
|
Fix update rb status
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-08-30 17:14:17 +08:00 |
changzhen
|
7299d8c091
|
move helper.EnsureWork() to pkg/controllers/binding
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-08-24 15:34:27 +08:00 |
changzhen
|
a4bc72c03c
|
retain necessary fields in Pod object
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-08-23 20:26:29 +08:00 |
pigletfly
|
4df1ae6806
|
Add applied result in aggregated status
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-08-13 23:17:38 +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 |
weilaaa
|
32d051ceae
|
remove duplicated constants in binding.go
Signed-off-by: weilaaa <weilanidaye@gmail.com>
|
2021-08-06 10:55:03 +08:00 |
pigletfly
|
8edb376966
|
Move labels to apis
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-08-06 00:03:00 +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 |
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 |
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
|
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 |
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
|
ffe285ea2a
|
ensure work with given replicas
Signed-off-by: junqian <junqian@tencent.com>
|
2021-07-07 15:14:23 +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 |
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 |
RainbowMango
|
a81c714afc
|
Enable gocyclo static check
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-06-22 21:38:07 +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 |
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 |
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
|
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 |
Hanbo Li
|
28e6d3ff71
|
support ReplicaSchedulingPolicy (#269)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
Signed-off-by: Lihanbo (Hampo <l00512446@china.huawei.com>
|
2021-04-15 17:37:38 +08:00 |
RainbowMango
|
f1777392f9
|
record applied override items for work object
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-03-30 16:13:58 +08:00 |
Hongcai Ren
|
1bf2e6502f
|
suppress some useless logs (#224)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-03-19 14:42:00 +08:00 |
Zhen Chang
|
0290ebf253
|
Aggregate status to clusterResourceBinding (#223)
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-03-18 14:40:33 +08:00 |
Zhen Chang
|
da34779efb
|
Aggregate status to resourcebinding (#221)
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-03-17 18:17:46 +08:00 |
Hongcai Ren
|
f556e93264
|
Watches cluster propagation policy changes (#211)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-03-11 17:03:11 +08:00 |
Hanbo Li
|
fa86b6afd1
|
add cluster resource binding controller (#205)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-03-11 09:18:28 +08:00 |
Hongcai Ren
|
5abf32099f
|
wait for dependent override present before apply policy (#204)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
|
2021-03-10 17:14:15 +08:00 |
Hanbo Li
|
d48065f086
|
add webhook for clusterpropagationpolicy and propagationpolicy (#201)
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-03-10 09:36:32 +08:00 |