# Prometheus Node Exporter Add-on This add-on installs [prometheus-node-exporter](https://github.com/prometheus/node_exporter). prometheus-node-exporter Add-on enables you to measure various machine resources such as memory, disk and CPU utilization. ## Usage ```typescript import * as cdk from 'aws-cdk-lib'; import * as blueprints from '@aws-quickstart/eks-blueprints'; const app = new cdk.App(); const addOn = new blueprints.addons.PrometheusNodeExporterAddOn() const blueprint = blueprints.EksBlueprint.builder() .version("auto") .addOns(addOn) .build(app, 'my-stack-name'); ``` ## Configuration Options - `createNamespace`: (boolean) If you want CDK to create the namespace for you - `values`: Arbitrary values to pass to the chart. - [Standard helm configuration options](https://github.com/aws-quickstart/cdk-eks-blueprints/blob/main/docs/addons/index.md#standard-helm-add-on-configuration-options). ## Validation To validate that prometheus-node-exporter is installed properly in the cluster, check if the prometheus-node-exporter namespace is created and pods are running. Verify if the pods are running correctly for prometheus-node-exporter in `prometheus-node-exporter` namespace. ```bash kubectl get pods -n prometheus-node-exporter ``` ## Output There should list pods starting with name `prometheus-node-exporter` For Eg: ```bash NAME READY STATUS RESTARTS AGE prometheus-node-exporter-l7s25 1/1 Running 0 105m prometheus-node-exporter-zh5sn 1/1 Running 0 105m ``` ## Functionality Applies the prometheus-node-exporter add-on to an Amazon EKS cluster.