Skip to content

Prometheus Node Exporter Add-on

This add-on installs prometheus-node-exporter.

prometheus-node-exporter Add-on enables you to measure various machine resources such as memory, disk and CPU utilization.

Usage

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

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.

  kubectl get pods -n prometheus-node-exporter

Output

There should list pods starting with name prometheus-node-exporter For Eg:

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.