seraph-agent
Version:
An extremely lightweight, SRE autonomous AI agent for seamless integration with common observability tasks.
50 lines (49 loc) • 1.64 kB
YAML
apiVersion: v1
kind: Service
metadata:
# Keep these metadata fields as they are.
# Do NOT change creationTimestamp, resourceVersion, or uid manually.
creationTimestamp: "2025-08-01T01:41:11Z"
labels:
managed-by: prometheus-operator
operated-alertmanager: "true"
name: alertmanager-operated
namespace: monitoring
ownerReferences:
- apiVersion: monitoring.coreos.com/v1
kind: Alertmanager
name: prometheus-stack-kube-prom-alertmanager
uid: e90c9965-efe1-4301-9be2-7b5f55b276fa
resourceVersion: "71655877"
uid: 6bfa726d-9c78-4ca0-bb1b-9abfca6a91c8
spec:
# Remove clusterIP: None and clusterIPs: - None for LoadBalancer type.
# The LoadBalancer type will provision a ClusterIP automatically.
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: http-web
port: 9093
protocol: TCP
targetPort: http-web
# You might want to keep or remove these mesh ports depending on whether
# you need external access to the Alertmanager mesh (usually not).
# If you only need UI/API access, you can remove them for simplicity.
- name: tcp-mesh
port: 9094
protocol: TCP
targetPort: 9094
- name: udp-mesh
port: 9094
protocol: UDP
targetPort: 9094
publishNotReadyAddresses: true # Keep this if the backend is a StatefulSet and you want DNS entries for not-ready pods
selector:
app.kubernetes.io/name: alertmanager
sessionAffinity: None
type: LoadBalancer # <--- This is the key change!
status:
# The loadBalancer status will be populated by Kubernetes once the external IP is provisioned.
loadBalancer: {}