thanos
by k8s On Lab
Helm chartv1.1.7App v0.41.0Apache-2.0Verified publisher
Helm chart for Thanos.
About this chart
thanos
Helm chart for Thanos.
Homepage: https://thanos.io/
Install
You can install this chart from the classic Helm repository or from OCI in GHCR.
Helm repository
helm repo add publiccharts https://charts.ar80.eu
helm repo update
helm install my-release publiccharts/thanos
OCI registry (GHCR)
helm registry login ghcr.io
helm install my-release oci://ghcr.io/k8sonlab/publiccharts/thanos --version <chart-version>
Maintainers
| Name | Url | |
|---|---|---|
| varet80 | https://github.com/varet80 |
Source Code
- https://github.com/thanos-io/thanos
- https://github.com/thanos-io/kube-thanos
- https://github.com/k8sonlab/publiccharts
Values
| Key | Type | Default | Description |
|---|---|---|---|
| image.repository | string | "thanosio/thanos" | |
| image.tag | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| fullnameOverride | string | "" | |
| commonLabels | object | {} | |
| serviceMonitor.enabled | bool | false | |
| serviceMonitor.additionalLabels | object | {} | |
| serviceMonitor.endpointConfig | object | {} | |
| serviceMonitor.interval | string | nil | |
| objstoreConfig.create | bool | true | |
| objstoreConfig.name | string | "" | |
| objstoreConfig.key | string | "config" | |
| objstoreConfig.value | string | "type: FILESYSTEM\nconfig:\n directory: /var/thanos/store/s3" | |
| logLevel | string | "info" | |
| logFormat | string | "logfmt" | |
| additionalEndpoints | list | [] | |
| additionalReplicaLabels | list | [] | |
| compact.enabled | bool | false | |
| compact.serviceAccount.create | bool | true | |
| compact.serviceAccount.labels | object | {} | |
| compact.serviceAccount.annotations | object | {} | |
| compact.serviceAccount.name | string | "" | |
| compact.serviceAccount.automountToken | bool | false | |
| compact.service.annotations | object | {} | |
| compact.updateStrategy | object | {} | |
| compact.podLabels | object | {} | |
| compact.podAnnotations | object | {} | |
| compact.podSecurityContext.fsGroup | int | 65534 | |
| compact.podSecurityContext.runAsUser | int | 65534 | |
| compact.securityContext | object | {} | |
| compact.priorityClassName | string | "" | |
| compact.terminationGracePeriodSeconds | string | nil | |
| compact.extraEnv | list | [] | |
| compact.extraArgs | list | [] | |
| compact.livenessProbe.httpGet.path | string | "/-/healthy" | |
| compact.livenessProbe.httpGet.port | string | "http" | |
| compact.livenessProbe.httpGet.scheme | string | "HTTP" | |
| compact.livenessProbe.initialDelaySeconds | int | 0 | |
| compact.livenessProbe.periodSeconds | int | 30 | |
| compact.livenessProbe.timeoutSeconds | int | 1 | |
| compact.livenessProbe.successThreshold | int | 1 | |
| compact.livenessProbe.failureThreshold | int | 4 | |
| compact.readinessProbe.httpGet.path | string | "/-/ready" | |
| compact.readinessProbe.httpGet.port | string | "http" | |
| compact.readinessProbe.httpGet.scheme | string | "HTTP" | |
| compact.readinessProbe.initialDelaySeconds | int | 0 | |
| compact.readinessProbe.periodSeconds | int | 5 | |
| compact.readinessProbe.timeoutSeconds | int | 1 | |
| compact.readinessProbe.successThreshold | int | 1 | |
| compact.readinessProbe.failureThreshold | int | 20 | |
| compact.resources | object | {} | |
| compact.persistence.enabled | bool | false | |
| compact.persistence.existingClaim | string | "" | |
| compact.persistence.annotations | object | {} | |
| compact.persistence.accessMode | string | "ReadWriteOnce" | |
| compact.persistence.storageClass | string | "standard" | |
| compact.persistence.size | string | "8Gi" | |
| compact.nodeSelector | object | {} | |
| compact.tolerations | list | [] | |
| compact.affinity | object | {} | |
| compact.topologySpreadConstraints | object | {} | |
| query.serviceAccount.create | bool | true | |
| query.serviceAccount.labels | object | {} | |
| query.serviceAccount.annotations | object | {} | |
| query.serviceAccount.name | string | "" | |
| query.serviceAccount.automountToken | bool | false | |
| query.service.annotations | object | {} | |
| query.replicas | int | 1 | |
| query.updateStrategy | object | {} | |
| query.autoscaling.enabled | bool | false | |
| query.autoscaling.minReplicas | int | 1 | |
| query.autoscaling.maxReplicas | int | 3 | |
| query.autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| query.autoscaling.targetMemoryUtilizationPercentage | string | nil | |
| query.podDisruptionBudget.enabled | bool | false | |
| query.podDisruptionBudget.minAvailable | string | nil | |
| query.podDisruptionBudget.maxUnavailable | string | nil | |
| query.podLabels | object | {} | |
| query.podAnnotations | object | {} | |
| query.podSecurityContext.fsGroup | int | 65534 | |
| query.podSecurityContext.runAsUser | int | 65534 | |
| query.securityContext | object | {} | |
| query.priorityClassName | string | "" | |
| query.terminationGracePeriodSeconds | string | nil | |
| query.extraEnv | list | [] | |
| query.replicaLabels | list | [] | |
| query.additionalStores | list | [] | |
| query.extraArgs | list | [] | |
| query.livenessProbe.httpGet.path | string | "/-/healthy" | |
| query.livenessProbe.httpGet.port | string | "http" | |
| query.livenessProbe.httpGet.scheme | string | "HTTP" | |
| query.livenessProbe.initialDelaySeconds | int | 0 | |
| query.livenessProbe.periodSeconds | int | 30 | |
| query.livenessProbe.timeoutSeconds | int | 1 | |
| query.livenessProbe.successThreshold | int | 1 | |
| query.livenessProbe.failureThreshold | int | 4 | |
| query.readinessProbe.httpGet.path | string | "/-/ready" | |
| query.readinessProbe.httpGet.port | string | "http" | |
| query.readinessProbe.httpGet.scheme | string | "HTTP" | |
| query.readinessProbe.initialDelaySeconds | int | 0 | |
| query.readinessProbe.periodSeconds | int | 5 | |
| query.readinessProbe.timeoutSeconds | int | 1 | |
| query.readinessProbe.successThreshold | int | 1 | |
| query.readinessProbe.failureThreshold | int | 20 | |
| query.ingress.enabled | bool | false | |
| query.ingress.annotations | object | {} | |
| query.ingress.ingressClassName | string | "" | |
| query.ingress.path | string | "/" | |
| query.ingress.hosts | list | [] | |
| query.ingress.tls | list | [] | |
| query.resources | object | {} | |
| query.nodeSelector | object | {} | |
| query.tolerations | list | [] | |
| query.affinity | object | {} | |
| query.topologySpreadConstraints | object | {} | |
| queryFrontend.enabled | bool | false | |
| queryFrontend.serviceAccount.create | bool | true | |
| queryFrontend.serviceAccount.labels | object | {} | |
| queryFrontend.serviceAccount.annotations | object | {} | |
| queryFrontend.serviceAccount.name | string | "" | |
| queryFrontend.serviceAccount.automountToken | bool | false | |
| queryFrontend.service.annotations | object | {} | |
| queryFrontend.replicas | int | 1 | |
| queryFrontend.updateStrategy | object | {} | |
| queryFrontend.autoscaling.enabled | bool | false | |
| queryFrontend.autoscaling.minReplicas | int | 1 | |
| queryFrontend.autoscaling.maxReplicas | int | 3 | |
| queryFrontend.autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| queryFrontend.autoscaling.targetMemoryUtilizationPercentage | string | nil | |
| queryFrontend.podDisruptionBudget.enabled | bool | false | |
| queryFrontend.podDisruptionBudget.minAvailable | string | nil | |
| queryFrontend.podDisruptionBudget.maxUnavailable | string | nil | |
| queryFrontend.podLabels | object | {} | |
| queryFrontend.podAnnotations | object | {} | |
| queryFrontend.podSecurityContext.fsGroup | int | 65534 | |
| queryFrontend.podSecurityContext.runAsUser | int | 65534 | |
| queryFrontend.securityContext | object | {} | |
| queryFrontend.priorityClassName | string | "" | |
| queryFrontend.terminationGracePeriodSeconds | string | nil | |
| queryFrontend.extraEnv | list | [] | |
| queryFrontend.extraArgs | list | [] | |
| queryFrontend.livenessProbe.httpGet.path | string | "/-/healthy" | |
| queryFrontend.livenessProbe.httpGet.port | string | "http" | |
| queryFrontend.livenessProbe.httpGet.scheme | string | "HTTP" | |
| queryFrontend.livenessProbe.initialDelaySeconds | int | 0 | |
| queryFrontend.livenessProbe.periodSeconds | int | 30 | |
| queryFrontend.livenessProbe.timeoutSeconds | int | 1 | |
| queryFrontend.livenessProbe.successThreshold | int | 1 | |
| queryFrontend.livenessProbe.failureThreshold | int | 4 | |
| queryFrontend.readinessProbe.httpGet.path | string | "/-/ready" | |
| queryFrontend.readinessProbe.httpGet.port | string | "http" | |
| queryFrontend.readinessProbe.httpGet.scheme | string | "HTTP" | |
| queryFrontend.readinessProbe.initialDelaySeconds | int | 0 | |
| queryFrontend.readinessProbe.periodSeconds | int | 5 | |
| queryFrontend.readinessProbe.timeoutSeconds | int | 1 | |
| queryFrontend.readinessProbe.successThreshold | int | 1 | |
| queryFrontend.readinessProbe.failureThreshold | int | 20 | |
| queryFrontend.ingress.enabled | bool | false | |
| queryFrontend.ingress.annotations | object | {} | |
| queryFrontend.ingress.ingressClassName | string | "" | |
| queryFrontend.ingress.path | string | "/" | |
| queryFrontend.ingress.hosts | list | [] | |
| queryFrontend.ingress.tls | list | [] | |
| queryFrontend.resources | object | {} | |
| queryFrontend.nodeSelector | object | {} | |
| queryFrontend.tolerations | list | [] | |
| queryFrontend.affinity | object | {} | |
| queryFrontend.topologySpreadConstraints | object | {} | |
| receive.enabled | bool | false | |
| receive.replicationFactor | int | 1 | |
| receive.retention | string | "48h" | |
| receive.ingestor.serviceAccount.create | bool | true | |
| receive.ingestor.serviceAccount.labels | object | {} | |
| receive.ingestor.serviceAccount.annotations | object | {} | |
| receive.ingestor.serviceAccount.name | string | "" | |
| receive.ingestor.serviceAccount.automountToken | bool | false | |
| receive.ingestor.service.annotations | object | {} | |
| receive.ingestor.replicas | int | 1 | |
| receive.ingestor.updateStrategy | object | {} | |
| receive.ingestor.podDisruptionBudget.enabled | bool | false | |
| receive.ingestor.podDisruptionBudget.minAvailable | string | nil | |
| receive.ingestor.podDisruptionBudget.maxUnavailable | string | nil | |
| receive.ingestor.podLabels | object | {} | |
| receive.ingestor.podAnnotations | object | {} | |
| receive.ingestor.podSecurityContext.fsGroup | int | 65534 | |
| receive.ingestor.podSecurityContext.runAsUser | int | 65534 | |
| receive.ingestor.securityContext | object | {} | |
| receive.ingestor.priorityClassName | string | "" | |
| receive.ingestor.terminationGracePeriodSeconds | string | nil | |
| receive.ingestor.extraEnv | list | [] | |
| receive.ingestor.extraArgs | list | [] | |
| receive.ingestor.livenessProbe.httpGet.path | string | "/-/healthy" | |
| receive.ingestor.livenessProbe.httpGet.port | string | "http" | |
| receive.ingestor.livenessProbe.httpGet.scheme | string | "HTTP" | |
| receive.ingestor.livenessProbe.initialDelaySeconds | int | 0 | |
| receive.ingestor.livenessProbe.periodSeconds | int | 30 | |
| receive.ingestor.livenessProbe.timeoutSeconds | int | 1 | |
| receive.ingestor.livenessProbe.successThreshold | int | 1 | |
| receive.ingestor.livenessProbe.failureThreshold | int | 8 | |
| receive.ingestor.readinessProbe.httpGet.path | string | "/-/ready" | |
| receive.ingestor.readinessProbe.httpGet.port | string | "http" | |
| receive.ingestor.readinessProbe.httpGet.scheme | string | "HTTP" | |
| receive.ingestor.readinessProbe.initialDelaySeconds | int | 0 | |
| receive.ingestor.readinessProbe.periodSeconds | int | 5 | |
| receive.ingestor.readinessProbe.timeoutSeconds | int | 1 | |
| receive.ingestor.readinessProbe.successThreshold | int | 1 | |
| receive.ingestor.readinessProbe.failureThreshold | int | 20 | |
| receive.ingestor.resources | object | {} | |
| receive.ingestor.persistence.enabled | bool | false | |
| receive.ingestor.persistence.existingClaim | string | "" | |
| receive.ingestor.persistence.annotations | object | {} | |
| receive.ingestor.persistence.accessMode | string | "ReadWriteOnce" | |
| receive.ingestor.persistence.storageClass | string | "standard" | |
| receive.ingestor.persistence.size | string | "8Gi" | |
| receive.ingestor.nodeSelector | object | {} | |
| receive.ingestor.tolerations | list | [] | |
| receive.ingestor.affinity | object | {} | |
| receive.ingestor.topologySpreadConstraints | object | {} | |
| receive.router.enabled | bool | true | |
| receive.router.serviceAccount.create | bool | true | |
| receive.router.serviceAccount.labels | object | {} | |
| receive.router.serviceAccount.annotations | object | {} | |
| receive.router.serviceAccount.name | string | "" | |
| receive.router.serviceAccount.automountToken | bool | false | |
| receive.router.service.annotations | object | {} | |
| receive.router.replicas | int | 1 | |
| receive.router.u |
Deploy thanos with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has thanos 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 is pinned at v1.1.7 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