thanos-operator
A Helm chart to distribute thanos-operator
About this chart
Thanos Operator
Thanos Operator by AppsCode - Thanos Operator for Kubernetes
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/thanos-operator --version=v2026.6.2
$ helm upgrade -i thanos-operator appscode/thanos-operator -n kubeops --create-namespace --version=v2026.6.2
Introduction
This chart deploys a Thanos Operator on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.21+
Installing the Chart
To install/upgrade the chart with the release name thanos-operator:
$ helm upgrade -i thanos-operator appscode/thanos-operator -n kubeops --create-namespace --version=v2026.6.2
The command deploys a Thanos Operator on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall the thanos-operator:
$ helm uninstall thanos-operator -n kubeops
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the thanos-operator chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| manager.replicas | 1 | |
| manager.image.repository | ghcr.io/opnpulse/thanos-operator | |
| manager.image.tag | v2026.4.24 | |
| manager.image.pullPolicy | IfNotPresent | |
| manager.env | # Environment variables # | [] |
| manager.envOverrides | # Env overrides (--set manager.envOverrides.VAR=value) # Same name in env above: this value takes precedence. # | {} |
| manager.imagePullSecrets | # Image pull secrets # | [] |
| manager.podSecurityContext.runAsNonRoot | true | |
| manager.securityContext.allowPrivilegeEscalation | false | |
| manager.securityContext.seccompProfile.type | RuntimeDefault | |
| manager.resources.limits.cpu | 500m | |
| manager.resources.limits.memory | 128Mi | |
| manager.resources.requests.cpu | 10m | |
| manager.resources.requests.memory | 64Mi | |
| manager.affinity | # Manager pod's affinity # | {} |
| manager.nodeSelector | # Manager pod's node selector # | {} |
| manager.tolerations | # Manager pod's tolerations # | [] |
| rbacHelpers.enable | Install convenience admin/editor/viewer roles for CRDs | false |
| crd.enable | Install CRDs with the chart | false |
| crd.keep | Keep CRDs when uninstalling | true |
| metrics.enable | true | |
| metrics.port | Metrics server port | 8443 |
| certManager.enable | false | |
| prometheus.enable | false |
Specify each parameter using the --set key=value[,key=value] argument to helm upgrade -i. For example:
$ helm upgrade -i thanos-operator appscode/thanos-operator -n kubeops --create-namespace --version=v2026.6.2 --set manager.replicas=1
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
$ helm upgrade -i thanos-operator appscode/thanos-operator -n kubeops --create-namespace --version=v2026.6.2 --values values.yaml
Deploy thanos-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has thanos-operator 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartthanos-operator is pinned at v2026.6.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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