Added
- Reference CHK from CHI by a name rather than a service:
spec:
configuration:
zookeeper:
keeper:
name: my-keeper
- [EXPERIMENTAL] Pre/post hooks. Allows to inject different SQL commands on reconcile events.
- supported
events:Any,HostCreate,HostUpdate,HostStart,HostStop,HostConfigRestart,HostRollout,HostShutdown,HostDelete targetcontrols where to run SQL:FirstHost(default),AllHosts,AllShardsfailurePolicyspecifies what to do if hook execution fails with an error:Fail(default) orIgnore.
See CRD for detailed description. Example:
- supported
reconcile:
host:
hooks:
pre:
- sql:
queries:
- "SYSTEM STOP REPLICATION QUEUES"
events:
- HostShutdown
- Now operator automatically restarts aborted reconcile if failed pod goes online after abort
- Restart operator on operator configuration change. #1960. Closes #1930
- Allow to exclude certain metrics from exporting. Noisy OS/CPU metrics are now excluded by default. #1975. Closes #1876
Exclusion rules are applied by default and can be changed in operator configuration:
excludeMetricsRegexp:
- "^metric\\.(OS.*CPU[0-9]+|CPUFrequencyMHz_[0-9]+)$"
- Helm: Allow readiness and liveness probes for operator containers by @janeklb in #1976
- Helm: Add security context for crdHook to enable security policy compliance by @qlevasseur-genetec in #1950
Changed
- Enabled
async_replicationanduse_xid_64in Keeper default configuration. Requires Keeper 25.3 or above. - Whitelist Keeper four letter commands by default
- Switched Keeper probes to ruok
- Kubernetes client library has been upgraded to 0.30.14 by @dcoppa in #1970
Fixed
- Fix watch ClickHouseOperatorConfiguration in operator namespace. #1959.
- Fix chk probe crashloop by @hananbs in #1961. Closes #1962
- Fix secret-backed env upgrade rollout. #1966. Closes #1963
- Helm: fix configmap too long by @madrisan in #1949. Closes #1911
- build(deps): bump go.opentelemetry.io/otel/sdk from 1.42.0 to 1.43.0 by @dependabot[bot] in #1953
- Fix: format string issues by @destinyoooo in #1955
- Fix: Prevent CrashLoopBackOff during image upgrade with RollingUpdate (#1926) by @dashashutosh80 in #1956. Closes #1926
- Fixed a bug when host has not been removed from status fields
hostsWithReplicaCaughtUpandhostsWithTablesCreatedwhen removing from a cluster. - Prevent nil pointer panic in poll when CR Get fails by @wucm667 in #1974. Closes #1972
- Scope schema discovery to target host's cluster in multi-cluster CHI by @lukas-pfannschmidt-tr in #1965. Closes #1964
- Fix: use plain errors for clickhouse model messages in #1980 by @immanuwell
New Contributors
- @qlevasseur-genetec made their first contribution in #1950
- @destinyoooo made their first contribution in #1955
- @hananbs made their first contribution in #1961
- @wucm667 made their first contribution in in #1974
- @immanuwell made their first contribution in #1980
Full Changelog: release-0.26.3...release-0.27.0