1. Home
  2. Training Library
  3. Containers
  4. Courses
  5. Configuring an Apache Exporter with Prometheus in Kubernetes

Configuring an Apache Exporter with Prometheus in Kubernetes

Contents

keyboard_tab
Course Lectures
1

The course is part of this learning path

Prometheus: Pulling It All Together
course-steps
2
certification
1
lab-steps
2
Course Introduction
Overview
Difficulty
Intermediate
Duration
12m
Students
61
Ratings
3/5
starstarstarstar-borderstar-border
Description

In this course, we'll run through a quick demo of the Prometheus exporter for an Apache Web Server. This course 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 course, 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 course, 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 course is available here: https://github.com/cloudacademy/Apache-Prometheus-Exporter

Transcript

Hello, and welcome to configuring Apache Exporter with Prometheus in Kubernetes. My name is Jonathan Lewey and I am a DevOps Content Creator here at Cloud Academy. Now, as we move through this course, feel free to reach out to me on one of these social platforms or email support@cloudacademy.com.

Who should attend this course? This course is suitable for those who are looking to implement an official Prometheus exporter into a Prometheus environment. DevOps, site-reliability or cloud engineers, Kubernetes developers, and those who are looking to up their Prometheus skills.

There are a few prerequisites to this course. First, you should have Kubernetes experience and feel comfortable in a Kubernetes environment issuing kubectl control commands. You should have a basic familiarity with Prometheus, specifically the YAML configuration that goes into it. You should feel comfortable poking around the Prometheus web GUI. And terminal experience is strongly advised.

Let's talk about this course overview. First, we're going to be creating our Kubernetes environment and services. From there we'll navigate to our new Kubernetes context, create a ConfigMap for our Prometheus configuration to absorb, and then subsequently create the deployment for our Prometheus server and Apache Exporter.

We'll be verifying the deployment. We're going to alter our ConfigMap with the pods IP or the deployments IP, apply the changes to the ConfigMap, and then we're going to be accessing our Prometheus Dashboard.

We're going to also be accessing our Prometheus API through a curl pod. Then we're going to be accessing our exporters URI. And finally, we're going to be generating some metrics to see that the exporter is working properly.

If you have any feedback, positive or negative, it would be greatly appreciated if you could contact support@cloudacademy.com but that's it. So let's go jump into this demo and get our hands dirty. I'll see you there.

About the Author
Avatar
Jonathan Lewey
DevOps Content Creator
Students
13121
Courses
6
Learning Paths
3

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.