Back to Charts

Prometheus Node Exporter

stable/prometheus-node-exporter/README.md

latest9.6 KB
Original Source

Prometheus Node Exporter

DEPRECATED and moved to https://github.com/prometheus-community/helm-charts

TL;DR;

console
$ helm install stable/prometheus-node-exporter

Introduction

This chart bootstraps a prometheus node exporter deployment on a Kubernetes cluster using the Helm package manager.

Installing the Chart

To install the chart with the release name my-release:

console
$ helm install --name my-release stable/prometheus-node-exporter

The command deploys node exporter on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

console
$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the Node Exporter chart and their default values.

ParameterDescriptionDefault
image.repositoryImage repositoryquay.io/prometheus/node-exporter
image.tagImage tagv1.0.1
image.pullPolicyImage pull policyIfNotPresent
extraArgsAdditional container arguments[]
extraHostVolumeMountsAdditional host volume mounts[]
podAnnotationsAnnotations to be added to node exporter pods{}
podLabelsAdditional labels to be added to pods{}
rbac.createIf true, create & use RBAC resourcestrue
rbac.pspEnabledSpecifies whether a PodSecurityPolicy should be created.true
resourcesCPU/Memory resource requests/limits{}
service.typeService typeClusterIP
service.portThe service port9100
service.targetPortThe target port of the container9100
service.nodePortThe node port of the service
service.listenOnAllInterfacesIf true, listen on all interfaces using IP 0.0.0.0. Else listen on the IP address pod has been assigned by Kubernetes.true
service.annotationsKubernetes service annotations{prometheus.io/scrape: "true"}
serviceAccount.createSpecifies whether a service account should be created.true
serviceAccount.nameService account to be used. If not set and serviceAccount.create is true, a name is generated using the fullname template
serviceAccount.imagePullSecretsSpecify image pull secrets[]
securityContextSecurityContextSee values.yaml
affinityA group of affinity scheduling rules for pod assignment{}
nodeSelectorNode labels for pod assignment{}
tolerationsList of node taints to tolerate- effect: NoSchedule operator: Exists
priorityClassNameName of Priority Class to assign podsnil
endpointslist of addresses that have node exporter deployed outside of the cluster[]
hostNetworkWhether to expose the service to the host networktrue
prometheus.monitor.enabledSet this to true to create ServiceMonitor for Prometheus operatorfalse
prometheus.monitor.additionalLabelsAdditional labels that can be used so ServiceMonitor will be discovered by Prometheus{}
prometheus.monitor.namespacenamespace where servicemonitor resource should be createdthe same namespace as prometheus node exporter
prometheus.monitor.relabelingsRelabelings that should be applied on the ServerMonitor{}
prometheus.monitor.scrapeTimeoutTimeout after which the scrape is ended10s
configmapsAllow mounting additional configmaps.[]
namespaceOverrideOverride the deployment namespace"" (Release.Namespace)
updateStrategyConfigure a custom update strategy for the daemonsetRolling update with 1 max unavailable
sidecarsAdditional containers for export metrics to text file[]
sidecarVolumeMountVolume for sidecar containers[]

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

console
$ helm install --name my-release \
  --set serviceAccount.name=node-exporter  \
    stable/prometheus-node-exporter

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

console
$ helm install --name my-release -f values.yaml stable/prometheus-node-exporter