mirror of https://github.com/louislam/uptime-kuma
				
				
				
			removed doubled names of ressources
							parent
							
								
									5b5a32967c
								
							
						
					
					
						commit
						22047fe932
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,10 +1,10 @@
 | 
			
		|||
apiVersion: v1
 | 
			
		||||
kind: PersistentVolumeClaim
 | 
			
		||||
metadata:
 | 
			
		||||
  name: uptime-kuma-pvc
 | 
			
		||||
  name: pvc
 | 
			
		||||
spec:
 | 
			
		||||
  accessModes:
 | 
			
		||||
    - ReadWriteOnce
 | 
			
		||||
  resources:
 | 
			
		||||
    requests:
 | 
			
		||||
      storage: 4Gi
 | 
			
		||||
      storage: 4Gi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
apiVersion: v1
 | 
			
		||||
kind: Service
 | 
			
		||||
metadata:  
 | 
			
		||||
  name: uptime-kuma
 | 
			
		||||
  name: service
 | 
			
		||||
spec:
 | 
			
		||||
  selector:    
 | 
			
		||||
    component: uptime-kuma
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue