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

feature request: support autoscaling ClickHouse cluster

Open prashant-shahi opened this issue 2 years ago • 5 comments

It would be really useful to support autoscaling clickhouse cluster based on some events or metrics similar to how KEDA does.

prashant-shahi avatar Sep 13 '23 19:09 prashant-shahi

do you mean vertical auto scaling or horizontal autoscaling?

Slach avatar Sep 14 '23 05:09 Slach

do you mean vertical auto scaling or horizontal autoscaling?

@Slach For now, what I had in mind was the horizontal autoscaling.

prashant-shahi avatar Sep 14 '23 07:09 prashant-shahi

horizontal autoscaling during adding more shards have no sense, cause ClickHouse itself doesn't support data re-sharding

horizontal autoscaling for adding new replica in exists shard, have non-clean criteria for autoscaling

currently we think about autoscaling PVC size for disk, but it has restrictions, no more 1 resize in 6 hour for AWS, for example

Slach avatar Sep 14 '23 08:09 Slach

ClickHouse Cloud supports vertical autoscaling, maybe the operator could also support it?

However, it might be quite challenging as the enormous workload size often requires the nodes in k8s to be dedicated and their provisioning might require very complex integration with Openstack or AWS Node Groups.

jirislav avatar Mar 22 '24 10:03 jirislav

I wonder whats the status here

tomershafir avatar Apr 20 '24 18:04 tomershafir