node-exporter
Prometheus exporter for hardware and OS metrics exposed by UNIX kernels, with pluggable metric collectors.
About this chart
Node Exporter packaged by Bitnami
Prometheus exporter for hardware and OS metrics exposed by UNIX kernels, with pluggable metric collectors.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/node-exporter
Introduction
This chart bootstraps Node Exporter on Kubernetes using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
Installing the Chart
Add the bitnami charts repo to Helm:
$ helm repo add my-repo https://charts.bitnami.com/bitnami
To install the chart with the release name my-release:
$ helm install my-release my-repo/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 release:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template with a string | "" |
namespaceOverride | String to fully override common.names.namespace | "" |
commonAnnotations | Annotations to add to all deployed objects | {} |
commonLabels | Labels to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
clusterDomain | Kubernetes cluster domain name | cluster.local |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the the deployment(s)/statefulset(s) | ["sleep"] |
diagnosticMode.args | Args to override all containers in the the deployment(s)/statefulset(s) | ["infinity"] |
Node Exporter parameters
| Name | Description | Value |
|---|---|---|
hostAliases | Deployment pod host aliases | [] |
rbac.create | Whether to create and use RBAC resources or not | true |
rbac.pspEnabled | Whether to create a PodSecurityPolicy and bound it with RBAC. WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or later | true |
serviceAccount.create | Specifies whether a ServiceAccount should be created | true |
serviceAccount.name | Name of the service account to use. If not set and create is true, a name is generated using the fullname template. | "" |
serviceAccount.automountServiceAccountToken | Automount service account token for the server service account | true |
serviceAccount.annotations | Annotations for service account. Evaluated as a template. Only used if create is true. | {} |
image.registry | Node Exporter image registry | docker.io |
image.repository | Node Exporter image repository | bitnami/node-exporter |
image.tag | Node Exporter image tag (immutable tags are recommended) | 1.4.0-debian-11-r2 |
image.digest | Node Exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Node Exporter image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
containerPorts.metrics | Node Exporter container port | 9100 |
sidecars | Add additional sidecar containers to the Node exporter pod(s) | [] |
initContainers | Add additional init containers to the Node exporter pod(s) | [] |
extraArgs | Additional command line arguments to pass to node-exporter | {} |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
lifecycleHooks | for the Node exporter container(s) to automate configuration before or after startup | {} |
extraEnvVars | Array with extra environment variables to add to Node exporter container | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars for Node exporter container | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars for Node exporter container | "" |
extraVolumes | Additional volumes to the node-exporter pods | [] |
extraVolumeMounts | Additional volumeMounts to the node-exporter container | [] |
podSecurityContext.enabled | Enabled Node exporter pods' Security Context | true |
podSecurityContext.fsGroup | Set Node exporter pod's Security Context fsGroup | 1001 |
containerSecurityContext.enabled | Enabled Node exporter containers' Security Context | true |
containerSecurityContext.runAsUser | Set Node exporter containers' Security Context runAsUser | 1001 |
containerSecurityContext.runAsNonRoot | Set Node exporter container's Security Context runAsNonRoot | true |
service.type | Kubernetes service type | ClusterIP |
service.ports.metrics | Node Exporter metrics service port | 9100 |
service.nodePorts.metrics | Specify the nodePort value for the LoadBalancer and NodePort service types | "" |
service.clusterIP | Specific cluster IP when service type is cluster IP. Use None for headless service | "" |
service.loadBalancerIP | loadBalancerIP if service type is LoadBalancer | "" |
service.loadBalancerSourceRanges | Address that are allowed when service is LoadBalancer | [] |
service.externalTrafficPolicy | Node exporter service external traffic policy | Cluster |
service.extraPorts | Extra ports to expose (normally used with the sidecar value) |
Deploy node-exporter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has node-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 chartnode-exporter is pinned at v3.2.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