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

NameEmailUrl
varet80https://github.com/varet80

Source Code

Values

KeyTypeDefaultDescription
image.repositorystring"thanosio/thanos"
image.tagstring""
image.pullPolicystring"IfNotPresent"
imagePullSecretslist[]
nameOverridestring""
fullnameOverridestring""
commonLabelsobject{}
serviceMonitor.enabledboolfalse
serviceMonitor.additionalLabelsobject{}
serviceMonitor.endpointConfigobject{}
serviceMonitor.intervalstringnil
objstoreConfig.createbooltrue
objstoreConfig.namestring""
objstoreConfig.keystring"config"
objstoreConfig.valuestring"type: FILESYSTEM\nconfig:\n directory: /var/thanos/store/s3"
logLevelstring"info"
logFormatstring"logfmt"
additionalEndpointslist[]
additionalReplicaLabelslist[]
compact.enabledboolfalse
compact.serviceAccount.createbooltrue
compact.serviceAccount.labelsobject{}
compact.serviceAccount.annotationsobject{}
compact.serviceAccount.namestring""
compact.serviceAccount.automountTokenboolfalse
compact.service.annotationsobject{}
compact.updateStrategyobject{}
compact.podLabelsobject{}
compact.podAnnotationsobject{}
compact.podSecurityContext.fsGroupint65534
compact.podSecurityContext.runAsUserint65534
compact.securityContextobject{}
compact.priorityClassNamestring""
compact.terminationGracePeriodSecondsstringnil
compact.extraEnvlist[]
compact.extraArgslist[]
compact.livenessProbe.httpGet.pathstring"/-/healthy"
compact.livenessProbe.httpGet.portstring"http"
compact.livenessProbe.httpGet.schemestring"HTTP"
compact.livenessProbe.initialDelaySecondsint0
compact.livenessProbe.periodSecondsint30
compact.livenessProbe.timeoutSecondsint1
compact.livenessProbe.successThresholdint1
compact.livenessProbe.failureThresholdint4
compact.readinessProbe.httpGet.pathstring"/-/ready"
compact.readinessProbe.httpGet.portstring"http"
compact.readinessProbe.httpGet.schemestring"HTTP"
compact.readinessProbe.initialDelaySecondsint0
compact.readinessProbe.periodSecondsint5
compact.readinessProbe.timeoutSecondsint1
compact.readinessProbe.successThresholdint1
compact.readinessProbe.failureThresholdint20
compact.resourcesobject{}
compact.persistence.enabledboolfalse
compact.persistence.existingClaimstring""
compact.persistence.annotationsobject{}
compact.persistence.accessModestring"ReadWriteOnce"
compact.persistence.storageClassstring"standard"
compact.persistence.sizestring"8Gi"
compact.nodeSelectorobject{}
compact.tolerationslist[]
compact.affinityobject{}
compact.topologySpreadConstraintsobject{}
query.serviceAccount.createbooltrue
query.serviceAccount.labelsobject{}
query.serviceAccount.annotationsobject{}
query.serviceAccount.namestring""
query.serviceAccount.automountTokenboolfalse
query.service.annotationsobject{}
query.replicasint1
query.updateStrategyobject{}
query.autoscaling.enabledboolfalse
query.autoscaling.minReplicasint1
query.autoscaling.maxReplicasint3
query.autoscaling.targetCPUUtilizationPercentageint80
query.autoscaling.targetMemoryUtilizationPercentagestringnil
query.podDisruptionBudget.enabledboolfalse
query.podDisruptionBudget.minAvailablestringnil
query.podDisruptionBudget.maxUnavailablestringnil
query.podLabelsobject{}
query.podAnnotationsobject{}
query.podSecurityContext.fsGroupint65534
query.podSecurityContext.runAsUserint65534
query.securityContextobject{}
query.priorityClassNamestring""
query.terminationGracePeriodSecondsstringnil
query.extraEnvlist[]
query.replicaLabelslist[]
query.additionalStoreslist[]
query.extraArgslist[]
query.livenessProbe.httpGet.pathstring"/-/healthy"
query.livenessProbe.httpGet.portstring"http"
query.livenessProbe.httpGet.schemestring"HTTP"
query.livenessProbe.initialDelaySecondsint0
query.livenessProbe.periodSecondsint30
query.livenessProbe.timeoutSecondsint1
query.livenessProbe.successThresholdint1
query.livenessProbe.failureThresholdint4
query.readinessProbe.httpGet.pathstring"/-/ready"
query.readinessProbe.httpGet.portstring"http"
query.readinessProbe.httpGet.schemestring"HTTP"
query.readinessProbe.initialDelaySecondsint0
query.readinessProbe.periodSecondsint5
query.readinessProbe.timeoutSecondsint1
query.readinessProbe.successThresholdint1
query.readinessProbe.failureThresholdint20
query.ingress.enabledboolfalse
query.ingress.annotationsobject{}
query.ingress.ingressClassNamestring""
query.ingress.pathstring"/"
query.ingress.hostslist[]
query.ingress.tlslist[]
query.resourcesobject{}
query.nodeSelectorobject{}
query.tolerationslist[]
query.affinityobject{}
query.topologySpreadConstraintsobject{}
queryFrontend.enabledboolfalse
queryFrontend.serviceAccount.createbooltrue
queryFrontend.serviceAccount.labelsobject{}
queryFrontend.serviceAccount.annotationsobject{}
queryFrontend.serviceAccount.namestring""
queryFrontend.serviceAccount.automountTokenboolfalse
queryFrontend.service.annotationsobject{}
queryFrontend.replicasint1
queryFrontend.updateStrategyobject{}
queryFrontend.autoscaling.enabledboolfalse
queryFrontend.autoscaling.minReplicasint1
queryFrontend.autoscaling.maxReplicasint3
queryFrontend.autoscaling.targetCPUUtilizationPercentageint80
queryFrontend.autoscaling.targetMemoryUtilizationPercentagestringnil
queryFrontend.podDisruptionBudget.enabledboolfalse
queryFrontend.podDisruptionBudget.minAvailablestringnil
queryFrontend.podDisruptionBudget.maxUnavailablestringnil
queryFrontend.podLabelsobject{}
queryFrontend.podAnnotationsobject{}
queryFrontend.podSecurityContext.fsGroupint65534
queryFrontend.podSecurityContext.runAsUserint65534
queryFrontend.securityContextobject{}
queryFrontend.priorityClassNamestring""
queryFrontend.terminationGracePeriodSecondsstringnil
queryFrontend.extraEnvlist[]
queryFrontend.extraArgslist[]
queryFrontend.livenessProbe.httpGet.pathstring"/-/healthy"
queryFrontend.livenessProbe.httpGet.portstring"http"
queryFrontend.livenessProbe.httpGet.schemestring"HTTP"
queryFrontend.livenessProbe.initialDelaySecondsint0
queryFrontend.livenessProbe.periodSecondsint30
queryFrontend.livenessProbe.timeoutSecondsint1
queryFrontend.livenessProbe.successThresholdint1
queryFrontend.livenessProbe.failureThresholdint4
queryFrontend.readinessProbe.httpGet.pathstring"/-/ready"
queryFrontend.readinessProbe.httpGet.portstring"http"
queryFrontend.readinessProbe.httpGet.schemestring"HTTP"
queryFrontend.readinessProbe.initialDelaySecondsint0
queryFrontend.readinessProbe.periodSecondsint5
queryFrontend.readinessProbe.timeoutSecondsint1
queryFrontend.readinessProbe.successThresholdint1
queryFrontend.readinessProbe.failureThresholdint20
queryFrontend.ingress.enabledboolfalse
queryFrontend.ingress.annotationsobject{}
queryFrontend.ingress.ingressClassNamestring""
queryFrontend.ingress.pathstring"/"
queryFrontend.ingress.hostslist[]
queryFrontend.ingress.tlslist[]
queryFrontend.resourcesobject{}
queryFrontend.nodeSelectorobject{}
queryFrontend.tolerationslist[]
queryFrontend.affinityobject{}
queryFrontend.topologySpreadConstraintsobject{}
receive.enabledboolfalse
receive.replicationFactorint1
receive.retentionstring"48h"
receive.ingestor.serviceAccount.createbooltrue
receive.ingestor.serviceAccount.labelsobject{}
receive.ingestor.serviceAccount.annotationsobject{}
receive.ingestor.serviceAccount.namestring""
receive.ingestor.serviceAccount.automountTokenboolfalse
receive.ingestor.service.annotationsobject{}
receive.ingestor.replicasint1
receive.ingestor.updateStrategyobject{}
receive.ingestor.podDisruptionBudget.enabledboolfalse
receive.ingestor.podDisruptionBudget.minAvailablestringnil
receive.ingestor.podDisruptionBudget.maxUnavailablestringnil
receive.ingestor.podLabelsobject{}
receive.ingestor.podAnnotationsobject{}
receive.ingestor.podSecurityContext.fsGroupint65534
receive.ingestor.podSecurityContext.runAsUserint65534
receive.ingestor.securityContextobject{}
receive.ingestor.priorityClassNamestring""
receive.ingestor.terminationGracePeriodSecondsstringnil
receive.ingestor.extraEnvlist[]
receive.ingestor.extraArgslist[]
receive.ingestor.livenessProbe.httpGet.pathstring"/-/healthy"
receive.ingestor.livenessProbe.httpGet.portstring"http"
receive.ingestor.livenessProbe.httpGet.schemestring"HTTP"
receive.ingestor.livenessProbe.initialDelaySecondsint0
receive.ingestor.livenessProbe.periodSecondsint30
receive.ingestor.livenessProbe.timeoutSecondsint1
receive.ingestor.livenessProbe.successThresholdint1
receive.ingestor.livenessProbe.failureThresholdint8
receive.ingestor.readinessProbe.httpGet.pathstring"/-/ready"
receive.ingestor.readinessProbe.httpGet.portstring"http"
receive.ingestor.readinessProbe.httpGet.schemestring"HTTP"
receive.ingestor.readinessProbe.initialDelaySecondsint0
receive.ingestor.readinessProbe.periodSecondsint5
receive.ingestor.readinessProbe.timeoutSecondsint1
receive.ingestor.readinessProbe.successThresholdint1
receive.ingestor.readinessProbe.failureThresholdint20
receive.ingestor.resourcesobject{}
receive.ingestor.persistence.enabledboolfalse
receive.ingestor.persistence.existingClaimstring""
receive.ingestor.persistence.annotationsobject{}
receive.ingestor.persistence.accessModestring"ReadWriteOnce"
receive.ingestor.persistence.storageClassstring"standard"
receive.ingestor.persistence.sizestring"8Gi"
receive.ingestor.nodeSelectorobject{}
receive.ingestor.tolerationslist[]
receive.ingestor.affinityobject{}
receive.ingestor.topologySpreadConstraintsobject{}
receive.router.enabledbooltrue
receive.router.serviceAccount.createbooltrue
receive.router.serviceAccount.labelsobject{}
receive.router.serviceAccount.annotationsobject{}
receive.router.serviceAccount.namestring""
receive.router.serviceAccount.automountTokenboolfalse
receive.router.service.annotationsobject{}
receive.router.replicasint1
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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartthanos is pinned at v1.1.7 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