filesystem-exporter

by containeroo

Helm chartv1.5.3App v1.5.3Verified publisher

Helm chart for filesystem-exporter

About this chart

filesystem-exporter chart

The filesystem-exporter chart installs filesystem-exporter, a Prometheus exporter that scans an already-mounted filesystem path and reports capacity, availability, and used bytes.

Installation

helm repo add containeroo https://charts.containeroo.ch
helm install filesystem-exporter containeroo/filesystem-exporter \
  --set volume.persistentVolumeClaim.claimName=data

Configuration

The following table lists the configurable parameters of the filesystem-exporter Helm chart and their default values.

ParameterDefaultDescription
replicaCount1Number of replicas
image.repositoryghcr.io/containeroo/filesystem-exporterImage repository
image.pullPolicyIfNotPresentImage pull policy
image.tagNoneOverrides the image tag of chart appVersion
imagePullSecrets[]Image pull secrets
nameOverrideNoneOverride chart name
fullnameOverrideNoneOverride full resource name
commonLabels{}Additional labels added to chart resources
serviceAccount.createtrueIf true, create a new service account
serviceAccount.annotations{}Additional ServiceAccount annotations
serviceAccount.nameNoneServiceAccount name to use
filesystem.path/dataFilesystem path inside the container to scan
filesystem.reportChildDirsfalseReport metrics for immediate child directories
filesystem.scanConcurrency1Maximum concurrent metadata operations
collector.interval5mCollection interval
collector.timeout2mSingle collection timeout
logLevelinfoExporter log level
metrics.port9799Exporter metrics port
metrics.path/metricsMetrics endpoint path
metrics.service.enabledtrueCreate a metrics Service
metrics.service.annotations{}Additional Service annotations
metrics.service.additionalLabels{}Additional Service labels
metrics.service.portNamehttp-metricsMetrics Service port name
metrics.service.port9799Metrics Service port
metrics.serviceMonitor.enabledfalseCreate a Prometheus Operator ServiceMonitor
metrics.serviceMonitor.namespacesame as release namespaceNamespace for the ServiceMonitor
metrics.serviceMonitor.additionalLabels{}Additional ServiceMonitor labels
metrics.serviceMonitor.scrapeInterval30sServiceMonitor scrape interval
metrics.serviceMonitor.targetLabels[]Service labels copied to scraped metrics
metrics.prometheusRule.enabledfalseCreate a PrometheusRule
metrics.prometheusRule.namespacesame as release namespaceNamespace for the PrometheusRule
metrics.prometheusRule.additionalLabels{}Additional PrometheusRule labels
openshift.hostMountAnyuidSCC.createfalseBind the service account to OpenShift hostmount-anyuid SCC
volume{}Kubernetes volume source mounted at filesystem.path; empty uses emptyDir
volumeMount.readOnlytrueMount the filesystem read-only
podAnnotations{}Additional pod annotations
podLabels{}Additional pod labels
podSecurityContext{}Pod security context
securityContext{}Container security context
resources.requests.cpu100mCPU resource request
resources.requests.memory128MiMemory resource request
resources.limits.memory512MiMemory resource limit
nodeSelector{}Node selector properties
tolerations[]Toleration properties
affinity{}Affinity properties

Deploy filesystem-exporter with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has filesystem-exporter 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 chartfilesystem-exporter is pinned at v1.5.3 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