Skip to content

Commit

Permalink
[Chore] change related fields to release v1.9.3 (#460)
Browse files Browse the repository at this point in the history
Signed-off-by: yandongxiao <[email protected]>
  • Loading branch information
yandongxiao authored Mar 5, 2024
1 parent cd02ea3 commit 8799e7c
Show file tree
Hide file tree
Showing 11 changed files with 172 additions and 28 deletions.
36 changes: 35 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# CHANGELOG

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

Release Notes for starrocks-kubernetes-operator v1.9.3

We are excited to announce the release of StarRocks Kubernetes Operator v1.9.3. This version brings a mix of
enhancements and bug fixes to further improve the deployment and management of StarRocks clusters on Kubernetes
environments.

### Enhancements

- [Operator] Enhanced Lifecycle Management: Users can now define postStart and preStop lifecycle hooks for
StarRocksCluster, enabling more control over the cluster's lifecycle events.
PR [#456](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/456)
- [Operator] HostPath Support: This version introduces support for hostPath, allowing users to mount local directories
to the StarRocksCluster. PR [#451](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/451)
- [Chart] Scoped Permissions: The operator's permissions can now be restricted to a single namespace, enhancing security
by limiting the operator's scope to deploying StarRocks within a designated namespace.
PR [#446](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/446)
- [Chart] Init-Password Job Enhancements: Support for annotations and specifying the image field for the init-password
job has been added, allowing for greater customization.
PR [#454](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/454)
- [Operator] Configuration Flexibility: The operator now supports be_http_port and be_port in the configuration.
PR [#450](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/450)

### Bug Fixes

- [Operator] HPA Deletion Issue Resolved: A bug where the Horizontal Pod Autoscaler (HPA) was not properly deleted when
the autoScalingPolicy field was removed has been fixed, ensuring clean and accurate scaling operations.
PR [#444](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/444)
- [Chart] Init-Password Job Port Configuration: The query port can now be configured in the init-password job,
addressing previous limitations and enhancing setup flexibility.
PR [#455](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/455)

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

Release Notes for starrocks-kubernetes-operator v1.9.2
Expand All @@ -12,7 +45,8 @@ StarRocks clusters on Kubernetes environments.

- **[chart]** Add Datadog profiling to SR Helm to enhance monitoring
capabilities. [#437](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/437)
- **[chart]** Add `starrocksCluster.componentValues` to define some values uniformly to streamline configurations. [#425](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/425)
- **[chart]** Add `starrocksCluster.componentValues` to define some values uniformly to streamline
configurations. [#425](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/425)
- **[operator]** Add k8s event information during the Operator reconciliation for better debugging and operational
insights. [#391](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/391)

Expand Down
18 changes: 2 additions & 16 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,13 @@ rules:
- get
- list
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterrolebindings
- rolebindings
verbs:
- '*'
- apiGroups:
- starrocks.com
resources:
- starrocksclusters
- starrockswarehouses
verbs:
- '*'
- apiGroups:
- starrocks.com
resources:
- starrocksclusters/finalizers
- starrockswarehouses/finalizers
verbs:
- update
- apiGroups:
- starrocks.com
resources:
Expand Down Expand Up @@ -174,7 +160,7 @@ spec:
kubectl.kubernetes.io/default-container: manager
labels:
app: kube-starrocks-operator
version: 1.9.2
version: 1.9.3
spec:
automountServiceAccountToken: true
containers:
Expand All @@ -187,7 +173,7 @@ spec:
env:
- name: TZ
value: Asia/Shanghai
image: "starrocks/operator:v1.9.2"
image: "starrocks/operator:v1.9.3"
imagePullPolicy: Always
name: manager
securityContext:
Expand Down
19 changes: 18 additions & 1 deletion doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,23 @@ the total time of seconds before pods becomes not ready. If ReadinessProbeFailur
can&rsquo;t be divided by defaultPeriodSeconds, the failureThreshold will be rounded up.</p>
</td>
</tr>
<tr>
<td>
<code>lifecycle</code><br/>
<em>
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#lifecycle-v1-core">
Kubernetes core/v1.Lifecycle
</a>
</em>
</td>
<td>
<em>(Optional)</em>
<p>Lifecycle describes actions that the management system should take in response to container lifecycle events.
By default, Operator will add corresponding preStop hooks for different components. For example, the preStop
script for the FE Component is /opt/starrocks/fe_prestop.sh, for the BE Component is /opt/starrocks/be_prestop.sh,
and for the CN Component is /opt/starrocks/cn_prestop.sh.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="starrocks.com/v1.StarRocksProbe">StarRocksProbe
Expand Down Expand Up @@ -2116,5 +2133,5 @@ AutoScalingPolicy
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>0157a02</code>.
on git commit <code>cd02ea3</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.2
version: 1.9.3

# 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.2
version: 1.9.3

# 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.2
appVersion: 1.9.3

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.2
tag: v1.9.3
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.2
version: 1.9.3

# 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 @@ -20,7 +20,7 @@ initPassword:
# The image of the initPassword job, if it is not set, the FE image will be used.
# see https://github.com/StarRocks/starrocks-kubernetes-operator/issues/453 for why we need to set the image.
image: ""
# The annotations for the initPassword job.
# The annotations for the Job, not including the annotations for the pod.
annotations: {}

# TimeZone is used to set the environment variable TZ for pod, with Asia/Shanghai as the default.
Expand Down
4 changes: 2 additions & 2 deletions 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.2
tag: v1.9.3
imagePullPolicy: Always
replicaCount: 1
resources:
Expand Down Expand Up @@ -117,7 +117,7 @@ starrocks:
# The image of the initPassword job, if it is not set, the FE image will be used.
# see https://github.com/StarRocks/starrocks-kubernetes-operator/issues/453 for why we need to set the image.
image: ""
# The annotations for the initPassword job.
# The annotations for the Job, not including the annotations for the pod.
annotations: {}

# TimeZone is used to set the environment variable TZ for pod, with Asia/Shanghai as the default.
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.2
version: 1.9.3

# 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
109 changes: 108 additions & 1 deletion index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
apiVersion: v1
entries:
kube-starrocks:
- apiVersion: v2
appVersion: 3.2-latest
created: "2024-03-05T10:39:15.238071+08:00"
description: kube-starrocks includes two subcharts, operator and starrocks
digest: 954cc0adddd4798b8f79d5b8a593268b2a12f5e8ae110bd04e730362a92bd697
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.3/kube-starrocks-1.9.3.tgz
version: 1.9.3
- apiVersion: v2
appVersion: 3.2-latest
created: "2024-02-04T19:56:45.368703+08:00"
Expand Down Expand Up @@ -355,6 +382,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.3
created: "2024-03-05T10:39:17.670481+08:00"
description: A Helm chart for StarRocks operator
digest: 5e3501d81114350ed9f7962f1b1de3f90bfce45df1192b85b5dd490a0dd65370
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.3/operator-1.9.3.tgz
version: 1.9.3
- apiVersion: v2
appVersion: 1.9.2
created: "2024-02-04T19:56:47.632264+08:00"
Expand Down Expand Up @@ -680,6 +734,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-03-05T10:39:20.079366+08:00"
description: A Helm chart for StarRocks cluster
digest: 9380deaa431316c0be313dac5a3efe0d358139e0a1dad6e3fed51cd0ae32ed6b
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.3/starrocks-1.9.3.tgz
version: 1.9.3
- apiVersion: v2
appVersion: 3.2-latest
created: "2024-02-04T19:56:49.792546+08:00"
Expand Down Expand Up @@ -1005,6 +1086,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-03-05T10:39:22.492565+08:00"
description: Warehouse is currently a feature of the StarRocks Enterprise Edition.
digest: 8342b3ddf2f88dfe5645d1f5940fef85bcdb64a2ade98aedc58aab92f60b9f5f
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.3/warehouse-1.9.3.tgz
version: 1.9.3
- apiVersion: v2
appVersion: 3.2-latest
created: "2024-02-04T19:56:52.067362+08:00"
Expand Down Expand Up @@ -1083,4 +1190,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-02-04T19:56:52.066872+08:00"
generated: "2024-03-05T10:39:22.491873+08:00"

0 comments on commit 8799e7c

Please sign in to comment.