Skip to content

Commit

Permalink
[Chore] Prepare for v1.9.7 (#553)
Browse files Browse the repository at this point in the history
Signed-off-by: yandongxiao <[email protected]>
  • Loading branch information
yandongxiao authored Jun 26, 2024
1 parent 3e26a71 commit 036fdd5
Show file tree
Hide file tree
Showing 16 changed files with 200 additions and 23 deletions.
41 changes: 37 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,43 @@
# CHANGELOG

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

Release Notes for starrocks-kubernetes-operator v1.9.7

We are excited to announce the release of StarRocks Kubernetes Operator v1.9.7. This version has the following
enhancements and bug fixes:

1. [Operator] Fix the problem that FE proxy will fail when FE external service is
recreated [#557](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/557).
2. [Operator] Add loadBalancerSourceRanges field to support setting the source IP range for the load
balancer [#551](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/551).
3. [Operator] Add topologySpreadConstraints field to support setting the topology spread constraints for
pods [#546](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/546).
4. [Operator] Add CRD version information to CRD
annotations [#544](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/544)
5. [Operator] Make it easy to configure the hostPath
volume [#552](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/552)
6. [Chart] Add spill storage volume for BE and
CN [#547](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/547)
7. [Chart] Remove JAVA_OPTS_FOR_JDK_9 and JAVA_OPTS_FOR_JDK_11 env from fe config, **this will cause the pods of FE to
restart if you are using the default config of FE in values.yaml**
[#542](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/542)
8. [Documentation] We have added or updated some documents to help users deploy and manage StarRocks clusters on
Kubernetes. [#524](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/524) [#525](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/525) [#527](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/527) [#530](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/530) [#531](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/531) [#532](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/532) [#536](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/536) [#538](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/538).

We thank our community for their contributions and feedback. For a detailed list of changes and updates, please refer to
the GitHub repository. Happy deploying!

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

Release Notes for starrocks-kubernetes-operator v1.9.6

We are excited to announce the release of StarRocks Kubernetes Operator v1.9.6. This version has the following enhancements:
We are excited to announce the release of StarRocks Kubernetes Operator v1.9.6. This version has the following
enhancements:

1. Support command and args(#516) in StarRocksCluster spec. You can easily customize the command and args if you are using helm chart.
1. Support command and args[#516](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/516) in
StarRocksCluster spec. You can easily customize the command and args if you are
using helm chart.
Below is a code snippet from values.yaml for your reference:
```yaml
entrypoint:
Expand All @@ -15,8 +46,10 @@ We are excited to announce the release of StarRocks Kubernetes Operator v1.9.6.
echo "do something before start cn"
exec /opt/starrocks/cn_entrypoint.sh $FE_SERVICE_NAME
```
2. Support ImagePullPolicy in StarRocksCluster spec(#514).
3. Support to use namespaced scope permission to deploy warehouses(#513).
2. Support ImagePullPolicy in StarRocksCluster
spec[#514](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/514).
3. Support to use namespaced scope permission to deploy
warehouses[#513](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/513).
## [v1.9.5](https://github.com/StarRocks/starrocks-kubernetes-operator/releases/tag/v1.9.5)
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/starrocks.com_starrocksclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
version: v1.9.6
version: v1.9.7
name: starrocksclusters.starrocks.com
spec:
group: starrocks.com
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/starrocks.com_starrockswarehouses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
version: v1.9.6
version: v1.9.7
name: starrockswarehouses.starrocks.com
spec:
group: starrocks.com
Expand Down
4 changes: 2 additions & 2 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ spec:
kubectl.kubernetes.io/default-container: manager
labels:
app: kube-starrocks-operator
version: 1.9.6
version: 1.9.7
spec:
automountServiceAccountToken: true
containers:
Expand All @@ -173,7 +173,7 @@ spec:
env:
- name: TZ
value: Asia/Shanghai
image: "starrocks/operator:v1.9.6"
image: "starrocks/operator:v1.9.7"
imagePullPolicy: Always
name: manager
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion deploy/starrocks.com_starrocksclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
version: v1.9.6
version: v1.9.7
name: starrocksclusters.starrocks.com
spec:
group: starrocks.com
Expand Down
2 changes: 1 addition & 1 deletion deploy/starrocks.com_starrockswarehouses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
version: v1.9.6
version: v1.9.7
name: starrockswarehouses.starrocks.com
spec:
group: starrocks.com
Expand Down
32 changes: 31 additions & 1 deletion doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1582,6 +1582,21 @@ Kubernetes core/v1.Affinity
</tr>
<tr>
<td>
<code>topologySpreadConstraints</code><br/>
<em>
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#topologyspreadconstraint-v1-core">
[]Kubernetes core/v1.TopologySpreadConstraint
</a>
</em>
</td>
<td>
<em>(Optional)</em>
<p>(Optional) TopologySpreadConstraints for spreading pods across failure-domains
More info: <a href="https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/">https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/</a></p>
</td>
</tr>
<tr>
<td>
<code>service</code><br/>
<em>
<a href="#starrocks.com/v1.StarRocksService">
Expand Down Expand Up @@ -1847,6 +1862,21 @@ e.g. if you want to use a dedicated node port, you can just specify the StarRock
StarRocksServicePort.NodePort field.</p>
</td>
</tr>
<tr>
<td>
<code>loadBalancerSourceRanges</code><br/>
<em>
[]string
</em>
</td>
<td>
<em>(Optional)</em>
<p>If specified and supported by the platform, this will restrict traffic through the cloud-provider
load-balancer will be restricted to the specified client IPs. This field will be ignored if the
cloud-provider does not support the feature.
More info: <a href="https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/">https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/</a></p>
</td>
</tr>
</tbody>
</table>
<h3 id="starrocks.com/v1.StarRocksServicePort">StarRocksServicePort
Expand Down Expand Up @@ -2243,5 +2273,5 @@ AutoScalingPolicy
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>78759be</code>.
on git commit <code>35451e5</code>.
</em></p>
6 changes: 3 additions & 3 deletions 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.6
version: 1.9.7

# 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 All @@ -43,10 +43,10 @@ keywords:

dependencies:
- name: operator
version: 1.9.6
version: 1.9.7
repository: "file://charts/operator"
- name: starrocks
version: 1.9.6
version: 1.9.7
repository: "file://charts/starrocks"

sources:
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.6
version: 1.9.7

# 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.6
appVersion: 1.9.7

kubeVersion: ">=1.18.3-0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ starrocksOperator:
image:
# image sliced by "repository:tag"
repository: starrocks/operator
tag: v1.9.6
tag: v1.9.7
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.6
version: 1.9.7

# 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
2 changes: 1 addition & 1 deletion helm-charts/charts/kube-starrocks/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ operator:
image:
# image sliced by "repository:tag"
repository: starrocks/operator
tag: v1.9.6
tag: v1.9.7
imagePullPolicy: Always
replicaCount: 1
resources:
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.6
version: 1.9.7

# 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
116 changes: 115 additions & 1 deletion index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,40 @@
apiVersion: v1
entries:
kube-starrocks:
- apiVersion: v2
appVersion: 3.2-latest
created: "2024-06-26T16:56:34.430338+08:00"
dependencies:
- name: operator
repository: file://charts/operator
version: 1.9.7
- name: starrocks
repository: file://charts/starrocks
version: 1.9.7
description: kube-starrocks includes two subcharts, operator and starrocks
digest: 8dfe1841b1d788d69d8ce6fc63896ccc63506be0ca38017e9629bd0a8947449f
home: https://github.com/StarRocks/starrocks-kubernetes-operator
icon: https://avatars.githubusercontent.com/u/88238841
keywords:
- operator
- starrocks
- database
- olap
kubeVersion: '>=1.18.3-0'
maintainers:
- email: [email protected]
name: Kevin Cai
- email: [email protected]
name: SidaShen
- email: [email protected]
name: Dongxiao Yan
name: kube-starrocks
sources:
- https://github.com/StarRocks/starrocks
type: application
urls:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.9.7/kube-starrocks-1.9.7.tgz
version: 1.9.7
- apiVersion: v2
appVersion: 3.2-latest
created: "2024-05-09T14:53:18.143934+08:00"
Expand Down Expand Up @@ -477,6 +511,33 @@ entries:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.7.1/kube-starrocks-1.7.1.tgz
version: 1.7.1
operator:
- apiVersion: v2
appVersion: 1.9.7
created: "2024-06-26T16:56:36.60748+08:00"
description: A Helm chart for StarRocks operator
digest: c721e7ed8755e1cb1c582f303b9c038262a9fdb9f7f571942f2d5de43024b73b
home: https://github.com/StarRocks/starrocks-kubernetes-operator
icon: https://avatars.githubusercontent.com/u/88238841
keywords:
- operator
- starrocks
- database
- olap
kubeVersion: '>=1.18.3-0'
maintainers:
- email: [email protected]
name: Kevin Cai
- email: [email protected]
name: SidaShen
- email: [email protected]
name: Dongxiao Yan
name: operator
sources:
- https://github.com/StarRocks/starrocks
type: application
urls:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.9.7/operator-1.9.7.tgz
version: 1.9.7
- apiVersion: v2
appVersion: 1.9.6
created: "2024-05-09T14:53:20.362296+08:00"
Expand Down Expand Up @@ -910,6 +971,33 @@ entries:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.8.0/operator-1.8.0.tgz
version: 1.8.0
starrocks:
- apiVersion: v2
appVersion: 3.2-latest
created: "2024-06-26T16:56:38.849992+08:00"
description: A Helm chart for StarRocks cluster
digest: ca042c0885124edf84e5977d69e0ea7cc4de6ab2902102e26cd6256c7d5ef242
home: https://github.com/StarRocks/starrocks-kubernetes-operator
icon: https://avatars.githubusercontent.com/u/88238841
keywords:
- operator
- starrocks
- database
- olap
kubeVersion: '>=1.18.3-0'
maintainers:
- email: [email protected]
name: Kevin Cai
- email: [email protected]
name: SidaShen
- email: [email protected]
name: Dongxiao Yan
name: starrocks
sources:
- https://github.com/StarRocks/starrocks
type: application
urls:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.9.7/starrocks-1.9.7.tgz
version: 1.9.7
- apiVersion: v2
appVersion: 3.2-latest
created: "2024-05-09T14:53:22.513653+08:00"
Expand Down Expand Up @@ -1343,6 +1431,32 @@ entries:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.8.0/starrocks-1.8.0.tgz
version: 1.8.0
warehouse:
- apiVersion: v2
appVersion: 3.2-latest
created: "2024-06-26T16:56:41.380023+08:00"
description: Warehouse is currently a feature of the StarRocks Enterprise Edition.
digest: 7278a444cc8a51c4627e4f2ee995cd41abc4921243f7e88f2cb8e89afd293b25
home: https://github.com/StarRocks/starrocks-kubernetes-operator
icon: https://avatars.githubusercontent.com/u/88238841
keywords:
- operator
- starrocks
- database
- olap
- multi-warehouse
kubeVersion: '>=1.18.3-0'
maintainers:
- email: [email protected]
name: Kevin Cai
- email: [email protected]
name: Dongxiao Yan
name: warehouse
sources:
- https://github.com/StarRocks/starrocks
type: application
urls:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.9.7/warehouse-1.9.7.tgz
version: 1.9.7
- apiVersion: v2
appVersion: 3.2-latest
created: "2024-05-09T14:53:24.956584+08:00"
Expand Down Expand Up @@ -1525,4 +1639,4 @@ entries:
urls:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.9.0/warehouse-1.9.0.tgz
version: 1.9.0
generated: "2024-05-09T14:53:24.955265+08:00"
generated: "2024-06-26T16:56:41.379353+08:00"
2 changes: 1 addition & 1 deletion pkg/apis/starrocks/v1/starrockscluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ type HorizontalScaler struct {

// StarRocksCluster defines a starrocks cluster deployment.
// +kubebuilder:object:root=true
// +kubebuilder:metadata:annotations="version=v1.9.6"
// +kubebuilder:metadata:annotations="version=v1.9.7"
// +kubebuilder:resource:shortName=src
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:subresource:status
Expand Down
Loading

0 comments on commit 036fdd5

Please sign in to comment.