uptime
This commit is contained in:
6
uptime-kuma/kustomization.yaml
Normal file
6
uptime-kuma/kustomization.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- main.yaml
|
||||||
128
uptime-kuma/main.yaml
Normal file
128
uptime-kuma/main.yaml
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: uptime-kuma
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: uptime-kuma
|
||||||
|
app.kubernetes.io/version: 1.23.13
|
||||||
|
helm.sh/chart: uptime-kuma-2.21.2
|
||||||
|
name: uptime-kuma
|
||||||
|
namespace: uptime-kuma
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 3001
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 3001
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/instance: uptime-kuma
|
||||||
|
app.kubernetes.io/name: uptime-kuma
|
||||||
|
type: ClusterIP
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: uptime-kuma
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: uptime-kuma
|
||||||
|
app.kubernetes.io/version: 1.23.13
|
||||||
|
helm.sh/chart: uptime-kuma-2.21.2
|
||||||
|
name: uptime-kuma-pvc
|
||||||
|
namespace: uptime-kuma
|
||||||
|
spec:
|
||||||
|
storageClassName: openebs-3-replicas
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: uptime-kuma
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: uptime-kuma
|
||||||
|
app.kubernetes.io/version: 1.23.13
|
||||||
|
helm.sh/chart: uptime-kuma-2.21.2
|
||||||
|
name: uptime-kuma
|
||||||
|
namespace: uptime-kuma
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/instance: uptime-kuma
|
||||||
|
app.kubernetes.io/name: uptime-kuma
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: uptime-kuma
|
||||||
|
app.kubernetes.io/name: uptime-kuma
|
||||||
|
spec:
|
||||||
|
automountServiceAccountToken: false
|
||||||
|
containers:
|
||||||
|
- image: louislam/uptime-kuma:1.23.13-debian
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- extra/healthcheck
|
||||||
|
failureThreshold: 3
|
||||||
|
initialDelaySeconds: 180
|
||||||
|
periodSeconds: 10
|
||||||
|
successThreshold: 1
|
||||||
|
timeoutSeconds: 2
|
||||||
|
name: uptime-kuma
|
||||||
|
ports:
|
||||||
|
- containerPort: 3001
|
||||||
|
name: http
|
||||||
|
protocol: TCP
|
||||||
|
readinessProbe:
|
||||||
|
failureThreshold: 3
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 3001
|
||||||
|
scheme: HTTP
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 10
|
||||||
|
successThreshold: 1
|
||||||
|
timeoutSeconds: 1
|
||||||
|
resources: {}
|
||||||
|
securityContext: {}
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /app/data
|
||||||
|
name: storage
|
||||||
|
securityContext: {}
|
||||||
|
serviceAccountName: default
|
||||||
|
volumes:
|
||||||
|
- name: storage
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: uptime-kuma-pvc
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
helm.sh/hook: test
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: uptime-kuma
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: uptime-kuma
|
||||||
|
app.kubernetes.io/version: 1.23.13
|
||||||
|
helm.sh/chart: uptime-kuma-2.21.2
|
||||||
|
name: uptime-kuma-test-connection
|
||||||
|
namespace: uptime-kuma
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- uptime-kuma:3001
|
||||||
|
command:
|
||||||
|
- wget
|
||||||
|
image: busybox
|
||||||
|
name: wget
|
||||||
|
restartPolicy: Never
|
||||||
12
uptime-kuma/src/kustomization.yaml
Normal file
12
uptime-kuma/src/kustomization.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# kubernetes/cilium/kustomization.yaml
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: uptime-kuma
|
||||||
|
repo: https://helm.irsigler.cloud
|
||||||
|
version: 2.21.2
|
||||||
|
releaseName: uptime-kuma
|
||||||
|
includeCRDs: true
|
||||||
|
namespace: uptime-kuma
|
||||||
|
|
||||||
Reference in New Issue
Block a user