ungleich-k8s/apps/uptime-kuma/uptime-kuma.yaml
2021-12-04 10:28:08 +01:00

30 lines
508 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: uptime-kuma-deployment
spec:
selector:
matchLabels:
app: uptime-kuma
replicas: 1
template:
metadata:
labels:
app: uptime-kuma
spec:
containers:
- name: uptime-kuma
image: louislam/uptime-kuma:1
ports:
- containerPort: 3001
---
apiVersion: v1
kind: Service
metadata:
name: uptime-kuma-service
spec:
selector:
app: uptime-kuma
ports:
- protocol: TCP
port: 3001