Skip to content

Commit

Permalink
[Chore] Change related fields to release v1.9.1 (#405)
Browse files Browse the repository at this point in the history
Signed-off-by: yandongxiao <[email protected]>
  • Loading branch information
yandongxiao authored Jan 19, 2024
1 parent b3c2386 commit 62fdb2a
Show file tree
Hide file tree
Showing 12 changed files with 228 additions and 24 deletions.
70 changes: 59 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# CHANGELOG

## [v1.9.1](https://github.com/StarRocks/starrocks-kubernetes-operator/releases/tag/v1.9.1)

Release Notes for starrocks-kubernetes-operator v1.9.0

We are thrilled to announce the release of StarRocks Kubernetes Operator v1.9.1. This release introduces several
enhancements and bug fixes to improve the user experience of deploying and managing StarRocks
clusters on Kubernetes.

### What's New

There are enhancements in this release.

1. **[chart]** When you set logStorageSize to 0, the operator will not create PVC for log
storage [#398](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/398).
2. **[operator]** Checked volumes and mount paths to avoid duplication
error [#388](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/388)
3. **[operator]** Disabled FE scale to 1 [#394](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/394)
4. **[operator]** Supported use of map to define feEnvVars/beEnvVars/cnEnvVars to merge on multiple values files (#396)
5. **[operator]** exposed `spec.containers.securityContext.capabilities` for user to customize the capabilities of
containers. [#404](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/404)

### BugFix

1. **[operator]** Supported to update service annotations
fields [#402](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/402) [#399](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/399)
2. **[operator]** Switched to using patch method instead of update method to modify statefulset and
deployment [#397](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/397).
This solves the problem that when CN + HPA is enabled, upgrading CN will cause all CN pods to be terminated and
restarted.
3. **[operator]** Switched to using Patch method instead of Update to modify service
object [#387](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/387). This solves the
problem that when cloud provider is used, the service object will be modified by cloud provider, and the operator
will overwrite the modification.
4. **[operator]** Considered Cn Replicas when calculating component
hash [#392](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/392)
5. **[chart]** Corrected typo in storageSpec [#385](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/385)

## [v1.9.0](https://github.com/StarRocks/starrocks-kubernetes-operator/releases/tag/v1.9.0)

Release Notes for starrocks-kubernetes-operator v1.9.0
Expand All @@ -10,25 +47,36 @@ clusters on Kubernetes.

### What's New

1. [Feature] Add StarRocksWarehouse CRD to support StarRocks Warehouse Feature (#323). Note: warehouse is an
1. [Feature] Add StarRocksWarehouse CRD to support StarRocks Warehouse
Feature [#323](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/323). Note: warehouse is an
enterprise feature for StarRocks.
2. [Enhancement] Use StarRocksCluster State to log errors when subController apply failed (#359): We have improved error
2. [Enhancement] Use StarRocksCluster State to log errors when subController apply
failed [#359](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/359): We have improved error
logging by using the StarRocksCluster status.State when the subController apply operation fails.
3. [Enhancement] Support to mount emptyDir in storageVolumes (#324): We have added support to mount emptyDir in
3. [Enhancement] Support to mount emptyDir in
storageVolumes [#324](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/324): We have added support to
mount emptyDir in
storageVolumes.

### BugFix

1. [BugFix] We have fixed an issue where the cluster status phase was not in sync with the component.(#380)
2. [BugFix] We have fixed an issue where the HPA was not removed when the autoScalingPolicy was removed.(#379)
3. [BugFix] We have fixed an issue where the HPA resource was not removed when the CN spec was removed.(#357)
1. [BugFix] We have fixed an issue where the cluster status phase was not in sync with the
component.[#380](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/380)
2. [BugFix] We have fixed an issue where the HPA was not removed when the autoScalingPolicy was
removed.[#379](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/379)
3. [BugFix] We have fixed an issue where the HPA resource was not removed when the CN spec was
removed.[#357](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/357)

### Maintenance

1. We have improved the setup of the Kubernetes environment for unit tests by using setup-envtest. (#347)
2. We have added unit tests and ensured that the code coverage is at least 65%. (#354)
3. We have updated the script to generate the API reference documentation.(#350)
4. We have switched to using zap as the logger for better logging capabilities.(#341)
1. We have improved the setup of the Kubernetes environment for unit tests by using
setup-envtest. [#347](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/347)
2. We have added unit tests and ensured that the code coverage is at least
65%. [#354](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/354)
3. We have updated the script to generate the API reference
documentation.[#350](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/350)
4. We have switched to using zap as the logger for better logging
capabilities.[#341](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/341)

We encourage you to update to this new version and benefit from these improvements. As always, your feedback is very
welcome.
Expand Down Expand Up @@ -82,7 +130,7 @@ and enhancements. Here are the key updates:
### Bug Fixes

1. Fix the problem of nginx sending the request body to FE when redirecting the stream load request, which may cause
the stream load to fail. (#303)
the stream load to fail. [#303](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/303)

### Maintenance

Expand Down
4 changes: 2 additions & 2 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ spec:
kubectl.kubernetes.io/default-container: manager
labels:
app: kube-starrocks-operator
version: 1.9.0
version: 1.9.1
spec:
automountServiceAccountToken: true
containers:
Expand All @@ -187,7 +187,7 @@ spec:
env:
- name: TZ
value: Asia/Shanghai
image: "starrocks/operator:v1.9.0"
image: "starrocks/operator:v1.9.1"
imagePullPolicy: Always
name: manager
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2071,5 +2071,5 @@ AutoScalingPolicy
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>b7b3c3f</code>.
on git commit <code>13a5c05</code>.
</em></p>
2 changes: 1 addition & 1 deletion helm-charts/charts/kube-starrocks/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ maintainers:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.9.0
version: 1.9.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 2 additions & 2 deletions helm-charts/charts/kube-starrocks/charts/operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ maintainers:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.9.0
version: 1.9.1

# This is the version number of the application being deployed. This version number should be
# 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: 1.9.0
appVersion: 1.9.1

kubeVersion: ">=1.18.3-0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ starrocksOperator:
image:
# image sliced by "repository:tag"
repository: starrocks/operator
tag: v1.9.0
tag: v1.9.1
imagePullPolicy: Always
replicaCount: 1
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ maintainers:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.9.0
version: 1.9.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ starrocksFESpec:
cpu: 8
memory: 8Gi
# fe storageSpec for persistent metadata.
# Note: Once set, the following fields will not be allowed to be modified.
storageSpec:
name: ""
# the storageClassName represent the used storageclass name. if not set will use k8s cluster default storageclass.
Expand All @@ -154,7 +155,8 @@ starrocksFESpec:
# the persistent volume size, default 10Gi.
# fe container stop running if the disk free space which the fe meta directory residents, is less than 5Gi.
storageSize: 10Gi
# Setting this parameter can persist log storage
# Setting this parameter can persist log storage.
# If you set it to 0Gi, the related PVC will not be created, and the log will not be persisted.
logStorageSize: 5Gi
# mount other volumes if necessary.
# Note: please use storageSpec field for persistent metadata and log.
Expand Down Expand Up @@ -334,6 +336,7 @@ starrocksCnSpec:
cpu: 4
memory: 8Gi
# specify storageclass name and request size.
# Note: Once set, the following fields will not be allowed to be modified.
storageSpec:
# the name of volume for mount. if not will use emptyDir.
name: ""
Expand All @@ -343,6 +346,7 @@ starrocksCnSpec:
# the storage size of persistent volume for data.
storageSize: 1Ti
# the storage size of persistent volume for log.
# If you set it to 0Gi, the related PVC will not be created, and the log will not be persisted.
logStorageSize: 1Gi
# mount other volumes if necessary.
# Note: please use storageSpec field for persistent storage data and log.
Expand Down Expand Up @@ -488,6 +492,7 @@ starrocksBeSpec:
cpu: 8
memory: 8Gi
# be storageSpec for persistent storage.
# Note: Once set, the following fields will not be allowed to be modified.
storageSpec:
# the name of volume for mount. if not will use emptyDir.
name: ""
Expand All @@ -496,6 +501,7 @@ starrocksBeSpec:
storageClassName: ""
storageSize: 1Ti
# Setting this parameter can persist log storage
# If you set it to 0Gi, the related PVC will not be created, and the log will not be persisted.
logStorageSize: 1Gi
# mount other volumes if necessary.
# Note: please use storageSpec field for persistent storage data and log.
Expand Down
10 changes: 8 additions & 2 deletions helm-charts/charts/kube-starrocks/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ operator:
image:
# image sliced by "repository:tag"
repository: starrocks/operator
tag: v1.9.0
tag: v1.9.1
imagePullPolicy: Always
replicaCount: 1
resources:
Expand Down Expand Up @@ -226,6 +226,7 @@ starrocks:
cpu: 8
memory: 8Gi
# fe storageSpec for persistent metadata.
# Note: Once set, the following fields will not be allowed to be modified.
storageSpec:
name: ""
# the storageClassName represent the used storageclass name. if not set will use k8s cluster default storageclass.
Expand All @@ -234,7 +235,8 @@ starrocks:
# the persistent volume size, default 10Gi.
# fe container stop running if the disk free space which the fe meta directory residents, is less than 5Gi.
storageSize: 10Gi
# Setting this parameter can persist log storage
# Setting this parameter can persist log storage.
# If you set it to 0Gi, the related PVC will not be created, and the log will not be persisted.
logStorageSize: 5Gi
# mount other volumes if necessary.
# Note: please use storageSpec field for persistent metadata and log.
Expand Down Expand Up @@ -414,6 +416,7 @@ starrocks:
cpu: 4
memory: 8Gi
# specify storageclass name and request size.
# Note: Once set, the following fields will not be allowed to be modified.
storageSpec:
# the name of volume for mount. if not will use emptyDir.
name: ""
Expand All @@ -423,6 +426,7 @@ starrocks:
# the storage size of persistent volume for data.
storageSize: 1Ti
# the storage size of persistent volume for log.
# If you set it to 0Gi, the related PVC will not be created, and the log will not be persisted.
logStorageSize: 1Gi
# mount other volumes if necessary.
# Note: please use storageSpec field for persistent storage data and log.
Expand Down Expand Up @@ -568,6 +572,7 @@ starrocks:
cpu: 8
memory: 8Gi
# be storageSpec for persistent storage.
# Note: Once set, the following fields will not be allowed to be modified.
storageSpec:
# the name of volume for mount. if not will use emptyDir.
name: ""
Expand All @@ -576,6 +581,7 @@ starrocks:
storageClassName: ""
storageSize: 1Ti
# Setting this parameter can persist log storage
# If you set it to 0Gi, the related PVC will not be created, and the log will not be persisted.
logStorageSize: 1Gi
# mount other volumes if necessary.
# Note: please use storageSpec field for persistent storage data and log.
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/charts/warehouse/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ maintainers:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.9.0
version: 1.9.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Loading

0 comments on commit 62fdb2a

Please sign in to comment.