clickhouse-operator icon indicating copy to clipboard operation
clickhouse-operator copied to clipboard

Take effect without restart by updating some clickhouse configuration

Open xzy256 opened this issue 3 years ago • 2 comments

Clickhouse support some configuration take effect without restart, such as keep_alive_timeoutmax_thread_pool_sizemax_connections etc. But when i use operator, no matter config

configuration:
    files:
      config.d/xxx.xml

or

configuration:
    files:
      conf.d/xxx.xml

or

configuration:
    settings:
        key: value

When apply yaml by kubectl, the pods restart after some seconds. Does operator support the function or not ?

xzy256 avatar Jul 18 '22 02:07 xzy256

We plan to add a special syntax to specify if clickhouse needs to be restarted for a particular setting change or not.

alex-zaitsev avatar Jul 18 '22 09:07 alex-zaitsev

very nice.

xzy256 avatar Jul 18 '22 11:07 xzy256

@alex-zaitsev is this flag to force clickhouse to restart has been implemented? I'm trying to find a more elegant way to re-apply some changes rather than kubectl delete -f ... && kubectl apply -f ...

Thanks

lazywei avatar Jan 26 '23 22:01 lazywei

adressed in 0.21 https://github.com/Altinity/clickhouse-operator/releases/tag/release-0.21.0

filimonov avatar Dec 07 '23 10:12 filimonov