Skip to content

Commit

Permalink
0.1.2 release (#174)
Browse files Browse the repository at this point in the history
* 0.1.2 release (#171)

* Update version in Chart.yaml and values.yaml

* Update ShardingSphere version in docs

* Fix missed block mapping in index doc

* Update operator version in docs

* Recover _index.en.md

* Update release notes for 0.1.2

* Update NOTICE copyright year to 2023
  • Loading branch information
sandynz authored Jan 10, 2023
1 parent cfcc56a commit a31dca4
Show file tree
Hide file tree
Showing 16 changed files with 46 additions and 26 deletions.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache ShardingSphere
Copyright 2018-2022 The Apache Software Foundation
Copyright 2018-2023 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
18 changes: 18 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 0.1.2

### New Feature

1. Provide Grafana dashboard template for ShardingSphere-Operator metrics.
1. Updating and renaming renaming apache-shardingsphere-operator-cluster-charts to apache-shardingsphere-operator-charts, which supports deploying operator and cluster at the same time.

### Enhancement

1. Support monitoring metrics for ShardingSphere-Operator.
1. Support more parameters about health check, CloudWatch and alerts when deploying ShardingSphere clusters with Terraform and AWS CloudFormation.
1. Support HuaweiCloud with Terraform.

### Change Log

1. [MILESTONE](https://github.com/apache/shardingsphere-on-cloud/milestone/5)


## 0.1.1

### New Feature
Expand Down
6 changes: 3 additions & 3 deletions charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Helm Charts

## Current Status

Currently, either the [ShardingSphere Helm Charts](https://github.com/apache/shardingsphere-on-cloud/tree/main/charts/apache-shardingsphere-proxy-charts) and the [ShardingSphere Operator](https://github.com/apache/shardingsphere-on-cloud/tree/main/shardingsphere-operator) make up the latest version as (5.3.0) of ShardingSphere Proxy.
Currently, either the [ShardingSphere Helm Charts](https://github.com/apache/shardingsphere-on-cloud/tree/main/charts/apache-shardingsphere-proxy-charts) and the [ShardingSphere Operator](https://github.com/apache/shardingsphere-on-cloud/tree/main/shardingsphere-operator) make up the latest version as (5.3.1) of ShardingSphere Proxy.

### Requirements

Expand All @@ -19,7 +19,7 @@ ShardingSphere Helm Charts uses [Helm](https://helm.sh/) to provide guidance for

### Quick Start

Please follow these [instructions](./apache-shardingsphere-proxy-charts/README.md) to deploy a ShardingSphere cluster with version 5.3.0.
Please follow these [instructions](./apache-shardingsphere-proxy-charts/README.md) to deploy a ShardingSphere cluster with version 5.3.1.


## ShardingSphere-Cluster Operator Helm Charts
Expand All @@ -28,5 +28,5 @@ The ShardingSphere-Cluster Operator uses predefined CustomResourceDefinitions fo

### Quick Start

Please follows [instructions](apache-shardingsphere-operator-charts/README.md) to deploy a ShardingSphere cluster with version 5.3.0.
Please follows [instructions](apache-shardingsphere-operator-charts/README.md) to deploy a ShardingSphere cluster with version 5.3.1.

4 changes: 2 additions & 2 deletions charts/apache-shardingsphere-operator-charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ dependencies:
- bitnami-common
version: 1.16.1
type: application
version: 0.1.1
appVersion: "5.3.0"
version: 0.1.2
appVersion: "5.3.1"
2 changes: 1 addition & 1 deletion charts/apache-shardingsphere-operator-charts/NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache ShardingSphere
Copyright 2018-2022 The Apache Software Foundation
Copyright 2018-2023 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
4 changes: 2 additions & 2 deletions charts/apache-shardingsphere-operator-charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ helm unstall [RELEASE_NAME]
| `operator.replicaCount` | operator replica count | `2` |
| `operator.image.repository` | operator image name | `ghcr.io/apache/shardingsphere-on-cloud/apache-shardingsphere-operator` |
| `operator.image.pullPolicy` | image pull policy | `IfNotPresent` |
| `operator.image.tag` | image tag | `0.1.1` |
| `operator.image.tag` | image tag | `0.1.2` |
| `operator.imagePullSecrets` | image pull secret of private repository | `[]` |
| `operator.resources` | operator Resources required by the operator | `{}` |
| `operator.health.healthProbePort` | operator health check port | `8081` |
Expand All @@ -38,7 +38,7 @@ helm unstall [RELEASE_NAME]
| Name | Description | Value |
|--------------------------------------------------| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-------------|
| `proxyCluster.replicaCount` | ShardingSphere-Proxy cluster starts the number of replicas, Note: After you enable automaticScaling, this parameter will no longer take effect | `3` |
| `proxyCluster.proxyVersion` | ShardingSphere-Proxy cluster version | `5.3.0` |
| `proxyCluster.proxyVersion` | ShardingSphere-Proxy cluster version | `5.3.1` |
| `proxyCluster.automaticScaling.enable` | ShardingSphere-Proxy Whether the ShardingSphere-Proxy cluster has auto-scaling enabled | `false` |
| `proxyCluster.automaticScaling.scaleUpWindows` | ShardingSphere-Proxy automatically scales the stable window | `30` |
| `proxyCluster.automaticScaling.scaleDownWindows` | ShardingSphere-Proxy automatically shrinks the stabilized window | `30` |
Expand Down
4 changes: 2 additions & 2 deletions charts/apache-shardingsphere-operator-charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ operator:
pullPolicy: IfNotPresent
## @param image.tag image tag
##
tag: "0.1.1"
tag: "0.1.2"
## @param imagePullSecrets image pull secret of private repository
## e.g:
## imagePullSecrets:
Expand Down Expand Up @@ -63,7 +63,7 @@ proxyCluster:
## @param proxyVersion ShardingSphere-Proxy cluster version
##
replicaCount: "3"
proxyVersion: "5.3.0"
proxyVersion: "5.3.1"
## @param automaticScaling.enable ShardingSphere-Proxy Whether the ShardingSphere-Proxy cluster has auto-scaling enabled
## @param automaticScaling.scaleUpWindows ShardingSphere-Proxy automatically scales the stable window
## @param automaticScaling.scaleDownWindows ShardingSphere-Proxy automatically shrinks the stabilized window
Expand Down
4 changes: 2 additions & 2 deletions charts/apache-shardingsphere-proxy-charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
#

apiVersion: v2
appVersion: 5.3.0
appVersion: 5.3.1
name: apache-shardingsphere-proxy-charts
description: A Helm chart for ShardingSphere-Proxy-Cluster
version: 0.1.1
version: 0.1.2
maintainers:
- name: dev@shardingsphere.apache.org
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion charts/apache-shardingsphere-proxy-charts/NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache ShardingSphere
Copyright 2018-2022 The Apache Software Foundation
Copyright 2018-2023 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ version: 1.0.0
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "5.1.2"
appVersion: "5.3.1"
maintainers:
- name: dev@shardingsphere.apache.org
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion charts/apache-shardingsphere-proxy-charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ compute:
pullPolicy: IfNotPresent
## Overrides the image tag whose default is the chart appVersion.
##
tag: "5.3.0"
tag: "5.3.1"
## @param compute.imagePullSecrets Specify docker-registry secret names as an array
## e.g:
## imagePullSecrets:
Expand Down
8 changes: 5 additions & 3 deletions docs/content/operation-guide/operator/_index.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ helm install shardingsphere-cluster apache-shardingsphere-operator-charts -n sha
| `operator.replicaCount` | operator replica count | `2` |
| `operator.image.repository` | operator image name | `ghcr.io/apache/shardingsphere-on-cloud/apache-shardingsphere-operator` |
| `operator.image.pullPolicy` | image pull policy | `IfNotPresent` |
| `operator.image.tag` | image tag | `0.1.1` |
| `operator.image.tag` | image tag | `0.1.2` |
| `operator.imagePullSecrets` | image pull secret of private repository | `[]` |
| `operator.resources` | operator Resources required by the operator | `{}` |
| `operator.health.healthProbePort` | operator health check port | `8081` |
Expand Down Expand Up @@ -122,7 +122,7 @@ operator:
pullPolicy: IfNotPresent
## @param image.tag image tag
##
tag: "0.1.1"
tag: "0.1.2"
## @param imagePullSecrets image pull secret of private repository
## e.g:
## imagePullSecrets:
Expand Down Expand Up @@ -151,7 +151,7 @@ proxyCluster:
## @param proxyVersion ShardingSphere-Proxy cluster version
##
replicaCount: "3"
proxyVersion: "5.3.0"
proxyVersion: "5.3.1"
## @param automaticScaling.enable ShardingSphere-Proxy Whether the ShardingSphere-Proxy cluster has auto-scaling enabled
## @param automaticScaling.scaleUpWindows ShardingSphere-Proxy automatically scales the stable window
## @param automaticScaling.scaleDownWindows ShardingSphere-Proxy automatically shrinks the stabilized window
Expand Down Expand Up @@ -266,6 +266,8 @@ zookeeper:
- ReadWriteOnce
size: 8Gi

```

## 清理

```shell
Expand Down
8 changes: 4 additions & 4 deletions docs/content/operation-guide/operator/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ helm install shardingsphere-cluster apache-shardingsphere-operator-charts -n sha
| `operator.replicaCount` | operator replica count | `2` |
| `operator.image.repository` | operator image name | `ghcr.io/apache/shardingsphere-on-cloud/apache-shardingsphere-operator` |
| `operator.image.pullPolicy` | image pull policy | `IfNotPresent` |
| `operator.image.tag` | image tag | `0.1.1` |
| `operator.image.tag` | image tag | `0.1.2` |
| `operator.imagePullSecrets` | image pull secret of private repository | `[]` |
| `operator.resources` | operator Resources required by the operator | `{}` |
| `operator.health.healthProbePort` | operator health check port | `8081` |
Expand All @@ -52,7 +52,7 @@ helm install shardingsphere-cluster apache-shardingsphere-operator-charts -n sha
| Name | Description | Value |
|--------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|
| `proxyCluster.replicaCount` | ShardingSphere-Proxy cluster starts the number of replicas, Note: After you enable automaticScaling, this parameter will no longer take effect | `3` |
| `proxyCluster.proxyVersion` | ShardingSphere-Proxy cluster version | `5.3.0` |
| `proxyCluster.proxyVersion` | ShardingSphere-Proxy cluster version | `5.3.1` |
| `proxyCluster.automaticScaling.enable` | ShardingSphere-Proxy Whether the ShardingSphere-Proxy cluster has auto-scaling enabled | `false` |
| `proxyCluster.automaticScaling.scaleUpWindows` | ShardingSphere-Proxy automatically scales the stable window | `30` |
| `proxyCluster.automaticScaling.scaleDownWindows` | ShardingSphere-Proxy automatically shrinks the stabilized window | `30` |
Expand Down Expand Up @@ -123,7 +123,7 @@ operator:
pullPolicy: IfNotPresent
## @param image.tag image tag
##
tag: "0.1.1"
tag: "0.1.2"
## @param imagePullSecrets image pull secret of private repository
## e.g:
## imagePullSecrets:
Expand Down Expand Up @@ -152,7 +152,7 @@ proxyCluster:
## @param proxyVersion ShardingSphere-Proxy cluster version
##
replicaCount: "3"
proxyVersion: "5.3.0"
proxyVersion: "5.3.1"
## @param automaticScaling.enable ShardingSphere-Proxy Whether the ShardingSphere-Proxy cluster has auto-scaling enabled
## @param automaticScaling.scaleUpWindows ShardingSphere-Proxy automatically scales the stable window
## @param automaticScaling.scaleDownWindows ShardingSphere-Proxy automatically shrinks the stabilized window
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cd shardingsphere-on-cloud/terraform/huawei
`terraform.tfvars` 示例内容如下:

```hcl
shardingsphere_proxy_version = "5.3.0"
shardingsphere_proxy_version = "5.3.1"
image_id = ""
key_name = "test-tf"
flavor_id = "c7.large.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cd shardingsphere-on-cloud/terraform/huawei
```
The `terraform.tfvars` sample content is as follows:
```hcl
shardingsphere_proxy_version = "5.3.0"
shardingsphere_proxy_version = "5.3.1"
image_id = ""
key_name = "test-tf"
flavor_id = "c7.large.2"
Expand Down
2 changes: 1 addition & 1 deletion terraform/huawei/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ So `source = "./shardingsphere"` in your module.
```hcl
module "shardingsphere_proxy" {
source = "./shardingsphere"
shardingsphere_proxy_version = "5.3.0"
shardingsphere_proxy_version = "5.3.1"
image_id = ""
key_name = "test-tf"
flavor_id = "c7.large.2"
Expand Down

0 comments on commit a31dca4

Please sign in to comment.