<p>The github repo of Prometheus Operator <a href="https://github.com/coreos/prometheus-operator/" rel="noreferrer">https://github.com/coreos/prometheus-operator/</a> project says that</p>
<blockquote>
<p>The Prometheus Operator makes the Prometheus configuration Kubernetes native and manages and operates Prometheus and Alertmanager clusters. It is a piece of the puzzle regarding full end-to-end monitoring.</p>
<p>kube-prometheus combines the Prometheus Operator with a collection of manifests to help getting started with monitoring Kubernetes itself and applications running on top of it.</p>
</blockquote>
<p>Can someone elaborate this?</p>

SandeepVBende
<p>I've always had this exact same question/repeatedly bumped into both, but tbh reading the above answer didn't clarify it for me/I needed a short explanation. I found this github issue that just made it crystal clear to me.
<a href="https://github.com/coreos/prometheus-operator/issues/2619" rel="nofollow noreferrer">https://github.com/coreos/prometheus-operator/issues/2619</a></p>
<p>Quoting nicgirault of GitHub:</p>
<blockquote>
<p>At last I realized that prometheus-operator chart was packaging
kube-prometheus stack but it took me around 10 hours playing around to
realize this.</p>
</blockquote>
<p><strong>Here's my summarized explanation:</strong> <br>
<strong>&quot;kube-prometheus&quot; and &quot;Prometheus Operator Helm Chart&quot; both do the same thing:</strong> <br></p>
<ol>
<li>Basically the Ingress/Ingress Controller Concept, applied to Metrics/Prometheus Operator. <br></li>
<li>Both are a means of easily configuring, installing, and managing a huge distributed application (Kubernetes Prometheus Stack) on Kubernetes: <br>
<br><strong>What is the Entire Kube Prometheus Stack you ask?</strong> <br>Prometheus, Grafana, AlertManager, CRDs (Custom Resource Definitions), Prometheus Operator(software bot app), IaC Alert Rules, IaC Grafana Dashboards, IaC ServiceMonitor CRDs (which auto-generate Prometheus Metric Collection Configuration and auto hot import it into Prometheus Server)
<br>(Also when I say easily configuring I mean 1,000-10,000++ lines of easy for humans to understand config that generates and auto manage 10,000-100,000 lines of machine config + stuff with sensible defaults + monitoring configuration self-service, distributed configuration sharding with an operator/controller to combine config + generate verbose boilerplate machine-readable config from nice human-readable config.</li>
</ol>
<p><strong>If they achieve the same end goal, you might ask what's the difference between them?</strong> <br>
<a href="https://github.com/coreos/kube-prometheus" rel="nofollow noreferrer">https://github.com/coreos/kube-prometheus</a> <br>
<a href="https://github.com/helm/charts/tree/master/stable/prometheus-operator" rel="nofollow noreferrer">https://github.com/helm/charts/tree/master/stable/prometheus-operator</a> <br>
Basically, CoreOS's kube-prometheus deploys the Prometheus Stack using Ksonnet. <br>
Prometheus Operator Helm Chart wraps kube-prometheus / achieves the same end result but with Helm.</p>
<p><strong>So which one to use?</strong> <br>
Doesn't matter + they achieve the same end result + shouldn't be crazy difficult to start with 1 and switch to the other. <br><br>
Helm tends to be faster to learn/develop basic mastery of.  <br><br>
Ksonnet is harder to learn/develop basic mastery of, but: <br></p>
<ul>
<li>it's more idempotent (better for CICD automation) (but it's only a difference of 99% idempotent vs 99.99% idempotent.)<br></li>
<li>has built-in templating which means that if you have multiple clusters you need to manage / that you want to always keep consistent with each other. Then you can leverage ksonnet's templating to manage multiple instances of the Kube Prometheus Stack (for multiple envs) using a DRY code base with lots of code reuse. (If you only have a few envs and Prometheus doesn't need to change often it's not completely unreasonable to keep 4 helm values files in sync by hand. I've also seen Jinja2 templating used to template out helm values files, but if you're going to bother with that you may as well just consider ksonnet.)</li>
</ul>
