scrutiny
by harish2k01
Scrutiny web/API hub for remote S.M.A.R.T collectors
About this chart
Scrutiny Helm Chart
Browse the Helm chart catalog to explore available charts and installation commands.
This chart deploys Scrutiny web/API with an InfluxDB sidecar for collecting and visualizing S.M.A.R.T. metrics from remote collectors.
[!NOTE] This is an unofficial community Helm chart maintained by harish2k01. It is not affiliated with or endorsed by the upstream project. For chart issues, questions, or improvements, please open an issue in the harish2k01/helm-charts repository.
Install
helm repo add harish2k01 https://charts.harish2k01.in
helm repo update
helm install scrutiny harish2k01/scrutiny
Install From OCI
This chart is also published as an OCI chart in GHCR. Use the same values and namespace flags with the OCI reference:
helm install scrutiny oci://ghcr.io/harish2k01/helm-charts/scrutiny --version 0.3.2
The chart deploys the Scrutiny web/API container and an InfluxDB container in the same Pod. It does not deploy disk collectors; configure remote collectors to send data to the Scrutiny web endpoint.
Install With Ingress
ingress:
enabled: true
className: nginx
host: scrutiny.example.com
annotations: {}
helm install scrutiny harish2k01/scrutiny -f values.yaml
Install With Gateway API HTTPRoute
httpRoutes:
main:
enabled: true
parentRefs:
- name: gateway
namespace: gateway-system
sectionName: https
hostnames:
- scrutiny.example.com
Persistence
The chart creates separate persistent volumes for the Scrutiny configuration database and InfluxDB data:
persistence:
enabled: true
accessMode: ReadWriteOnce
storageClassName: ""
scrutiny:
size: 1Gi
influxdb:
size: 10Gi
Set persistence.enabled to false for ephemeral test deployments.
Scrutiny Configuration
The chart seeds /opt/scrutiny/config/scrutiny.yaml from a ConfigMap on first startup. If persistence is enabled and the file already exists in the mounted volume, the existing file is kept.
Example configuration:
scrutiny:
web:
basepath: ""
database:
location: /opt/scrutiny/config/scrutiny.db
influxdb:
scheme: http
host: 127.0.0.1
port: 8086
retentionPolicy: true
log:
level: INFO
notify:
urls:
- discord://token@channel
Remote Collectors
Scrutiny web/API is intended to receive metrics from collectors that run on nodes with access to disk S.M.A.R.T. data. Configure each collector to point at this chart's service, Ingress host, or HTTPRoute hostname.
For in-cluster collector traffic, the service listens on port 8080:
http://scrutiny.<namespace>.svc.cluster.local:8080
Values
| Key | Type | Default | Description |
|---|---|---|---|
image.repository | string | ghcr.io/analogj/scrutiny | Scrutiny container image repository |
image.tag | string | v0.10.0-web | Scrutiny container image tag |
image.pullPolicy | string | IfNotPresent | Scrutiny image pull policy |
influxdb.image.repository | string | influxdb | InfluxDB image repository |
influxdb.image.tag | string | 2.9.1 | InfluxDB image tag |
initContainer.image.repository | string | busybox | Config seed init container image repository |
service.port | int | 8080 | Kubernetes Service port |
scrutiny.web.basepath | string | "" | Optional Scrutiny web base path |
scrutiny.web.database.location | string | /opt/scrutiny/config/scrutiny.db | Scrutiny SQLite database path |
scrutiny.web.influxdb.host | string | 127.0.0.1 | InfluxDB host used by Scrutiny |
scrutiny.web.influxdb.port | int | 8086 | InfluxDB port used by Scrutiny |
scrutiny.log.level | string | INFO | Scrutiny log level |
scrutiny.notify.urls | list | [] | Notification URLs written into scrutiny.yaml |
persistence.enabled | bool | true | Enable persistent storage |
persistence.scrutiny.size | string | 1Gi | Scrutiny config PVC size |
persistence.influxdb.size | string | 10Gi | InfluxDB PVC size |
ingress.enabled | bool | false | Create a Kubernetes Ingress |
ingress.className | string | traefik | Ingress class |
ingress.host | string | scrutiny.local | Ingress hostname |
httpRoutes.main.enabled | bool | false | Create a Gateway API HTTPRoute |
resources | object | {} | Scrutiny container resource requests and limits |
influxdb.resources | object | {} | InfluxDB container resource requests and limits |
probes.enabled | bool | true | Enable Scrutiny HTTP liveness and readiness probes |
Configuration and upgrades
See CHANGELOG.md before upgrading persistent databases. The commented runtime reference in values.yaml lists Scrutiny and InfluxDB configuration, including Secret-backed token/password examples. Optional overrides are omitted by default to preserve existing file configuration.
The env, envFrom, extraEnv and extraVolumeMounts hooks configure Scrutiny. Their influxdb.* equivalents configure the database sidecar; influxdb.args adds influxd flags. Use extraVolumes to define mounted Secret/config files. deploymentStrategy.type defaults to Recreate to avoid overlapping database writers.
Multiple HTTPRoutes
Use httpRoutes to define one or more routes, each with its own Gateway
references, hostnames, annotations, and rules. The default main entry is disabled.
httpRoutes:
internal:
parentRefs:
- name: internal-gateway
namespace: ingress
sectionName: https
hostnames: [app.internal.example.com]
external:
parentRefs:
- name: external-gateway
namespace: ingress
sectionName: https
hostnames: [app.example.com]
Each map key is a lowercase DNS label of up to 40 characters and becomes the
resource-name suffix (<app-fullname>-internal, for example). Long base names are
shortened to keep the suffix and stay within 63 characters; collisions fail rendering.
| Key | Default | Description |
|---|---|---|
httpRoutes | Disabled main entry | Named HTTPRoutes; defaults create no routes. |
httpRoutes.<name>.enabled | true | Set false to omit an entry, including its attachments. |
httpRoutes.<name>.parentRefs | Required when enabled | Gateway references, with optional namespace and listener section. |
httpRoutes.<name>.hostnames | Required when enabled | Independent explicit hostname list. |
httpRoutes.<name>.annotations | {} | Per-route annotations. |
httpRoutes.<name>.rules | Path prefix / | Gateway API matches and filters. Backend references are always supplied by the chart using its application Service and HTTP port. |
Each route has independent hostnames, attachments, annotations, and rules. Chart-specific backend behavior is retained; Ghost also includes its ActivityPub endpoints when enabled. Gateway API CRDs and a compatible controller are required; the referenced Gateway must allow attachment from this namespace.
Migration from the single-route option
httpRoute has been removed. Move its settings under httpRoutes.main and remove
the old key entirely, including httpRoute.enabled: false. Old values fail
rendering with a migration message instead of silently dropping traffic. The old
resource <app-fullname> is replaced by <app-fullname>-main; coordinate the
upgrade with your GitOps pruning policy to avoid overlapping or missing routes.
Multiple hostnames and parent references apply to the whole route; use separate
entries when each hostname group must attach to a different Gateway.
Deploy scrutiny with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has scrutiny 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 chartscrutiny is pinned at v0.3.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