add uptime-kuma
This commit is contained in:
parent
b462e0bdf7
commit
477405d61f
20
argocd-applications/base/uptime-kuma-application.yaml
Normal file
20
argocd-applications/base/uptime-kuma-application.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: argo-app-uptime-kuma
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
name: ''
|
||||
namespace: default
|
||||
server: https://kubernetes.default.svc
|
||||
source:
|
||||
path: uptime-kuma
|
||||
repoURL: https://git.mziesel.nl/mans/argocd-test
|
||||
targetRevision: HEAD
|
||||
sources: []
|
||||
project: default
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
@ -17,3 +17,4 @@ resources:
|
||||
- ./base/cloudnative-pg-application.yaml
|
||||
- ./base/keycloak-application.yaml
|
||||
- ./base/mediaserver-application.yaml
|
||||
- ./base/uptime-kuma-application.yaml
|
||||
|
28
uptime-kuma/base/uptime-kuma-deployment.yaml
Normal file
28
uptime-kuma/base/uptime-kuma-deployment.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: uptime-kuma
|
||||
namespace: uptime-kuma
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: uptime-kuma
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: uptime-kuma
|
||||
spec:
|
||||
volumes:
|
||||
- name: uptime-kuma-data
|
||||
persistentVolumeClaim:
|
||||
claimName: uptime-kuma-data-pvc
|
||||
containers:
|
||||
- image: louislam/uptime-kuma:2.0.0-beta.0
|
||||
name: uptime-kuma
|
||||
ports:
|
||||
- name: web
|
||||
containerPort: 3001
|
||||
volumeMounts:
|
||||
- mountPath: /app/data
|
||||
name: uptime-kuma-data
|
12
uptime-kuma/base/uptime-kuma-ingress.yaml
Normal file
12
uptime-kuma/base/uptime-kuma-ingress.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: uptime-kuma-ingressroute
|
||||
spec:
|
||||
routes:
|
||||
- match: Host(`uptime-kuma.k8s.mziesel.nl`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: uptime-kuma
|
||||
port: web
|
||||
tls: {}
|
4
uptime-kuma/base/uptime-kuma-namespace.yaml
Normal file
4
uptime-kuma/base/uptime-kuma-namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: uptime-kuma
|
11
uptime-kuma/base/uptime-kuma-pvc.yaml
Normal file
11
uptime-kuma/base/uptime-kuma-pvc.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: uptime-kuma-data-pvc
|
||||
spec:
|
||||
storageClassName: nfs-client
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
11
uptime-kuma/base/uptime-kuma-svc.yaml
Normal file
11
uptime-kuma/base/uptime-kuma-svc.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: uptime-kuma
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
targetPort: web
|
||||
selector:
|
||||
app: uptime-kuma
|
11
uptime-kuma/kustomization.yaml
Normal file
11
uptime-kuma/kustomization.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: uptime-kuma
|
||||
|
||||
resources:
|
||||
- ./base/uptime-kuma-namespace.yaml
|
||||
- ./base/uptime-kuma-pvc.yaml
|
||||
- ./base/uptime-kuma-deployment.yaml
|
||||
- ./base/uptime-kuma-svc.yaml
|
||||
- ./base/uptime-kuma-ingress.yaml
|
Loading…
Reference in New Issue
Block a user