fix app uptime-kuma
This commit is contained in:
@@ -19,7 +19,7 @@ spec:
|
|||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
containers:
|
containers:
|
||||||
- name: uptime-kuma
|
- name: uptime-kuma
|
||||||
image: louislam/uptime-kuma:1.23.13
|
image: louislam/uptime-kuma:latest
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
containerPort: 3001
|
containerPort: 3001
|
||||||
@@ -30,5 +30,5 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: assets
|
- name: assets
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /mnt/nfs/AppData/homer/www/assets
|
path: /mnt/nfs/AppData/uptime-kuma
|
||||||
type: Directory
|
type: Directory
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./deployment.yaml
|
- ./deployment.yaml
|
||||||
|
- ./service.yaml
|
||||||
17
apps/uptime-kuma/base/service.yaml
Normal file
17
apps/uptime-kuma/base/service.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user