add app uptime-kuma

This commit is contained in:
2024-07-17 17:39:22 +10:00
parent 68c7589898
commit e2de2ee147
5 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: uptime-kuma
namespace: uptime-kuma
labels:
app.kubernetes.io/name: uptime-kuma
spec:
selector:
matchLabels:
app.kubernetes.io/name: uptime-kuma
template:
metadata:
labels:
app.kubernetes.io/name: uptime-kuma
spec:
securityContext:
runAsUser: 1000
runAsGroup: 1000
containers:
- name: uptime-kuma
image: louislam/uptime-kuma:1.23.13
ports:
- protocol: TCP
containerPort: 3001
name: http
volumeMounts:
- name: data
mountPath: /app/data
volumes:
- name: assets
hostPath:
path: /mnt/nfs/AppData/homer/www/assets
type: Directory

View File

@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./deployment.yaml