This is an automated email from the ASF dual-hosted git repository.

panjuan pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/shardingsphere-on-cloud.git


    from 9634fa7  Merge pull request #432 from yikuaibro/cnpg
     new 10075a6  chore: update go mod
     new 6f07bc3  feat: introduce new crd AutoScaler
     new d76c7c2  feat: add support for kubernetes hpa
     new 64ecf57  feat: add AutoScaler controller
     new fb1a23d  feat: add AutoScaler api type definition
     new f91535e  feat: add AutoScaler controller
     new 243cdcd  feat: Add kubernetes lib for HPA
     new 5e6b03a  fix: fix autoscaling package version
     new 88d1aa5  feat: add AutoScaler reconcile
     new 468a6a7  feat: introduce selector as ComputeNodeStatus for HPA
     new aa66dfd  chore: add example for computenode autoscaler
     new c470574  chore: add crd yaml
     new d9a4c4e  chore: fix with lint
     new 3ba075e  Merge pull request #434 from mlycore/dev-autoscaling

The 863 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../{chaos-pod.yaml => computenode-hpa.yaml}       |  36 +-
 .../api/v1alpha1/autoscaler_types.go               | 175 ++++
 .../api/v1alpha1/compute_node_types.go             |   4 +-
 .../api/v1alpha1/zz_generated.deepcopy.go          | 234 ++++++
 .../cmd/shardingsphere-operator/manager/option.go  |  15 +
 .../shardingsphere.apache.org_autoscalers.yaml     | 917 +++++++++++++++++++++
 .../bases}/shardingsphere.apache.org_chaos.yaml    |  17 -
 .../shardingsphere.apache.org_computenodes.yaml    |  21 +-
 ...ingsphere.apache.org_shardingsphereproxies.yaml |  17 -
 ...pache.org_shardingsphereproxyserverconfigs.yaml |  16 -
 .../shardingsphere.apache.org_storagenodes.yaml    |  16 -
 ...shardingsphere.apache.org_storageproviders.yaml |  16 -
 shardingsphere-operator/go.mod                     |   1 +
 shardingsphere-operator/go.sum                     |   2 +
 .../pkg/controllers/auto_scaler_controller.go      | 133 +++
 .../pkg/controllers/compute_node_controller.go     |  10 +
 .../pkg/kubernetes/hpa/builder.go                  |  82 ++
 .../{deployment/deployment.go => hpa/hpa.go}       |  44 +-
 .../pkg/kubernetes/resources.go                    |  10 +-
 .../compute_node.go => autoscaler/auto_scaler.go}  |  16 +-
 .../pkg/reconcile/autoscaler/hpa.go                |  69 ++
 21 files changed, 1706 insertions(+), 145 deletions(-)
 copy examples/operator/{chaos-pod.yaml => computenode-hpa.yaml} (61%)
 create mode 100644 shardingsphere-operator/api/v1alpha1/autoscaler_types.go
 create mode 100644 
shardingsphere-operator/config/crd/bases/shardingsphere.apache.org_autoscalers.yaml
 copy {charts/apache-shardingsphere-operator-charts/crds => 
shardingsphere-operator/config/crd/bases}/shardingsphere.apache.org_chaos.yaml 
(96%)
 copy {charts/apache-shardingsphere-operator-charts/crds => 
shardingsphere-operator/config/crd/bases}/shardingsphere.apache.org_computenodes.yaml
 (98%)
 copy {charts/apache-shardingsphere-operator-charts/crds => 
shardingsphere-operator/config/crd/bases}/shardingsphere.apache.org_shardingsphereproxies.yaml
 (98%)
 copy {charts/apache-shardingsphere-operator-charts/crds => 
shardingsphere-operator/config/crd/bases}/shardingsphere.apache.org_shardingsphereproxyserverconfigs.yaml
 (91%)
 copy {charts/apache-shardingsphere-operator-charts/crds => 
shardingsphere-operator/config/crd/bases}/shardingsphere.apache.org_storagenodes.yaml
 (89%)
 copy {charts/apache-shardingsphere-operator-charts/crds => 
shardingsphere-operator/config/crd/bases}/shardingsphere.apache.org_storageproviders.yaml
 (74%)
 create mode 100644 
shardingsphere-operator/pkg/controllers/auto_scaler_controller.go
 create mode 100644 shardingsphere-operator/pkg/kubernetes/hpa/builder.go
 copy shardingsphere-operator/pkg/kubernetes/{deployment/deployment.go => 
hpa/hpa.go} (55%)
 copy shardingsphere-operator/pkg/reconcile/{computenode/compute_node.go => 
autoscaler/auto_scaler.go} (71%)
 create mode 100644 shardingsphere-operator/pkg/reconcile/autoscaler/hpa.go

Reply via email to