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.
| Parameter | Default | Description |
|---|---|---|
replicaCount | 1 | Number of replicas |
image.repository | ghcr.io/containeroo/filesystem-exporter | Image repository |
image.pullPolicy | IfNotPresent | Image pull policy |
image.tag | None | Overrides the image tag of chart appVersion |
imagePullSecrets | [] | Image pull secrets |
nameOverride | None | Override chart name |
fullnameOverride | None | Override full resource name |
commonLabels | {} | Additional labels added to chart resources |
serviceAccount.create | true | If true, create a new service account |
serviceAccount.annotations | {} | Additional ServiceAccount annotations |
serviceAccount.name | None | ServiceAccount name to use |
filesystem.path | /data | Filesystem path inside the container to scan |
filesystem.reportChildDirs | false | Report metrics for immediate child directories |
filesystem.scanConcurrency | 1 | Maximum concurrent metadata operations |
collector.interval | 5m | Collection interval |
collector.timeout | 2m | Single collection timeout |
logLevel | info | Exporter log level |
metrics.port | 9799 | Exporter metrics port |
metrics.path | /metrics | Metrics endpoint path |
metrics.service.enabled | true | Create a metrics Service |
metrics.service.annotations | {} | Additional Service annotations |
metrics.service.additionalLabels | {} | Additional Service labels |
metrics.service.portName | http-metrics | Metrics Service port name |
metrics.service.port | 9799 | Metrics Service port |
metrics.serviceMonitor.enabled | false | Create a Prometheus Operator ServiceMonitor |
metrics.serviceMonitor.namespace | same as release namespace | Namespace for the ServiceMonitor |
metrics.serviceMonitor.additionalLabels | {} | Additional ServiceMonitor labels |
metrics.serviceMonitor.scrapeInterval | 30s | ServiceMonitor scrape interval |
metrics.serviceMonitor.targetLabels | [] | Service labels copied to scraped metrics |
metrics.prometheusRule.enabled | false | Create a PrometheusRule |
metrics.prometheusRule.namespace | same as release namespace | Namespace for the PrometheusRule |
metrics.prometheusRule.additionalLabels | {} | Additional PrometheusRule labels |
openshift.hostMountAnyuidSCC.create | false | Bind the service account to OpenShift hostmount-anyuid SCC |
volume | {} | Kubernetes volume source mounted at filesystem.path; empty uses emptyDir |
volumeMount.readOnly | true | Mount the filesystem read-only |
podAnnotations | {} | Additional pod annotations |
podLabels | {} | Additional pod labels |
podSecurityContext | {} | Pod security context |
securityContext | {} | Container security context |
resources.requests.cpu | 100m | CPU resource request |
resources.requests.memory | 128Mi | Memory resource request |
resources.limits.memory | 512Mi | Memory 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartfilesystem-exporter is pinned at v1.5.3 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