Github Actions for Clickhouse db cluster

ClickHouse® is a fast open-source OLAP database management system.

For more info, click here

A github action to run clickhouse db cluster with 2 shards / 2 replica with ZooKeeper.

To setup a local cluster for development purposes, please run the following:

# Clone the repo
git clone https://github.com/vishnudxb/clickhouse-db-cluster.git && cd clickhouse-db-cluster

# Install Minikube # Work only for Ubuntu
make install

# Start the cluster
make start

It will likely take a few minutes for everything to bootup.


# Check on the cluster status
make status

Once you are done with the clutser - you can stop or delete it.


# Stop the cluster
make stop

# Delete the cluster
make delete

If you’re using Github actions as your CI/CD, please check this workflow file and the action