mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-26 19:36:29 +03:00
removed doubled names of ressources
This commit is contained in:
parent
5b5a32967c
commit
22047fe932
5 changed files with 12 additions and 11 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
Kustomize is a tool which builds a complete deployment file for all config elements.
|
Kustomize is a tool which builds a complete deployment file for all config elements.
|
||||||
You can edit the files in the ```uptime-kuma``` folder except the ```kustomization.yml``` until you know what you're doing.
|
You can edit the files in the ```uptime-kuma``` folder except the ```kustomization.yml``` until you know what you're doing.
|
||||||
|
If you want to choose another namespace you can edit the ```kustomization.yml``` in the ```kubernetes```-Folder and change the ```namespace: uptime-kuma``` to something you like.
|
||||||
|
|
||||||
It creates a certificate with the specified Issuer and creates the Ingress for the Uptime-Kuma ClusterIP-Service
|
It creates a certificate with the specified Issuer and creates the Ingress for the Uptime-Kuma ClusterIP-Service
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
component: uptime-kuma
|
component: uptime-kuma
|
||||||
name: uptime-kuma
|
name: deployment
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
@ -18,13 +18,13 @@ spec:
|
||||||
component: uptime-kuma
|
component: uptime-kuma
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: uptime-kuma
|
- name: app
|
||||||
image: louislam/uptime-kuma:1
|
image: louislam/uptime-kuma:1
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3001
|
- containerPort: 3001
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/data
|
- mountPath: /app/data
|
||||||
name: uptime-kuma-storage
|
name: storage
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
|
@ -37,6 +37,6 @@ spec:
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: uptime-kuma-storage
|
- name: storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: uptime-kuma-pvc
|
claimName: pvc
|
||||||
|
|
|
@ -20,11 +20,11 @@ metadata:
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_cache_bypass $http_upgrade;
|
proxy_cache_bypass $http_upgrade;
|
||||||
}
|
}
|
||||||
name: uptime-kuma-ingress
|
name: ingress
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- monitor.cxde.link
|
- uk.kube.cxde.link
|
||||||
secretName: monitor-cxde-link-tls
|
secretName: monitor-cxde-link-tls
|
||||||
rules:
|
rules:
|
||||||
- host: monitor.cxde.link
|
- host: monitor.cxde.link
|
||||||
|
@ -34,6 +34,6 @@ spec:
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: uptime-kuma-uptime-kuma
|
name: service
|
||||||
port:
|
port:
|
||||||
number: 3001
|
number: 3001
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: uptime-kuma-pvc
|
name: pvc
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: uptime-kuma
|
name: service
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
component: uptime-kuma
|
component: uptime-kuma
|
||||||
|
|
Loading…
Reference in a new issue