This guide covers installing the ClickHouse Operator using Helm charts.
- Kubernetes cluster v1.28.0 or later
- Helm v3.0 or later
- kubectl configured to communicate with your cluster
If you don't have Helm installed:
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bashVerify installation:
helm versionhelm install cert-manager oci://quay.io/jetstack/charts/cert-manager -n cert-manager --create-namespace --set crds.enabled=trueInstall the latest release
helm install clickhouse-operator oci://ghcr.io/clickhouse/clickhouse-operator-helm \
--create-namespace \
-n clickhouse-operator-systemInstall a specific operator version
helm install clickhouse-operator oci://ghcr.io/clickhouse/clickhouse-operator-helm \
--create-namespace \
-n clickhouse-operator-system \
--set-json="manager.container.tag=<operator version>Clone the repository and install from the local chart:
git clone https://github.com/ClickHouse/clickhouse-operator.git
cd clickhouse-operator
helm install clickhouse-operator ./dist/chartFor advanced configuration options, refer to the values.yaml file in the Helm chart