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 |
iawia002
|
df019308be
|
Fix several typos
Signed-off-by: iawia002 <z2d@jifangcheng.com>
|
2021-10-13 15:01:11 +08:00 |
jingxueli
|
63208e518a
|
remove work ownerReferences field
Signed-off-by: jingxueli <jingxueli@trip.com>
|
2021-10-11 14:26:08 +08:00 |
wawa0210
|
a930a54c62
|
The tryCreateWorkload method does not directly output error information, directly returns error, which is handled by the external caller to avoid repeated output
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
|
2021-10-10 23:43:29 +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
|
791a137b04
|
Merge pull request #787 from learner0810/fix/null-pointer-value
return nil in case of creating cluster failed
|
2021-10-09 09:12:48 +08:00 |
karmada-bot
|
0cba977220
|
Merge pull request #785 from learner0810/fix/log-severity
fix/log-severity
|
2021-10-05 13:19:43 +08:00 |
learner0810
|
844708a8fc
|
fix invalid memory address or nil pointer dereference
Signed-off-by: learner0810 <zhongjun.li@daocloud.io>
|
2021-10-03 13:11:28 +08:00 |
learner0810
|
3ffa9dc95f
|
fix/log-severity
Signed-off-by: learner0810 <zhongjun.li@daocloud.io>
|
2021-10-02 20:26:53 +08:00 |
Garrybest
|
52a400202e
|
add pod constraint in general estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-30 18:20:16 +08:00 |
RainbowMango
|
1a60ade046
|
Deprecate ReplicaSchedulingPolicy API(must promote controller-gen cmd)
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-09-30 16:29:28 +08:00 |
karmada-bot
|
3f275c53e6
|
Merge pull request #770 from dddddai/owner-ref
Remove invalid ownerReference in HPA controller
|
2021-09-30 15:37:37 +08:00 |
changzhen
|
acee9c6a09
|
modify event reason
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-09-30 12:09:42 +08:00 |
changzhen
|
e25e2038a4
|
retain original code style
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-09-30 11:15:30 +08:00 |
pigletfly
|
8600106853
|
Add binding event
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
|
2021-09-30 10:54:27 +08:00 |
karmada-bot
|
a072055508
|
Merge pull request #747 from qianjun1993/metrics
add metrics for scheduler
|
2021-09-29 14:11:38 +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 |
junqian
|
226b48bd52
|
add metrics for scheduler
Signed-off-by: junqian <junqian@tencent.com>
|
2021-09-29 10:34:08 +08:00 |
RainbowMango
|
d601d04629
|
Revert API change to v0.8.0
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-09-28 17:03:46 +08:00 |
RainbowMango
|
56fbbe1054
|
adopt binding v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-09-28 17:03:46 +08:00 |
RainbowMango
|
a362e07125
|
Enable multi-version and updates binding to v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-09-28 17:03:46 +08:00 |
karmada-bot
|
54ebf79278
|
Merge pull request #769 from XiShanYongYe-Chang/remove-unused-code
remove logic of cleanup resource template status when delete binding object
|
2021-09-28 12:15:33 +08:00 |
changzhen
|
8559d48298
|
remove logic of cleanup resource template status when binding object delete
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-09-28 11:12:25 +08:00 |
dddddai
|
c9de7fbb07
|
remove invalid ownerReference in HPA Controller
Signed-off-by: dddddai <dddwq@foxmail.com>
|
2021-09-28 11:02:36 +08:00 |
iawia002
|
98cb836c31
|
Move the token and caData definitions to the API definition file
Signed-off-by: iawia002 <z2d@jifangcheng.com>
|
2021-09-27 10:11:52 +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 |
karmada-bot
|
fed43983af
|
Merge pull request #758 from iawia002/cleanup
Move GenerateKey function out of the worker file
|
2021-09-26 11:48:30 +08:00 |
karmada-bot
|
c7b64700d2
|
Merge pull request #755 from phantooom/rui.zou/fix-matchcluster
fix: when matchClusters is empty controller will crash
|
2021-09-26 09:42:31 +08:00 |
Garrybest
|
f89e754f2e
|
back off to general estimator when scheduler estimator is unavailable
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-24 14:26:50 +08:00 |
iawia002
|
61a946aff7
|
Move GenerateKey function out of the worker file
Signed-off-by: iawia002 <z2d@jifangcheng.com>
|
2021-09-24 10:53:38 +08:00 |
karmada-bot
|
d625a87783
|
Merge pull request #746 from dddddai/get-member-workload-from-cache
Get member workload from cache instead of api server
|
2021-09-23 21:18:28 +08:00 |
phantooom
|
b9929128b3
|
fix: when matchClusters is empty controller will crash
Signed-off-by: phantooom <xiaorui.zou@gmail.com>
|
2021-09-23 13:25:08 +08:00 |
karmada-bot
|
d67637c7f9
|
Merge pull request #723 from Garrybest/pr_pod
add resource pod in cluster.status.resourceSummary
|
2021-09-22 11:35:25 +08:00 |
dddddai
|
30a8b34ac7
|
get member workload from cache
Signed-off-by: dddddai <dddwq@foxmail.com>
|
2021-09-20 21:49:49 +08:00 |
dddddai
|
aeafb96d89
|
use cluster lister instead of map to implement scheduler cache
Signed-off-by: dddddai <dddwq@foxmail.com>
|
2021-09-18 16:51:24 +08:00 |
Garrybest
|
a5774944b5
|
add scheduler estimator client
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-18 11:32:32 +08:00 |
karmada-bot
|
c3cf3a3053
|
Merge pull request #732 from ESonata/update-aliases
update import-aliases
|
2021-09-16 12:18:17 +08:00 |
esto
|
a6165e47f9
|
update import-aliases
Signed-off-by: esto <1291156784@qq.com>
|
2021-09-15 15:13:14 +08:00 |
changzhen
|
37ca30ad8f
|
unify version command
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-09-14 22:08:11 +08:00 |
Garrybest
|
1ed38bffe9
|
add resource pod in cluster.status.resourceSummary
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-14 11:32:14 +08:00 |
karmada-bot
|
5dc26481cd
|
Merge pull request #718 from Garrybest/pr_ksetest
add test of karmada-scheduler-estimator
|
2021-09-13 15:05:14 +08:00 |
Garrybest
|
35b02bc497
|
add scheduler estimator test
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-12 13:45:00 +08:00 |
RainbowMango
|
239d94b37a
|
Introduced version command to karmada-controller-manager
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-09-11 15:27:32 +08:00 |
karmada-bot
|
fba0ba8f5a
|
Merge pull request #700 from Garrybest/pr_kre
Add karmada-scheduler-estimator component
|
2021-09-11 09:54:09 +08:00 |
Garrybest
|
5411290137
|
add karmada-scheduler-estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-09-10 16:14:19 +08:00 |
changzhen
|
aca03f146c
|
fix bug: update binding object with replicas and replicaRequirements
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-09-09 17:01:27 +08:00 |
karmada-bot
|
4c2c7d5c94
|
Merge pull request #707 from mrlihanbo/rb-status-bugfix
cleanup status after work object gone
|
2021-09-08 16:54:05 +08:00 |
karmada-bot
|
08ddb58cfd
|
Merge pull request #699 from kerthcet/cleanup/refactor-getScheduleType
refactor func getScheduleType
|
2021-09-08 14:50:05 +08:00 |
changzhen
|
88c2446b50
|
support kubectl karmada plugin
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-09-08 11:15:57 +08:00 |
kerthcet
|
b21bee487d
|
refactor func getScheduleType
Signed-off-by: kerthcet <kerthcet@gmail.com>
|
2021-09-08 11:08:13 +08:00 |
lihanbo
|
3da0a0c117
|
fix bug of aggregating status to resourcebinding
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-09-07 21:00:07 +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
|
fb6f3bfe43
|
Merge pull request #446 from mrlihanbo/reschedule
fix bug of choosing candidate clusters when failover schedule
|
2021-09-06 11:49:02 +08:00 |
changzhen
|
e7841639e7
|
set default weightPreference when WeightPreference is not set
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-09-02 20:22:21 +08:00 |
karmada-bot
|
e6efe45d89
|
Merge pull request #685 from ESonata/cleanup
Cleanup cyclomatic complexity with function getScheduleType
|
2021-09-02 10:52:57 +08:00 |
esto
|
0903703234
|
Cleanup cyclomatic complexity with function getScheduleType
Signed-off-by: esto <1291156784@qq.com>
|
2021-09-01 19:51:13 +08:00 |
karmada-bot
|
b1e5f1e5de
|
Merge pull request #684 from mrlihanbo/bugfix
cleanup label from resource template after PP is removed
|
2021-09-01 15:11:57 +08:00 |
karmada-bot
|
3c3127ab2b
|
Merge pull request #682 from CKchen0726/fix_comment_mistake
fix comment mistake in pkg/controllers/cluster/cluster_controller.go
|
2021-09-01 10:53:56 +08:00 |
karmada-bot
|
2586dc1d8f
|
Merge pull request #623 from phantooom/divide-panic
fix panic: when the summary weight is zero
|
2021-09-01 10:31:56 +08:00 |
karmada-bot
|
dbc87457f4
|
Merge pull request #638 from Garrybest/pr_proto
add replica estimator proto struct definition with generated files and scripts
|
2021-09-01 09:43:56 +08:00 |
CKchen0726
|
de4d4d6bf2
|
fix comment mistake in pkg/controllers/cluster/cluster_controller.go
Signed-off-by: CKchen0726 <chenchangkuan@huawei.com>
|
2021-09-01 09:12:31 +08:00 |
phantooom
|
bf90394a0f
|
fix: when ReplicaSchedulingPolicy all the staticWeightRule weight is 0, calculateReplicas func divide by 0
Signed-off-by: phantooom <xiaorui.zou@gmail.com>
|
2021-08-31 22:34:56 +08:00 |
Garrybest
|
efa2f0d106
|
estimator proto struct definition
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-31 20:04:02 +08:00 |
lihanbo
|
d572c5d80c
|
fix bug of removing labels from resource bingding
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-08-31 19:31:08 +08:00 |
karmada-bot
|
9336af6316
|
Merge pull request #647 from XiShanYongYe-Chang/refactor-imageoverride
refactor imageoverride: use converted resouce to extract json patches
|
2021-08-31 17:38:55 +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
|
3abbacfe83
|
refactor imageoverride: use converted resouce to extract json patches
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-08-28 18:21:27 +08:00 |
karmada-bot
|
546324f381
|
Merge pull request #649 from XiShanYongYe-Chang/move-ensureWork
move helper.EnsureWork() to pkg/controllers/binding package
|
2021-08-28 14:51:48 +08:00 |
karmada-bot
|
b906919d47
|
Merge pull request #658 from XiShanYongYe-Chang/flake-654
fix use controller-runtime client resulting cache delay in detector
|
2021-08-27 19:40:46 +08:00 |
karmada-bot
|
8ec3a67094
|
Merge pull request #656 from mrlihanbo/weight_validation
added validation rules to StaticClusterWeight
|
2021-08-26 16:04:45 +08:00 |
karmada-bot
|
c42ca39041
|
Merge pull request #639 from RainbowMango/pr_nominate_reviewers
nominate owners
|
2021-08-26 09:11:44 +08:00 |
changzhen
|
eacfb492b1
|
fix use controller-runtime client resulting cache delay
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-08-25 15:12:15 +08:00 |
lihanbo
|
223af35f8d
|
added validation rules to StaticClusterWeight
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-08-25 12:03:49 +08:00 |
karmada-bot
|
2cfab7b24d
|
Merge pull request #630 from just1900/master
remove health data explicitly when a cluster is being deleted
|
2021-08-25 10:01:42 +08:00 |
karmada-bot
|
5081eedb0a
|
Merge pull request #601 from qianjun1993/delete-policy
keep ResourceBinding when removing PropagationPolicy
|
2021-08-25 09:16:41 +08:00 |
karmada-bot
|
497ab01cd9
|
Merge pull request #645 from Garrybest/pr_lease
stop the lease controller when cluster does not exist
|
2021-08-24 19:44:40 +08:00 |
karmada-bot
|
06818af310
|
Merge pull request #637 from Garrybest/pr_estimator
move ReplicaResourceRequirements and Replicas into ResourceBindingSpec
|
2021-08-24 15:40:46 +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 |
junqian
|
bf7f4bf097
|
stop remove ClusterResourceBindings labeled with policy
Signed-off-by: junqian <junqian@tencent.com>
|
2021-08-24 15:08:39 +08:00 |
Garrybest
|
16c1723fb4
|
stop the lease controller when cluster does not exist
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-24 14:48:17 +08:00 |
karmada-bot
|
ac86b9050c
|
Merge pull request #646 from XiShanYongYe-Chang/retain-pod
retain necessary fields in Pod object
|
2021-08-24 09:10:40 +08:00 |
karmada-bot
|
cd6c309b2c
|
Merge pull request #626 from lfbear/pr_sa_secrets
Remove the automatic generation secrets in ServiceAccount
|
2021-08-23 20:35:38 +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 |
Garrybest
|
e3f0b9b611
|
clean up AddPodRequest
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-22 11:25:37 +08:00 |
RainbowMango
|
ef1e4c22fd
|
nominate reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-08-21 16:17:58 +08:00 |
Garrybest
|
5af53ce908
|
move ReplicaResourceRequirements and Replicas into ResourceBindingSpec
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-21 10:43:33 +08:00 |
changzhen
|
cb329fd99c
|
Cleanup cyclomatic complexity with function JoinCluster
Signed-off-by: changzhen <changzhen5@huawei.com>
|
2021-08-20 19:43:21 +08:00 |
just1900
|
9b0050c800
|
feat(cluster): remove health data explicitly when a cluster is being deleted
Signed-off-by: just1900 <legendj228@gmail.com>
|
2021-08-20 15:34:00 +08:00 |
betaincao
|
c8e8a6269d
|
add command and args override policy
Signed-off-by: betaincao <betaincao@gmail.com>
|
2021-08-19 17:00:29 +08:00 |
lfbear
|
27bda0c530
|
remove the automatic generation secrets in ServiceAccount
Signed-off-by: lfbear <lfbear@gmail.com>
|
2021-08-19 16:35:18 +08:00 |
RainbowMango
|
f824427351
|
Move QPS and Burst to cluster status controller.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-08-19 11:44:24 +08:00 |
lihanbo
|
d5a595d766
|
reflect status of job/service/ingress to resource template
Signed-off-by: lihanbo <lihanbo2@huawei.com>
|
2021-08-18 17:40:00 +08:00 |
karmada-bot
|
67ded1f9ed
|
Merge pull request #590 from Garrybest/informer-manager
informer-manager: stop the informer before deleting the cluster
|
2021-08-16 19:48:25 +08:00 |
Garrybest
|
1452fa57e3
|
modify usage of informer-manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-16 17:16:42 +08:00 |
Garrybest
|
34ca79166d
|
modify informer-manager to fix #384
Signed-off-by: Garrybest <garrybest@foxmail.com>
|
2021-08-16 17:16:15 +08:00 |
RainbowMango
|
fc5d191ba7
|
Fix misleading logs from cluster status controller
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
|
2021-08-16 12:14:22 +08:00 |