Conquering Prometheus Deployment in Kubernetes Through ArgoCD!

Simon Thelin
8 min readSep 22, 2024
How ChatGPT chooses to illustrate prometheus metrics.

In this post I want to show step by step how to enable and work with metrics through spark on kubernetes and prometheus.

We will produce these steps:

1) Setup Prometheus Operator, and deploy Prometheus via ArgoCD.

2) We will go through some of the underlaying technology to make sure we understand the benefits of utilising the operator.

3) Setup Sample Application utilising ServiceMonitor.

What is prometheus?

Prometheus collects and stores its metrics as time series data, i.e. metrics information is stored with the timestamp at which it was recorded, alongside optional key-value pairs called labels.

Simplified Prometheus Overview, in my experience the push gateway is rare (I never used it), but don’t take my word for it!

What is a metric?

A metric refers to a quantifiable measurement used to assess, monitor, and optimise the performance, quality, and efficiency of your application.

Metrics help to provide insight both real time and historically into the health, reliability, and effectiveness of data workflows.

--

--