<p>I am installing the below helm package on my K8s cluster</p>
<p><a href="https://github.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-21.0.0" rel="nofollow noreferrer">https://github.com/prometheus-community/helm-charts/releases/tag/kube-prometheus-stack-21.0.0</a></p>
<p>I've got it locally and when I deploy it creates everything including a service called alertmanager-operated. Its listening on TCP port 9093 and I need to change this. I dont see where this can be configured in the values.yaml or anywhere else in the package</p>

DeirdreRodgers
<p>It's <a href="https://github.com/prometheus-community/helm-charts/blob/b25f5a532f26e28852d5e3b125c902428f521adf/charts/kube-prometheus-stack/values.yaml#L301" rel="nofollow noreferrer">here</a>. Your values.yaml can have:</p>
<pre><code>...
alertmanager:
  service:
    port: &lt;your port #&gt;
</code></pre>
<p>Follow-up on your comment <code>... cant tell how the alertmanager-operated service gets created and how to configure it</code></p>
<p><a href="https://www.vmware.com/topics/glossary/content/kubernetes-services" rel="nofollow noreferrer">Here's</a> a good source for quick understanding of various k8s services. For greater configure details checkout the official <a href="https://kubernetes.io/docs/concepts/services-networking/service/" rel="nofollow noreferrer">documentation</a>. Set the values according to your need and k8s will create the service for you when you apply the chart.</p>
