Releases: Altinity/clickhouse-operator
Releases · Altinity/clickhouse-operator
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
release-0.23.6
Fixed
- Fixed a bug when schema was not fully restored if volume from the first node in the cluster has been re-provisioned
- Updated golang to 1.21 to address CVEs in dependent modules
Other
- Moved baseline version for tests to 24.3
Full Changelog: release-0.23.5...release-0.23.6
release-0.23.5
Changed
- 'chi' label is currently added to 'clickhouse_operator_*' metrics
- CHI annotations are now added as labels to 'chi_*' metrics
- clickhouse-operator Helm charts are moved from 'deploy/helm' to 'deploy/helm/clickhouse-operator'
Fixed
- Fixed a bug when nodes were not correctly excluded from remote_servers on replicated clusters with 4 or more shards, that might result in failed distributed queries and unnecessary reconciliation delays.
Full Changelog: release-0.23.4...release-0.23.5
release-0.23.4
Changed
- Allow adding pod labels in Helm chart by @bruno-s-coelho in #1369. Closes #1356
- The default service type has been changed from LoadBalancer to ClusterIP
- Cluster restart rules were fixed for some structured settings like 'logger/*'. Now changing of those would not cause a restart of pods.
- Operator does not fail if ClickHouserKeeperInstallation resource type is missing in k8s
- Added 'clickhouse_operator_chi_reconciles_aborted' operator metric
NOTE: There was a lot of internal refactoring related to Keeper code, but no functional changes yet. The Keeper configuration functionality will be improved in the next major release.
Full Changelog: release-0.23.3...release-0.23.4
release-0.23.3
Changed
- Enabled parameterized databases propagation to shards and replicas in ClickHouse 22.12+. That includes support for Replicated and MySQL database engines. Closes #1076
- Removed object storage disks from DiskTotal/Free metrics since those do not make any sense
- Added ability to import packages with operator APIs by @dmvolod in #1229
- Introduced number of unchanged hosts in CHI status
Fixed
- Fixed an issue with cluster stop could be taking long time. Closes #1346
- Fixed a bug when inconsistent cluster definition might result in a crash. Closes #1319
- Fixed a bug when hosts-completed could be incorrectly reported in status when reconcile is re-started in the middle
Full Changelog: release-0.23.2...release-0.23.3
release-0.23.2
What's Changed
- Fix environment variables generation for secrets that might be off in some cases. Closes #1344
- Golang is upgraded to 1.20. Closes CVEs in dependent libraries.
Full Changelog: release-0.23.1...release-0.23.2
release-0.23.1
Fixed
- Fixed generation of users that could be broken in some cases. Closes #1324 and #1332
- Fixed metrics-exporter that might fail to export metrics in some cases. Closes #1336
- Fixed Keeper examples
- Include installation of ClickhouseKeeperInstallations CRD in Helm chart readme by @echozio in #1330
Improved
- Updated grants example by @lesandie in #1333
- Upgrade ClickHouse version to 23.8-lts by @orginux in #1338
Full Changelog: release-0.23.0...release-0.23.1