Last active
April 15, 2020 10:30
-
-
Save alicek106/4ab832782d6d9a8a82faf39ad0314cc9 to your computer and use it in GitHub Desktop.
alertmanager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: monitoring.coreos.com/v1 | |
kind: Alertmanager | |
metadata: | |
labels: | |
owner: alicek106 | |
name: alice-alertmanager | |
namespace: default | |
spec: | |
configMaps: | |
- alert-notification-tmpl | |
image: quay.io/prometheus/alertmanager:v0.20.0 | |
nodeSelector: | |
kubernetes.io/os: linux | |
replicas: 2 | |
securityContext: | |
fsGroup: 2000 | |
runAsNonRoot: true | |
runAsUser: 1000 | |
version: v0.20.0 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
owner: alicek106 | |
name: alice-alertmanager | |
namespace: default | |
spec: | |
ports: | |
- name: web | |
port: 9093 | |
targetPort: web | |
selector: | |
alertmanager: alice-alertmanager | |
app: alertmanager | |
sessionAffinity: ClientIP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment