clickhouse-movoor

by ethPandaOps

Helm chartv0.0.2Verified publisher

A ClickHouse storage tiering operator that moves cold MergeTree partitions to colder disks

About this chart

clickhouse-movoor

A ClickHouse storage tiering operator that moves cold MergeTree partitions to colder disks

Homepage: https://github.com/ethpandaops/clickhouse-movoor

Maintainers

NameEmailUrl
savid[email protected]

Values

KeyTypeDefaultDescription
affinityobject{}Affinity configuration for pods
annotationsobject{}Annotations for the StatefulSet
argslist[]Command arguments
config.clickhouse.dialTimeoutstring"5s"Dial timeout (standard Go duration)
config.clickhouse.nodeslistSee values.yamlClickHouse nodes (required). Each entry is one physical ClickHouse node, do not use comma-separated failover DSNs or load-balanced addresses here. DSNs are environment-expanded, so ${CLICKHOUSE_PASSWORD} injected via secretEnv is supported
config.clickhouse.queryTimeoutstring"30s"Query timeout (standard Go duration)
config.frontend.addrstring":8080"Address to serve the frontend on
config.frontend.enabledbooltrueEnable or disable the frontend UI/API service
config.healthCheckAddrstring":8081"Health check server address
config.loggingstring"info"Logging level: debug, info, warn/warning, or error
config.metricsAddrstring":9090"Metrics server address
config.tiering.defaultsobjectSee values.yamlDefaults copied into every watch that has a tier block. A watch without a tier block remains observe-only
config.tiering.intervalstring"5m"Pause between reconcile cycles
config.tiering.modestring"plan"Tiering mode. "off" observes only, plan computes decisions without ALTERs, enforce applies movement/optimization decisions
config.watcheslist[]Tables to watch. A watch without a tier block is observe-only
containerSecurityContextobjectSee values.yamlThe security context for containers
customArgslist[]Custom args for the clickhouse-movoor container
customCommandlist[]Command replacement for the clickhouse-movoor container
extraContainerslist[]Additional containers
extraEnvlist[]Additional env variables
extraPodPortslist[]Extra Pod ports
extraPortslist[]Additional ports. Useful when using extraContainers
extraVolumeMountslist[]Additional volume mounts
extraVolumeslist[]Additional volumes
fullnameOverridestring""Overrides the chart's computed fullname
image.pullPolicystring"IfNotPresent"clickhouse-movoor container pull policy
image.repositorystring"ethpandaops/clickhouse-movoor"clickhouse-movoor container image repository
image.tagstring"latest"clickhouse-movoor container image tag
imagePullSecretslist[]Image pull secrets for Docker images
ingress.http.annotationsobject{}Annotations for Ingress
ingress.http.classNamestring""
ingress.http.enabledboolfalseIngress resource for the HTTP frontend
ingress.http.hostslist[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]Ingress host
ingress.http.tlslist[]Ingress TLS
initContainerslist[]Additional init containers
lifecycleobject{}Lifecycle hooks. The default image is distroless, so exec hooks like /bin/sleep are not available
livenessProbeobjectSee values.yamlLiveness probe
nameOverridestring""Overrides the chart's name
nodeSelectorobject{}Node selector for pods
podAnnotationsobject{}Pod annotations
podDisruptionBudgetobject{}Define the PodDisruptionBudget spec If not set then a PodDisruptionBudget will not be created
podLabelsobject{}Pod labels
priorityClassNamestringnilPod priority class
readinessProbeobjectSee values.yamlReadiness probe
replicasint1Number of replicas. clickhouse-movoor is a singleton operator, you almost certainly want to keep this at 1
resourcesobject{}Resource requests and limits
secretEnvobject{}Secret env variables injected via a created secret. DSNs in the config are environment-expanded, so you can keep credentials out of the config, e.g. CLICKHOUSE_PASSWORD referenced as ${CLICKHOUSE_PASSWORD}
securityContextobjectSee values.yamlThe security context for pods
service.typestring"ClusterIP"Service type
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createboolfalseSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
serviceMonitor.annotationsobject{}Additional ServiceMonitor annotations
serviceMonitor.enabledboolfalseIf true, a ServiceMonitor CRD is created for a prometheus operator https://github.com/coreos/prometheus-operator
serviceMonitor.intervalstring"15s"ServiceMonitor scrape interval
serviceMonitor.labelsobject{}Additional ServiceMonitor labels
serviceMonitor.namespacestringnilAlternative namespace for ServiceMonitor
serviceMonitor.pathstring"/metrics"Path to scrape
serviceMonitor.relabelingslist[]ServiceMonitor relabelings
serviceMonitor.schemestring"http"ServiceMonitor scheme
serviceMonitor.scrapeTimeoutstring"30s"ServiceMonitor scrape timeout
serviceMonitor.tlsConfigobject{}ServiceMonitor TLS configuration
terminationGracePeriodSecondsint60How long to wait until the pod is forcefully terminated
tolerationslist[]Tolerations for pods
topologySpreadConstraintslist[]Topology Spread Constraints for pods
updateStrategyobjectSee values.yamlUpdate strategy for the StatefulSet

Autogenerated from chart metadata using helm-docs v1.5.0

Deploy clickhouse-movoor with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has clickhouse-movoor on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartclickhouse-movoor is pinned at v0.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply