<p>the task is to add the permanent label k8s_cluster=state to the help chart victoria-metrics-agent, I tried adding it via extraLabels, but it is added only to pod, deployment, etc. vmagent
I use helm chart <a href="https://github.com/VictoriaMetrics/helm-charts" rel="nofollow noreferrer">https://github.com/VictoriaMetrics/helm-charts</a></p>

Iceforest
<p>Have you tried configuring vmagent with the following flag:</p>
<pre><code>/path/to/vmagent -remoteWrite.label=k8s_cluster=state ...
</code></pre>
<p><a href="https://docs.victoriametrics.com/vmagent.html#adding-labels-to-metrics" rel="nofollow noreferrer">https://docs.victoriametrics.com/vmagent.html#adding-labels-to-metrics</a></p>
