Hello, Team, As per <this>, zookeeper is not necessary for single node clickhouse and I do not think...
a
Hello, Team, As per this, zookeeper is not necessary for single node clickhouse and I do not think there's an option to not use a zookeeper in the SigNoz/ClickHouse helm chart. Any help on how to disable it and whether we even should (to save on memory) ?
s
It's a very lightweight container. You do not gain much by removing it.
a
@Srikanth Chekuri Agreed, but we have a use case where we have to reduce the entire stack within 2 GB of RAM, while we already managed to bring it down to 2.9 GB, releasing around 300 MBs used by zookeeper would help us a long way in that, Any way to do that? Thanks for your reply 👍
After removing ZooKeeper fom the ClickHouseInstallation CRD, Only the schema-migrator is failing, but the cluster other wise is running fine, Could @Srikanth Chekuri or anyone else give a hint about why the schema migrator needs zookeeper to run or refer me to a related doc, I am looking to make it work.
s
There would errors in ClickHouse without zookeeper
a
@Srikanth Chekuri Yes, but it is only failing when clickhouse is initialised in the absence of zookeeper, Once it starts, scaling zookeeper down does not make any difference, am adding a post install hook to scale zookeeper down after clickhouse is up. This approach would impair clickhouse in case of a automatic restart, but this seems to be the only way to go to save that 300MB. Any better ideas or suggestions are welcome.