Releases: Altinity/clickhouse-operator
Releases · Altinity/clickhouse-operator
release-0.25.2
Fixed
- Refactored concurrent reconcile code to fix #1749
- Changed ClickHouse version detection code to reduce number of calls
- Force-skipped replica wait code for the first host in the cluster
- Fixed clickhouse-keeper manifests for old Kubernetes versions by @Slach in #1767
Full Changelog: release-0.25.1...release-0.25.2
release-0.25.1
Added
- Added an option to substitute macros in settings, can be enabled in spec.reconciling CHI section.
Fixed
- Fix panic by @alex-zaitsev in #1750. Closes #1749
- Fixed rootCA parsing. Closes #1666
- Added ownerReference in chi-storage config map. Closes #1714
- Fixed a bug when CHI was not included in the monitoring on operator restart until the end of reconcile
- Fixed a bug with podTemplate env variables being incorrectly merged from CHI template
Helm/misc changes
- reproduce dashboard installation for grafana helm chart by @Slach in #1725
- Edited template for ServiceMonitor by @virtualb0x in #1728
- add example for schema bootstrap via startup_scripts, fix https://git… by @Slach in #1732
- feat: users with SSL Auth by @viktordebulat in #1739
- fix service monitor template by @Slach in #1747
- Update grafana and prometheus, update grafana dashboards by @Slach in #1752
New Contributors
- @virtualb0x made their first contribution in #1728
- @viktordebulat made their first contribution in #1739
Full Changelog: release-0.25.0...release-0.25.1
release-0.25.0
Added
- Multiple service templates are now supported for a single purpose. Example of syntax:
defaults:
templates:
serviceTemplates:
- service-template
- service-template-internal
- Added availabilityZone attribute for ZooKeeper spec:
configuration:
zookeeper: # Add Zookeeper
nodes:
- host: zookeeper
port: 2181
availabilityZone: "my-azone"
- Operator can now inject version specific ClickHouse configuration, it is configured in 'addons' section of operator configuration. This closes #1603 but can be used for other use cases as well
- Added an option to specify reconciling.runtime.reconcileShardsThreadsNumber and reconcilingShardsMaxConcurrencyPercent on the CHI level
- [Helm] ServiceMonitor additional configuration by @nlamirault in #1624
- [Helm] Add namespace override capability for multi-namespace deployments by @bwdmr in #1640
- [Helm] Add common labels and annotations to all resources by @dashashutosh80 in #1692
- [Helm] Add support for rbac at namespace scope in @dashashutosh80 #1698
Changed
- When a new cluster is started with reconcilingShardsMaxConcurrencyPercent=100, all shards are created in parallel. Previously, first shard was always created alone.
- The new option to wait for replication to catch up when adding a new replica is enabled by default. It can be configured in operator reconcile settings:
reconcile:
host:
wait:
replicas:
all: no
new: yes
delay: 10
Fixed
- Fixed a bug with underlying replicated tables were not properly created when adding new nodes sometimes. Closes #1689
- Fixed a bug when service was not updated if clusterIP is changed from missing to None in service template
- Fixed a bug when annotations were not removed from service if removed from service template
New Contributors
- @nlamirault made their first contribution in #1624
- @bwdmr made their first contribution in #1640
- @DougTidwell made their first contribution in #1660
- @dashashutosh80 made their first contribution in #1692
Full Changelog: release-0.24.5...release-0.25.0
release-0.24.5
What's Changed
- Follow-up to the previous release. CLICKHOUSE_SKIP_USER_SETUP is not added if default entrypoint is not used.
- Fixed a bug when ClickHouseOperatorConfiguration was not correctly merged sometimes
- Adjusted default configuration so configuration files with 'no_restart' in the file name would not cause ClickHouse restarts
- Changed how operator handles remote_servers.xml when doing rolling updates. Now instead of removing/adding a replica, it sets low priority to make sure replica does not get any traffic from distributed queries
- Bumped dependencies to address CVE-2025-22868 and CVE-2025-22870
- Fixed a typo in Keeper Prometheus alert by @morkalfon in #1657
- Fixed Keeper dashboard - Ephemeral Node count by @Slach in #1656
New Contributors
- @morkalfon made their first contribution in #1657
Full Changelog: release-0.24.4...release-0.24.5
release-0.24.4
What's Changed
- Worked around a bug in docker entrypoint.sh introduced by ClickHouse change ClickHouse/ClickHouse#75259. Closes #1631
NOTE: All CHI will be restarted with this upgrade since it requires to modify pod template.
Full Changelog: release-0.24.3...release-0.24.4
release-0.24.3
Added
- Ability to suspend
ClickHouseInstallation
andClickHouseKeeper
reconciliation by @a7i in #1580. Controlled by.spec.suspend
attribute. Closes #1433 - New clickhouse_operator_chi metric in metrics-exporter
- Add kafka related alerts by @Slach in #1596
Changed
- NormalizedCHI that is used to plan reconciliation was moved from CHI status to a separate configmap object. Closes #1444
- Changed a way ClickHouse is restarted in order to pickup server configuration change. Instead of pod re-creation it tries
SYSTEM SHUTDOWN
first. That speeds things up on nodes with big volumes, since those should not be re-attached. - Unused fields 'HostsUnchanged' and 'HostsDelete' were removed from extended status output
- Upgrade prometheus-operator to 0.79.0 (alerts tested with prometheus 3.0.1) by @Slach in #1599
- Interserver secret is now used for 'all-sharded' cluster if it is defined for the main cluster
Fixed
- Custom ZK path creation is not retried anymore for stopped CHI
- Fixed CVE-2024-45338 in golang.org/x/net 0.23.0
New Contributors
Full Changelog: release-0.24.2...release-0.24.3
release-0.24.2
Changed
- Inherit kubectl annotations when managing statefulsets by @ondrej-smola in #1582. That allows to avoid unexpected restarts
- Remove openSSL from /etc/clickhouse-keeper/config.d/01-keeper-01-default-config.xml by @Slach in #1574
- Faster startup of big clusters
Fixed
Full Changelog: release-0.24.1...release-0.24.2
release-0.24.1
Added
- Option to exclude certain labels/annotations from exposed prometheus metrics. Closes #1525
Changed
- Removed SYSTEM DROP DNS cache that is not needed since ClickHouse 19.11
- Removed redundant synchronization between threads when multiple shards were reconciled in parallel. That speeds up reconcile of big clusters
- Action log in CHI/CHK status is disabled by default
- When custom (Zoo)Keeper path is used, operator will re-try path creation until (Zoo)Keeper is available
- Improved Keeper scale out/in logic
- Respect PVC storage value if current value is greater than value in spec by @ondrej-smola in #1573
- Update zookeeper deployment examples to 3.8.4 by @Slach in #1553
Fixed
- fix: fix slice init length by @cuishuang in #1523
- fix: don't b64 encode configmap data by @marvinWolff in #1540
- fix helm chart release publication in #1589
Helm and docs
- Doc : Add OpenEBS example by @lorellalou in #1527
- Hotfix volumeClaimTemplate linking in chk-examples by @Slach in #1543
- fix helm chart's README by @janeklb in #1555
- Hotfix chk crd, add {chk} and {chkID} to .spec.templates.serviceTemplates.generatedName description by @Slach in #1562
- fix: add missing CRD link to helm chart readme by @janeklb in #1563
- Docs: fix version to match manifests in chi-examples/08-* by @xavierleune in #1566
- Add chk image pull secrets example by @Slach in #1576
New Contributors
- @lorellalou made their first contribution in #1527
- @marvinWolff made their first contribution in #1540
- @janeklb made their first contribution in #1555
- @xavierleune made their first contribution in #1566
- @ondrej-smola made their first contribution in #1572
Full Changelog: release-0.24.0...release-0.24.1
release-0.24.0
BACKWARD INCOMPATIBLE CHANGES
- ClickHouseKeeper support has been completely re-written. It is now fully compatible with CHI in syntax and supported functionality that closes multiple issues discovered by early adopters. The downside is that CHK resources created by operator 0.23.x will loose the storage and change service name due to different naming conventions.
See CHK upgrade instructions from 0.23 to 0.24 for detail.
This closes #1504, #1497, #1469, #1465, #1459, #1408, #1362, #1296
Added
- Added 'pdbMaxUnavailable' attribute to the cluster to manage PDB behavior. See 01-simple-layout-03-multiple-clusters-pdb-spec.yaml
- Added 'all-clusters' cluster into auto-generated remote_servers.xml that references multiple clusters in CHI with respect to shards and replicas. by @tanner-bruce in #1409
Changed
- Operator will now create zookeeper root path if specified in CHI configuration. Previously it assumed root path already exists.
- Operator now waits for the last host to be included in the cluster before marking CHI as completed
- Update helm chart to allow add pod labels by @bruno-s-coelho in #1359. Closes #1356
- Support install operator from local template by @orloffv in #1401
- Added prometheus zeros init for reconciliation metrics by @nmiculinic in #1398
- Update helm chart to allow adding topologySpreadConstraints by @naturalett in #1462
- Use ConfigMap instead of Secret for grafana dashboards by @cwrau in #1457
- Altinity_ClickHouse_Operator_dashboard.json: dashboard has been updated by @nmiakushina in #1512 and #1515
Fixed
- Fixed hostAliases in podTemplate by @chengjoey in #1453. Closes #1445
- Fix install zookeeper operator by @realyota in #1437
- Fix custom hostAliases do not take effect in sts by @chengjoey in #1453
- Fixed ClickHouseKeeper dashboard templates/queries by @ja14000 in #1481
New Contributors
- @vitaliyf made their first contribution in #1365
- @kam1kaze made their first contribution in #1366
- @orloffv made their first contribution in #1401
- @nmiculinic made their first contribution in #1398
- @tanner-bruce made their first contribution in #1409
- @holycheater made their first contribution in #1430
- @chengjoey made their first contribution in #1453
- @cwrau made their first contribution in #1457
- @AlexandrKhabarov made their first contribution in #1460
- @naturalett made their first contribution in #1462
- @ja14000 made their first contribution in #1481
- @jirislav made their first contribution in #1470
- @p-wall made their first contribution in #1511
- @nmiakushina made their first contribution in #1512
Full Changelog: release-0.23.7...release-0.24.0
release-0.23.7
This is a maintenance release while 0.24.0 is delayed.
Fixed
- Fixed metrics exporter compatibility for ClickHouse 24.3 and above. Closes #1411
- Fixed deletion of S3 data when dropping replicas or deleting clusters. Closes #1388
- Fixed a bug in CHK reconciler that might result in looped updates of CHK status by @holycheater in #1430. Closes #1413
Full Changelog: release-0.23.6...release-0.23.7