image
Configuring an Apache Exporter with Prometheus in Kubernetes

Contents

Course Lectures
1

The course is part of this learning path

Course Introduction
Difficulty
Intermediate
Duration
12m
Students
509
Ratings
3.5/5
starstarstarstar-halfstar-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
Students
28245
Courses
8
Learning Paths
2

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.