uptime kuma:
This commit is contained in:
parent
0f2d903d38
commit
167d372dab
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
tags
|
||||
tags.*
|
3
uptime-kuma/README.md
Normal file
3
uptime-kuma/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Uptime Server
|
||||
|
||||
Port 30001
|
34
uptime-kuma/deployment.yaml
Normal file
34
uptime-kuma/deployment.yaml
Normal 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
18
uptime-kuma/ingress.yaml
Normal 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
|
14
uptime-kuma/persistentvolumeclaim.yaml
Normal file
14
uptime-kuma/persistentvolumeclaim.yaml
Normal 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
21
uptime-kuma/service.yaml
Normal 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: {}
|
Loading…
Reference in New Issue
Block a user