Configuring an Apache Exporter with Prometheus in Kubernetes

2m 5s

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

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


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


The GitHub repository for this lesson is available here:

About the Author
Learning paths

Jonathan Lewey is a DevOps Content Creator at Cloud Academy. With experience in the Networking and Operations of the traditional Information Technology industry, he has also lead the creation of applications for corporate integrations, and served as a Cloud Engineer supporting developer teams. Jonathan has a number of specialities including: a Cisco Certified Network Associate (R&S / Sec), an AWS Developer Associate, an AWS Solutions Architect, and is certified in Project Management.

Covered Topics