1
0
Fork 0

deployment for alertmanager to gotify webhook

This commit is contained in:
Tobias Brunner 2019-08-05 21:48:31 +02:00
parent f34cc99f9c
commit 0cce9cfef3
1 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,41 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: alertmanager-gotify
name: alertmanager-gotify
namespace: posmon
spec:
replicas: 1
selector:
matchLabels:
app: alertmanager-gotify
template:
metadata:
labels:
app: alertmanager-gotify
spec:
containers:
- image: r.sbruder.de/alertmanager-gotify:latest
name: alertmanager-gotify
env:
- name: GOTIFY_URL
value: https://gotify.tbrnt.ch
ports:
- containerPort: 8081
name: web
---
apiVersion: v1
kind: Service
metadata:
name: alertmanager-gotify
namespace: posmon
spec:
ports:
- name: web
port: 8081
protocol: TCP
targetPort: web
selector:
app: alertmanager-gotify
type: ClusterIP