<p>I have applied the <a href="https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack" rel="nofollow noreferrer">kube-prometheus-stack</a> to my k8s cluster, and notice there are no scrape configs for my services or pods.</p>
<p>I'd like all services etc in my cluster to be scraped, according to the standard k8s attributes e.g.:</p>
<pre class="lang-yaml prettyprint-override"><code>prometheus.io/path: /metrics
prometheus.io/port: '8080'
prometheus.io/scrape: 'true'
</code></pre>
<p>My question is:</p>
<ul>
<li>Is there a supported way to tell the operator to scrape everything? The docs seems to suggest not, so..</li>
<li>Failing that, is there a place that I can upload some custom prometheus config to do the same?</li>
</ul>

Jon Bates
<p>Looks like there was already a <a href="https://stackoverflow.com/questions/64452966/add-custom-scrape-endpoints-in-helm-chart-kube-prometheus-stack-deployment">solution</a></p>
<p>Just add your additional jobs to the values file at this location:</p>
<pre class="lang-yaml prettyprint-override"><code>prometheus:
  prometheusSpec:
    additionalScrapeConfigs:
      - job_name: some_job
        ...
</code></pre>
