diff --git a/NOTICE b/NOTICE index ba833120..189ea351 100644 --- a/NOTICE +++ b/NOTICE @@ -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/). diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index fa52a6f4..d22c1982 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -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 diff --git a/charts/README.md b/charts/README.md index 91c64544..06d35e7f 100644 --- a/charts/README.md +++ b/charts/README.md @@ -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 @@ -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 @@ -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. diff --git a/charts/apache-shardingsphere-operator-charts/Chart.yaml b/charts/apache-shardingsphere-operator-charts/Chart.yaml index 659488af..d4c9312c 100644 --- a/charts/apache-shardingsphere-operator-charts/Chart.yaml +++ b/charts/apache-shardingsphere-operator-charts/Chart.yaml @@ -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" diff --git a/charts/apache-shardingsphere-operator-charts/NOTICE b/charts/apache-shardingsphere-operator-charts/NOTICE index ba833120..189ea351 100644 --- a/charts/apache-shardingsphere-operator-charts/NOTICE +++ b/charts/apache-shardingsphere-operator-charts/NOTICE @@ -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/). diff --git a/charts/apache-shardingsphere-operator-charts/README.md b/charts/apache-shardingsphere-operator-charts/README.md index fa57bf69..7a621eb5 100644 --- a/charts/apache-shardingsphere-operator-charts/README.md +++ b/charts/apache-shardingsphere-operator-charts/README.md @@ -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` | @@ -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` | diff --git a/charts/apache-shardingsphere-operator-charts/values.yaml b/charts/apache-shardingsphere-operator-charts/values.yaml index ca2d4ddc..710fdc8f 100644 --- a/charts/apache-shardingsphere-operator-charts/values.yaml +++ b/charts/apache-shardingsphere-operator-charts/values.yaml @@ -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: @@ -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 diff --git a/charts/apache-shardingsphere-proxy-charts/Chart.yaml b/charts/apache-shardingsphere-proxy-charts/Chart.yaml index 0de7aaa5..4cd8dfcf 100644 --- a/charts/apache-shardingsphere-proxy-charts/Chart.yaml +++ b/charts/apache-shardingsphere-proxy-charts/Chart.yaml @@ -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: diff --git a/charts/apache-shardingsphere-proxy-charts/NOTICE b/charts/apache-shardingsphere-proxy-charts/NOTICE index ba833120..189ea351 100644 --- a/charts/apache-shardingsphere-proxy-charts/NOTICE +++ b/charts/apache-shardingsphere-proxy-charts/NOTICE @@ -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/). diff --git a/charts/apache-shardingsphere-proxy-charts/charts/governance/Chart.yaml b/charts/apache-shardingsphere-proxy-charts/charts/governance/Chart.yaml index 6afce950..953756d8 100644 --- a/charts/apache-shardingsphere-proxy-charts/charts/governance/Chart.yaml +++ b/charts/apache-shardingsphere-proxy-charts/charts/governance/Chart.yaml @@ -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: diff --git a/charts/apache-shardingsphere-proxy-charts/values.yaml b/charts/apache-shardingsphere-proxy-charts/values.yaml index 728a1b75..24c454d5 100644 --- a/charts/apache-shardingsphere-proxy-charts/values.yaml +++ b/charts/apache-shardingsphere-proxy-charts/values.yaml @@ -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: diff --git a/docs/content/operation-guide/operator/_index.cn.md b/docs/content/operation-guide/operator/_index.cn.md index a7d78816..7df0e59a 100644 --- a/docs/content/operation-guide/operator/_index.cn.md +++ b/docs/content/operation-guide/operator/_index.cn.md @@ -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` | @@ -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: @@ -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 @@ -266,6 +266,8 @@ zookeeper: - ReadWriteOnce size: 8Gi +``` + ## 清理 ```shell diff --git a/docs/content/operation-guide/operator/_index.en.md b/docs/content/operation-guide/operator/_index.en.md index 6efb795f..0e590853 100644 --- a/docs/content/operation-guide/operator/_index.en.md +++ b/docs/content/operation-guide/operator/_index.en.md @@ -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` | @@ -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` | @@ -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: @@ -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 diff --git a/docs/content/operation-guide/using-terraform-to-deploy-multi-az-on-huaweicloud/_index.cn.md b/docs/content/operation-guide/using-terraform-to-deploy-multi-az-on-huaweicloud/_index.cn.md index b0f670fa..7745e0e7 100644 --- a/docs/content/operation-guide/using-terraform-to-deploy-multi-az-on-huaweicloud/_index.cn.md +++ b/docs/content/operation-guide/using-terraform-to-deploy-multi-az-on-huaweicloud/_index.cn.md @@ -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" diff --git a/docs/content/operation-guide/using-terraform-to-deploy-multi-az-on-huaweicloud/_index.en.md b/docs/content/operation-guide/using-terraform-to-deploy-multi-az-on-huaweicloud/_index.en.md index 62158f52..88a7a6f9 100644 --- a/docs/content/operation-guide/using-terraform-to-deploy-multi-az-on-huaweicloud/_index.en.md +++ b/docs/content/operation-guide/using-terraform-to-deploy-multi-az-on-huaweicloud/_index.en.md @@ -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" diff --git a/terraform/huawei/README.md b/terraform/huawei/README.md index 443e05ac..ea03af44 100644 --- a/terraform/huawei/README.md +++ b/terraform/huawei/README.md @@ -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"