1# Default values for prometheus-node-exporter.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
5# Prometheus scrape service annotation flag
9 repository: chainguard-private/prometheus-node-exporter
10 # Overrides the image tag whose default is {{ printf "v%s" .Chart.AppVersion }}
12 # Use the distroless image variant.
14 pullPolicy: IfNotPresent
15 digest: sha256:86eb923d28ff35fd648fea2f6bc3a704abf2a1ac7575580a432a53758720c6bb
17# - name: "image-pull-secret"
20# Number of old history to retain to allow rollback
21# Default Kubernetes value is set to 10
22revisionHistoryLimit: 10
24 # To help compatibility with other charts which use global.imagePullSecrets.
25 # Allow either an array of {name: pullSecret} maps (k8s-style), or an array of strings (more common helm-style).
37 # Allow parent charts to override registry hostname
39# Configure kube-rbac-proxy. When enabled, creates a kube-rbac-proxy to protect the node-exporter http endpoint.
40# The requests are served through the same service but requests are HTTPS.
43 ## Set environment variables as name/value pairs
48 repository: chainguard-private/kube-rbac-proxy
50 sha: sha256:367de60f2f9f26fd26a4ca6c4fa5c65ef0da350f6118c3b0a7c5612c140ff819
51 pullPolicy: IfNotPresent
52 # List of additional cli arguments to configure kube-rbac-proxy
53 # for example: --tls-cipher-suites, --log-file, etc.
54 # all the possible args can be found here: https://github.com/brancz/kube-rbac-proxy#usage
56 ## Specify security settings for a Container
57 ## Allows overrides and additional options compared to (Pod) securityContext
58 ## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
59 containerSecurityContext:
60 allowPrivilegeEscalation: false
66 # Specify the port used for the Node exporter container (upstream port)
68 # Host/interface prefix for --secure-listen-address (for example ":" or "$(POD_IP):")
70 # Specify the name of the container port
72 # Configure a hostPort. If true, hostPort will be enabled in the container and set to service.port.
74 # Configure Proxy Endpoints Port
75 # This is the port being probed for readiness
76 proxyEndpointsPort: 8888
77 # Configure a hostPort. If true, hostPort will be enabled in the container and set to proxyEndpointsPort.
78 enableProxyEndpointsHostPort: false
80 # We usually recommend not to specify default resources and to leave this as a conscious
81 # choice for the user. This also increases chances charts run on environments with little
82 # resources, such as Minikube. If you do want to specify resources, uncomment the following
83 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
91 ## Additional volume mounts in the kube-rbac-proxy container
92 ## See extraVolumes below
94 # - name: extra-volume
98 ## tls enables using TLS resources from a volume on secret referred to in tlsSecret below.
99 ## When enabling tlsClientAuth, client CA certificate must be set in tlsSecret.caItem.
100 ## Ref. https://github.com/brancz/kube-rbac-proxy/issues/187
104## tlsSecret refers to an existing secret holding TLS items: client CA certificate, private key and certificate.
105## secretName and volumeName can be templated.
106## If enabled, volume volumeName gets created on secret secretName.
107## The volume's resources will be used by kube-rbac-proxy if kubeRBACProxy.tls.enabled is set.
110 ## Key with client CA certificate (optional)
112 ## Key with certificate
114 ## Key with private key
116 ## Name of an existing secret
117 secretName: prometheus-node-exporter-tls
118 ## Name of the volume to be created
119 volumeName: prometheus-node-exporter-tls
120## Service configuration
122 ## Creating a service is enabled by default
126 ## IP address for type ClusterIP
128 ## Default service port. Sets the port of the exposed container as well (NE or kubeRBACProxy).
129 ## Use "servicePort" below if changing the service port only is desired.
131 ## Service port. Use this field if you wish to set a different service port
132 ## without changing the container port ("port" above).
134 ## Targeted port in the pod. Must refer to an open container port ("port" or "portName").
137 ## Name of the service port. Sets the port name of the main container (NE) as well.
139 ## Port number for service type NodePort
141 ## If true, node exporter will listen on all interfaces
142 listenOnAllInterfaces: true
143 ## Additional annotations and labels for the service
146 ## Dual stack settings for the service
147 ## https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services
150 ipFamilies: ["IPv6", "IPv4"]
151 ipFamilyPolicy: "PreferDualStack"
152 ## External/Internal traffic policy setting (Cluster, Local)
153 ## https://kubernetes.io/docs/reference/networking/virtual-ips/#traffic-policies
154 externalTrafficPolicy: ""
155 internalTrafficPolicy: ""
156# Set a NetworkPolicy with:
157# ingress only on service.port or custom policy
163# Additional environment variables that will be passed to the daemonset
174 # List of pod labels to add to node exporter metrics
175 # https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#servicemonitor
177 # List of target labels to add to node exporter metrics
178 # https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#servicemonitor
184 ## proxyUrl: URL of a proxy that should be used for scraping.
187 ## Override serviceMonitor selector
190 ## Attach node metadata to discovered targets. Requires Prometheus v2.35.0 and above.
195 metricRelabelings: []
198 ## prometheus.monitor.apiVersion ApiVersion for the serviceMonitor Resource(defaults to "monitoring.coreos.com/v1")
200 ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
203 ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
206 ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
209 ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
211 labelNameLengthLimit: 0
212 ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
214 labelValueLengthLimit: 0
215 # PodMonitor defines monitoring for a set of pods.
216 # ref. https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#podmonitor
217 # Using a PodMonitor may be preferred in some environments where there is very large number
218 # of Node Exporter endpoints (1000+) behind a single service.
219 # The PodMonitor is disabled by default. When switching from ServiceMonitor to PodMonitor,
220 # the time series resulting from the configuration through PodMonitor may have different labels.
221 # For instance, there will not be the service label any longer which might
222 # affect PromQL queries selecting that label.
225 # Namespace in which to deploy the pod monitor. Defaults to the release namespace.
227 # Additional labels, e.g. setting a label for pod monitor selector as set in prometheus
229 # release: kube-prometheus-stack
230 # PodTargetLabels transfers labels of the Kubernetes Pod onto the target.
232 # apiVersion defaults to monitoring.coreos.com/v1.
234 # Override pod selector to select pod objects.
236 # Attach node metadata to discovered targets. Requires Prometheus v2.35.0 and above.
239 # The label to use to retrieve the job name from. Defaults to label app.kubernetes.io/name.
241 # Scheme/protocol to use for scraping.
243 # Path to scrape metrics at.
245 # BasicAuth allow an endpoint to authenticate over basic authentication.
246 # More info: https://prometheus.io/docs/operating/configuration/#endpoint
248 # Secret to mount to read bearer token for scraping targets.
249 # The secret needs to be in the same namespace as the pod monitor and accessible by the Prometheus Operator.
250 # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core
251 bearerTokenSecret: {}
252 # TLS configuration to use when scraping the endpoint.
254 # Authorization section for this endpoint.
255 # https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#safeauthorization
257 # OAuth2 for the URL. Only valid in Prometheus versions 2.27.0 and newer.
258 # https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#oauth2
260 # ProxyURL eg http://proxyserver:2195. Directs scrapes through proxy to this endpoint.
262 # Interval at which endpoints should be scraped. If not specified Prometheus' global scrape interval is used.
264 # Timeout after which the scrape is ended. If not specified, the Prometheus global scrape interval is used.
266 # HonorTimestamps controls whether Prometheus respects the timestamps present in scraped data.
267 honorTimestamps: true
268 # HonorLabels chooses the metric's labels on collisions with target labels.
270 # Whether to enable HTTP2. Default false.
272 # Drop pods that are not running. (Failed, Succeeded).
273 # Enabled by default. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase
275 # FollowRedirects configures whether scrape requests follow HTTP 3xx redirects. Default false.
277 # Optional HTTP URL parameters
279 # RelabelConfigs to apply to samples before scraping. Prometheus Operator automatically adds
280 # relabelings for a few standard Kubernetes fields. The original scrape job's name
281 # is available via the __tmp_prometheus_job_name label.
282 # More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
284 # MetricRelabelConfigs to apply to samples before ingestion.
285 metricRelabelings: []
286 # SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
288 # TargetLimit defines a limit on the number of scraped targets that will be accepted.
290 # Per-scrape limit on number of labels that will be accepted for a sample.
291 # Only valid in Prometheus versions 2.27.0 and newer.
293 # Per-scrape limit on length of labels name that will be accepted for a sample.
294 # Only valid in Prometheus versions 2.27.0 and newer.
295 labelNameLengthLimit: 0
296 # Per-scrape limit on length of labels value that will be accepted for a sample.
297 # Only valid in Prometheus versions 2.27.0 and newer.
298 labelValueLengthLimit: 0
299## Customize the updateStrategy if set
305# We usually recommend not to specify default resources and to leave this as a conscious
306# choice for the user. This also increases chances charts run on environments with little
307# resources, such as Minikube. If you do want to specify resources, uncomment the following
308# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
316# Specify the container restart policy passed to the Node Export container
317# Possible Values: Always (default)|OnFailure|Never
320 # Specifies whether a ServiceAccount should be created
322 # The name of the ServiceAccount to use.
323 # If not set and create is true, a name is generated using the fullname template
327 automountServiceAccountToken: false
333containerSecurityContext:
334 allowPrivilegeEscalation: false
335 readOnlyRootFilesystem: true
344 ## If true, create & use RBAC resources
347# for deployments that have node_exporter deployed outside of the cluster, list
348# their addresses here
350# Expose the service to the host network
352# hostUsers should be `true` or `~` if hostNetwork is true
353# for more information on the limitations of hostUsers
354# see https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/#limitations
356# Share the host process ID namespace
358# Share the host ipc namespace
360# Mount the node's root file system (/) at /host/root in the container
363 # Defines how new mounts in existing mounts on the node or in the container
364 # are propagated to the container or node, respectively. Possible values are
365 # None, HostToContainer, and Bidirectional. If this field is omitted, then
366 # None is used. More information on:
367 # https://kubernetes.io/docs/concepts/storage/volumes/#mount-propagation
368 mountPropagation: HostToContainer
369# Mount the node's proc file system (/proc) at /host/proc in the container
371 # Possible values are None, HostToContainer, and Bidirectional
373# Mount the node's sys file system (/sys) at /host/sys in the container
375 # Possible values are None, HostToContainer, and Bidirectional
377## Assign a group of affinity scheduling rules
378## The default nodeAffinity excludes Fargate nodes and virtual kubelets from scheduling
379## unless overridden by hard node affinity set in the field.
382# requiredDuringSchedulingIgnoredDuringExecution:
385# - key: metadata.name
390# Annotations to be added to node exporter pods
392 # Fix for very slow GKE cluster upgrades
393 cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
394# Extra labels to add to node exporter pods (can be templated)
396## Extra labels to attach to all resources (can be templated)
398# Annotations to be added to node exporter daemonset
399daemonsetAnnotations: {}
400## set to true to add the release label so scraping of the servicemonitor with kube-prometheus-stack works out of the box
402# DNS policy for prometheus-node-exporter pods
403# When hostNetwork is true, you typically want "Default" or "ClusterFirstWithHostNet"
404# Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
406# Custom DNS configuration to be added to prometheus-node-exporter pods
411# - ns1.svc.cluster-domain.example
412# - my.dns.search.suffix
418## Assign a nodeSelector if operating a hybrid cluster
421 kubernetes.io/os: linux
422 # kubernetes.io/arch: amd64
423# Specify grace period for graceful termination of pods. Defaults to 30 if null or not specified
424terminationGracePeriodSeconds: null
428# Enable or disable container termination message settings
429# https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/
430terminationMessageParams:
432 # If enabled, specify the path for termination messages
433 terminationMessagePath: /dev/termination-log
434 # If enabled, specify the policy for termination messages
435 terminationMessagePolicy: File
436## Assign a PriorityClassName to pods if set
437# priorityClassName: ""
439## Container arguments the chart sets by default. extraArgs are added after them, so
440## override this list only to change or drop a default.
443 - --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|run/containerd/.+|var/lib/docker/.+|var/lib/kubelet/.+)($|/)
444 - --collector.filesystem.fs-types-exclude=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs|erofs)$
445## Additional container arguments, added after defaultArgs
448# - --collector.diskstats.ignored-devices=^(ram|loop|fd|(h|s|v)d[a-z]|nvme\\d+n\\d+p)\\d+$
449# - --collector.textfile.directory=/run/prometheus
451## Additional mounts from the host to node-exporter container
453extraHostVolumeMounts: []
455# hostPath: <hostPath>
456# https://kubernetes.io/docs/concepts/storage/volumes/#hostpath-volume-types
457# type: "" (Default)|DirectoryOrCreate|Directory|FileOrCreate|File|Socket|CharDevice|BlockDevice
458# mountPath: <mountPath>
459# readOnly: true|false
460# mountPropagation: None|HostToContainer|Bidirectional
462## Additional configmaps to be mounted.
465# - name: <configMapName>
466# mountPath: <mountPath>
469# - name: <secretName>
470# mountPath: <mountPatch>
472## Override the deployment namespace
475## Additional containers for export metrics to text file; fields image,imagePullPolicy,securityContext take default value from main container
478# - name: nvidia-dcgm-exporter
479# image: nvidia/dcgm-exporter:1.4.3
484## Volume for sidecar containers
486sidecarVolumeMount: []
487# - name: collector-textfiles
488# mountPath: /run/prometheus
491## Additional mounts from the host to sidecar containers
493sidecarHostVolumeMounts: []
495# hostPath: <hostPath>
496# mountPath: <mountPath>
497# readOnly: true|false
498# mountPropagation: None|HostToContainer|Bidirectional
500## Additional InitContainers to initialize the pod
502extraInitContainers: []
503## Additional InitContainer to fix hostfile permissions required for some exporters. All fixes are disabled by default.
505permissionInitContainer:
508 repository: prometheus/busybox
511 pullPolicy: IfNotPresent
517 # Fixes /sys/devices/virtual/powercap/*/energy_uj
518 # Collector enabled by default
520 # Fixes /proc/slabinfo
521 # Collector disabled by default
531 initialDelaySeconds: 0
542 initialDelaySeconds: 0
546# Enable vertical pod autoscaler support for prometheus-node-exporter
547verticalPodAutoscaler:
549 # Recommender responsible for generating recommendation for the object.
550 # List should be empty (then the default recommender will generate the recommendation)
551 # or contain exactly one recommender.
553 # - name: custom-recommender-performance
555 # List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
556 controlledResources: []
557 # Specifies which resource values should be controlled: RequestsOnly or RequestsAndLimits.
558 # controlledValues: RequestsAndLimits
560 # Define the max allowed resources for the pod
564 # Define the min allowed resources for the pod
569# Specifies minimal number of replicas which need to be alive for VPA Updater to attempt pod eviction
571# Specifies whether recommended updates are applied when a Pod is started and whether recommended updates
572# are applied during the life of a Pod. Possible values are "Off", "Initial", "Recreate", and "Auto".
575# Extra manifests to deploy as an array
581# name: prometheus-extra
585## Extra volumes to become available in the pod
587# - name: extra-volume
591# secretName: node-exporter-secret
593## Extra volume mounts in the node-exporter container
595# - name: extra-volume
599# Override app version for feature gates when image.tag is not a plain semver
600# (for example "latest"). Digests and full image refs in image.tag are normalized
601# automatically for comparison; use image.digest when pinning with registry/repository.