Skip to content

Kubernetes energy

Kubernetes Energy#

Overview#

Kepler (Kubernetes Efficient Power Level Exporter) is a system that exposes a variety of metrics about the energy consumption of Kubernetes components such as Pods and Nodes.

Prerequisites#

Kepler must be installed on your Kubernetes cluster. Follow the procedure here: https://sustainable-computing.io/

Configuration#

Go in Configuration Management.

image

Click on the + button to add a new configuration.

image

Select the template Kepler. Select the Collector on which you want this configuration to be deployed; and provide a Configuration Name that is meaningful for you. The Description is optional.

image

In the template, enter the correct settings for your Kepler metric endpoint. Other configuration options are possible. Browse the template to discover them.

Once done, click Apply to start the monitoring.

Series Cardinality Warning: depending on your Kubernetes cluster, this collect may produce a high number of series which can add high load on the metric database. Browse the configuration and adjust some settings to avoid cardinality issues.

Metrics#

  • Total Energy Consumed
  • Energy Cost for the period
  • Power Consumption in Watts by Namespace/Node/Pods/Containers
  • Joules Consumed by Namespace/Node/Pods/Containers
  • Carbon Emissions