uptime kuma:

This commit is contained in:
Tyrel Souza 2023-07-06 01:52:48 +00:00
parent 0f2d903d38
commit 167d372dab
11 changed files with 92 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
tags
tags.*

3
uptime-kuma/README.md Normal file
View File

@ -0,0 +1,3 @@
# Uptime Server
Port 30001

View File

@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: uptime-kuma
name: uptime-kuma
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: uptime-kuma
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: uptime-kuma
spec:
containers:
- image: louislam/uptime-kuma:latest
name: uptime-kuma
ports:
- containerPort: 3001
resources: {}
volumeMounts:
- mountPath: /app/data
name: uptime-kuma
restartPolicy: Always
volumes:
- name: uptime-kuma
persistentVolumeClaim:
claimName: uptime-kuma
status: {}

18
uptime-kuma/ingress.yaml Normal file
View File

@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: minimal-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: uptime-kuma
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: uptime-kuma
port:
number: 80

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: uptime-kuma
name: uptime-kuma
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
status: {}

21
uptime-kuma/service.yaml Normal file
View File

@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.service: uptime-kuma
name: uptime-kuma
spec:
type: NodePort
ports:
- name: "3001"
port: 3001
targetPort: 3001
nodePort: 30001
selector:
io.kompose.service: uptime-kuma
status:
loadBalancer: {}