Commit Graph

425 Commits

Author SHA1 Message Date
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