mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-31 11:21:14 +02:00
24 lines
577 B
YAML
24 lines
577 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
alertmanager: main
|
|
app.kubernetes.io/component: alert-router
|
|
app.kubernetes.io/name: alertmanager
|
|
app.kubernetes.io/part-of: kube-prometheus
|
|
app.kubernetes.io/version: 0.21.0
|
|
name: alertmanager-main
|
|
namespace: monitoring
|
|
spec:
|
|
ports:
|
|
- name: web
|
|
port: 9093
|
|
targetPort: web
|
|
selector:
|
|
alertmanager: main
|
|
app: alertmanager
|
|
app.kubernetes.io/component: alert-router
|
|
app.kubernetes.io/name: alertmanager
|
|
app.kubernetes.io/part-of: kube-prometheus
|
|
sessionAffinity: ClientIP
|