ungleich-k8s/apps/uptime-kuma/uptime-kuma.yaml

31 lines
508 B
YAML
Raw Normal View History

2021-12-04 09:28:08 +00:00
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