v1.8.0 🌈
github-actions
released this
14 Aug 10:39
·
217 commits
to refs/heads/main
since this release
We are excited to announce the release of StarRocks Kubernetes Operator v1.8.0. This release brings some new features and bug fixes to improve the user experience of deploying and managing StarRocks clusters on Kubernetes.
What's New
- [operator] CRD changes: We have modified the CRD definition in v1.8.0. Before you use helm upgrade to upgrade from a previous version, you need to manually update the CRD definition.
- [operator] Non-root mode: We have added a runAsNonRoot field to support running StarRocks pods as non-root users. This can enhance the security of your StarRocks clusters.
- [chart] Subchart support: We have split the kube-starrocks chart into two subcharts: operator and starrocks. Installing kube-starrocks is equivalent to installing both operator and starrocks subcharts, and uninstalling kube-starrocks is equivalent to uninstalling both operator and starrocks subcharts. If you want more flexibility in managing your StarRocks clusters, you can install operator and starrocks subcharts separately.
- [chart] Values migration tool: We have provided a tool to migrate your values.yaml file from a previous version to v1.8.0. You can use the migrate-chart-value command to upgrade your values.yaml file.
- [chart] Multiple cluster support: We have enabled support for deploying multiple StarRocks clusters in different namespaces in one Kubernetes cluster. You just need to install the starrocks chart in different namespaces.
- [operator] FE proxy feature: We have added the FE proxy feature to allow external clients and data import tools to access StarRocks clusters in Kubernetes. For example, you can use the STREAM LOAD syntax to import data into StarRocks clusters.
- [chart] Datadog integration: We have integrated with Datadog to provide metrics and logs for StarRocks clusters. You can enable this feature by setting the datadog related fields in your values.yaml file.
- [chart] Cluster password initialization: We have added the ability to initialize the password of root in your StarRocks cluster during installation. Note that this only works for helm install, can't use it in helm upgrade
How to Upgrade
To upgrade from a previous version of StarRocks Kubernetes Operator, please follow these steps:
- Update the CRD definition by running:
kubectl apply -f https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.8.0/starrocks.com_starrocksclusters.yaml
- Migrate your values.yaml file by running:
migrate-chart-value --input values.yaml --target-version v1.8.0 --output ./values-v1.8.0.yaml
- Upgrade your Helm release by running:
helm repo update; helm upgrade <release-name> starrocks-community/kube-starrocks -f values-v1.8.0.yaml
How to Install
To install StarRocks Kubernetes Operator for the first time, please follow these steps:
- Add the StarRocks Helm repository by running:
helm repo add starrocks-community https://starrocks.github.io/starrocks-kubernetes-operator
, then executehelm repo update
. - Install the kube-starrocks chart by running:
helm install <release-name> starrocks-community/kube-starrocks -f values.yaml
- Alternatively, you can install the operator and starrocks subcharts separately by running. Install operator:
helm install <release-name> starrocks-community/operator -f operator-values.yaml
. Install starrocks:helm install <starrocks-release-name> starrocks-community/starrocks -f starrocks-values.yaml
Feedback
We welcome your feedback and contributions to StarRocks Kubernetes Operator. If you have any questions, suggestions, or issues, please feel free to open an issue on our GitHub repository. Thank you for using StarRocks Kubernetes Operator!
Changes
- add ResourceVersion before update service resources @yandongxiao (#217)
- [refactor] rename some names @yandongxiao (#207)
- doc/add prometheus grafana integration doc @kevincai (#202)
- [Bugfix] race condition on fe/be/cn status when upgrade @yandongxiao (#198)
- Add time zone settings and fixed issue where Secret could not find during helm upgrade. @WholeWorld-Timothy (#188)
- update index.yaml @yandongxiao (#190)
🚀 Features
- add fe proxy @yandongxiao (#211)
- set resync period @yandongxiao (#218)
- support subpath in crd @yandongxiao (#212)
- change the default volume size of fe meta @yandongxiao (#210)
- allow user to add attributes on datadog log annotations @yandongxiao (#208)
- add tool to upgrade or downgrade values.yaml file @yandongxiao (#206)
- Feature/use helm template to generate operator yaml file @yandongxiao (#200)
- Feature/use subchart to support multiple starrocks cluster @yandongxiao (#199)
- reformat go imports @yandongxiao (#201)
- feature/integration-with-datadog @yandongxiao (#197)
- [Feature] add runAsNonRoot filed @yandongxiao (#195)
- Bugfix/remove version from selector @yandongxiao (#191)