diff --git a/helm-charts/basehub/templates/home-space-reporter.yaml b/helm-charts/basehub/templates/home-space-reporter.yaml index 5f704f0b85..5567fce978 100644 --- a/helm-charts/basehub/templates/home-space-reporter.yaml +++ b/helm-charts/basehub/templates/home-space-reporter.yaml @@ -1,8 +1,16 @@ {{- if .Values.nfs.enabled }} +{{- if .Values.nfs.volumeReporter.enabled }} # To provide data for the jupyterhub/grafana-dashboards dashboard about free # space in the shared volume, which contains users home folders etc, we deploy # prometheus node-exporter to collect this data for prometheus server to scrape. # +# This prometheus metrics exporter will when used against a shared EFS storage +# (AWS NFS service) report an extreme amount of available disk space, making the +# available space remaining 100%. This makes the jupyterhub/grafana-dashboards +# graph reporting remaining available disk space in % quite pointless. Due to +# that, it can make sense to disable this if EFS is used to provide storage as +# it becomes another pod that eats up the available pods per node. +# # This is based on the Deployment manifest in jupyterhub/grafana-dashboards' # readme: https://github.com/jupyterhub/grafana-dashboards#additional-collectors # diff --git a/helm-charts/basehub/values.schema.yaml b/helm-charts/basehub/values.schema.yaml index e0f4279db1..bf8fec4315 100644 --- a/helm-charts/basehub/values.schema.yaml +++ b/helm-charts/basehub/values.schema.yaml @@ -194,6 +194,14 @@ properties: properties: enabled: type: boolean + volumeReporter: + type: object + additionalProperties: false + required: + - enabled + properties: + enabled: + type: boolean shareCreator: type: object additionalProperties: false diff --git a/helm-charts/basehub/values.yaml b/helm-charts/basehub/values.yaml index 6e8716c5b5..e1c095302d 100644 --- a/helm-charts/basehub/values.yaml +++ b/helm-charts/basehub/values.yaml @@ -71,6 +71,8 @@ nfs: enabled: false dirsizeReporter: enabled: true + volumeReporter: + enabled: true shareCreator: enabled: true tolerations: []