Browse Source

removed doubled names of ressources

pull/231/head
Carl Sander 3 years ago
parent
commit
22047fe932
  1. 1
      kubernetes/README.md
  2. 10
      kubernetes/uptime-kuma/deployment.yml
  3. 6
      kubernetes/uptime-kuma/ingressroute.yml
  4. 4
      kubernetes/uptime-kuma/pvc.yml
  5. 2
      kubernetes/uptime-kuma/service.yml

1
kubernetes/README.md

@ -3,6 +3,7 @@
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.
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

10
kubernetes/uptime-kuma/deployment.yml

@ -3,7 +3,7 @@ kind: Deployment
metadata:
labels:
component: uptime-kuma
name: uptime-kuma
name: deployment
spec:
selector:
matchLabels:
@ -18,13 +18,13 @@ spec:
component: uptime-kuma
spec:
containers:
- name: uptime-kuma
- name: app
image: louislam/uptime-kuma:1
ports:
- containerPort: 3001
volumeMounts:
- mountPath: /app/data
name: uptime-kuma-storage
name: storage
livenessProbe:
exec:
command:
@ -37,6 +37,6 @@ spec:
scheme: HTTP
volumes:
- name: uptime-kuma-storage
- name: storage
persistentVolumeClaim:
claimName: uptime-kuma-pvc
claimName: pvc

6
kubernetes/uptime-kuma/ingressroute.yml

@ -20,11 +20,11 @@ metadata:
proxy_set_header Upgrade $http_upgrade;
proxy_cache_bypass $http_upgrade;
}
name: uptime-kuma-ingress
name: ingress
spec:
tls:
- hosts:
- monitor.cxde.link
- uk.kube.cxde.link
secretName: monitor-cxde-link-tls
rules:
- host: monitor.cxde.link
@ -34,6 +34,6 @@ spec:
pathType: Prefix
backend:
service:
name: uptime-kuma-uptime-kuma
name: service
port:
number: 3001

4
kubernetes/uptime-kuma/pvc.yml

@ -1,10 +1,10 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: uptime-kuma-pvc
name: pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 4Gi
storage: 4Gi

2
kubernetes/uptime-kuma/service.yml

@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: uptime-kuma
name: service
spec:
selector:
component: uptime-kuma

Loading…
Cancel
Save