Configuring an Apache Exporter with Prometheus in Kubernetes

Difficulty: Intermediate
Duration: 2 minutes and 5 seconds
Students: 906
Rating: 3.2/5

In this lesson, we'll run through a quick demo of the Prometheus exporter for an Apache Web Server. This lesson specifically covers the application as it relates to Kubernetes, ranging from deployments to services, and how to inject a Prometheus configuration into a Prometheus container on startup. For this lesson, you should feel comfortable operating kubectl commands and how to interact with Kubernetes services and pods. All of the required YAML configurations, kubernetes commands, and instructions are provided In the official repo below.

If you have any feedback relating to this lesson, please let us know at support@cloudacademy.com.

Learning Objectives

  • Configure an Apache Webserver exporter with Prometheus in Kubernetes

Intended Audience

  • DevOps, SRE, or Cloud Engineers
  • Kubernetes developers
  • Anyone looking to implement an official Prometheus exporter into a Prometheus environment

Prerequisites

  • Kubernetes experience including kubectl
  • Familiarity with Prometheus
  • Comfortable poking around in a web GUI
  • Terminal experience

Resources

The GitHub repository for this lesson is available here: https://github.com/cloudacademy/Apache-Prometheus-Exporter

Covered Topics