uptime-kuma is working
This commit is contained in:
parent
23f5a98b3c
commit
9558e187ab
4 changed files with 2134 additions and 0 deletions
1964
status/Uptime_Kuma_Backup_2023_11_10-07_43_26.json
Normal file
1964
status/Uptime_Kuma_Backup_2023_11_10-07_43_26.json
Normal file
File diff suppressed because it is too large
Load diff
139
status/deployment.yaml
Normal file
139
status/deployment.yaml
Normal file
|
|
@ -0,0 +1,139 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -o deployment.yaml -n status
|
||||||
|
kompose.service.expose: status.wayl.one,status.k.waylonwalker.com
|
||||||
|
kompose.version: 1.31.2 (a92241f79)
|
||||||
|
creationTimestamp: null
|
||||||
|
labels:
|
||||||
|
io.kompose.service: uptime-kuma
|
||||||
|
name: uptime-kuma
|
||||||
|
namespace: status
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "3001"
|
||||||
|
port: 3001
|
||||||
|
targetPort: 3001
|
||||||
|
selector:
|
||||||
|
io.kompose.service: uptime-kuma
|
||||||
|
status:
|
||||||
|
loadBalancer: {}
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: status
|
||||||
|
namespace: status
|
||||||
|
spec: {}
|
||||||
|
status: {}
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -o deployment.yaml -n status
|
||||||
|
kompose.service.expose: status.wayl.one,status.k.waylonwalker.com
|
||||||
|
kompose.version: 1.31.2 (a92241f79)
|
||||||
|
creationTimestamp: null
|
||||||
|
labels:
|
||||||
|
io.kompose.service: uptime-kuma
|
||||||
|
name: uptime-kuma
|
||||||
|
namespace: status
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: uptime-kuma
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -o deployment.yaml -n status
|
||||||
|
kompose.service.expose: status.wayl.one,status.k.waylonwalker.com
|
||||||
|
kompose.version: 1.31.2 (a92241f79)
|
||||||
|
creationTimestamp: null
|
||||||
|
labels:
|
||||||
|
io.kompose.network/status-default: "true"
|
||||||
|
io.kompose.service: uptime-kuma
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: TZ
|
||||||
|
value: UTC
|
||||||
|
image: louislam/uptime-kuma:1
|
||||||
|
name: status
|
||||||
|
ports:
|
||||||
|
- containerPort: 3001
|
||||||
|
protocol: TCP
|
||||||
|
resources: {}
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /app/data
|
||||||
|
name: uptime-kuma
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: uptime-kuma
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: uptime-kuma
|
||||||
|
status: {}
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -o deployment.yaml -n status
|
||||||
|
kompose.service.expose: status.wayl.one,status.k.waylonwalker.com
|
||||||
|
kompose.version: 1.31.2 (a92241f79)
|
||||||
|
creationTimestamp: null
|
||||||
|
labels:
|
||||||
|
io.kompose.service: uptime-kuma
|
||||||
|
name: uptime-kuma
|
||||||
|
namespace: status
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: status.wayl.one
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: uptime-kuma
|
||||||
|
port:
|
||||||
|
number: 3001
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
||||||
|
- host: status.k.waylonwalker.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: uptime-kuma
|
||||||
|
port:
|
||||||
|
number: 3001
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
||||||
|
status:
|
||||||
|
loadBalancer: {}
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
labels:
|
||||||
|
io.kompose.service: uptime-kuma
|
||||||
|
name: uptime-kuma
|
||||||
|
namespace: status
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
||||||
|
status: {}
|
||||||
|
|
||||||
17
status/docker-compose.yml
Normal file
17
status/docker-compose.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
# docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
uptime-kuma:
|
||||||
|
image: louislam/uptime-kuma:1
|
||||||
|
container_name: status
|
||||||
|
ports:
|
||||||
|
- 3001
|
||||||
|
volumes:
|
||||||
|
- uptime-kuma:/app/data
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- TZ=UTC # optional: set desired timezone
|
||||||
|
labels:
|
||||||
|
kompose.service.expose: status.wayl.one,status.k.waylonwalker.com
|
||||||
|
volumes:
|
||||||
|
uptime-kuma:
|
||||||
14
status/justfile
Normal file
14
status/justfile
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
default: convert deploy viz
|
||||||
|
|
||||||
|
create-ns:
|
||||||
|
kubectl create ns status
|
||||||
|
convert:
|
||||||
|
kompose convert -o deployment.yaml -n status
|
||||||
|
deploy:
|
||||||
|
kubectl apply -f deployment.yaml
|
||||||
|
viz:
|
||||||
|
k8sviz -n status --kubeconfig $KUBECONFIG -t png -o status-k8s.png
|
||||||
|
restart:
|
||||||
|
kubectl rollout restart -n status deployment/status
|
||||||
|
delete:
|
||||||
|
kubectl delete all --all -n status --timeout=0s
|
||||||
Loading…
Add table
Add a link
Reference in a new issue