fix app uptime-kuma

This commit is contained in:
2024-07-17 17:46:28 +10:00
parent e2de2ee147
commit f3faa08253
3 changed files with 21 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ spec:
runAsGroup: 1000
containers:
- name: uptime-kuma
image: louislam/uptime-kuma:1.23.13
image: louislam/uptime-kuma:latest
ports:
- protocol: TCP
containerPort: 3001
@@ -30,5 +30,5 @@ spec:
volumes:
- name: assets
hostPath:
path: /mnt/nfs/AppData/homer/www/assets
path: /mnt/nfs/AppData/uptime-kuma
type: Directory

View File

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

View File

@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: uptime-kuma
namespace: uptime-kuma
labels:
app.kubernetes.io/name: uptime-kuma
spec:
selector:
app.kubernetes.io/name: uptime-kuma
type: ClusterIP
internalTrafficPolicy: Cluster
ports:
- protocol: TCP
port: 3001
targetPort: 3001
name: http