This guide covers installing the ClickHouse Operator using kubectl and manifest files.Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Kubernetes cluster v1.33.0 or later
- kubectl v1.33.0 or later
- Cluster admin permissions
Install from Release Manifests
Requires cert-manager to issue webhook certificates.
- Create the
clickhouse-operator-systemnamespace - Install CustomResourceDefinitions (CRDs) for ClickHouseCluster and KeeperCluster
- Create necessary ServiceAccounts, Roles, and RoleBindings
- Deploy the operator controller manager
- Register webhooks for resource validation and defaulting
- Configure SSL certificates using cert-manager
- Enable metrics endpoint
Verify Installation
Check that the operator is running:Configure Custom Deployment Options
If you want to configure operator deployment options, follow the steps below.
- Clone the Repository
- Configure installation options
Edit config/default/kustomization.yaml to enable/disable features as needed.
- To disable webhooks, comment out the
[WEBHOOK]and[CERTMANAGER]sections. - To enable secure metrics endpoint, comment out
[METRICS]sections and uncomment[METRICS SECURE]and[CERTMANAGER]sections. - To enable ServiceMonitor for Prometheus Operator, uncomment the
[PROMETHEUS]section. - To enable operator network policies, uncomment the
[NETWORK POLICY]section.