2023-09-20 17:44:28 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Namespace
|
|
|
|
metadata:
|
|
|
|
name: dashboard
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
2023-09-21 23:19:32 +02:00
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: dashboard-service
|
|
|
|
namespace: dashboard
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: 8080
|
|
|
|
selector:
|
|
|
|
app: dashboard
|
2023-09-20 17:44:28 +02:00
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: dashboard
|
2023-09-21 23:19:32 +02:00
|
|
|
name: dashboard-deployment
|
|
|
|
namespace: dashboard
|
2023-09-20 17:44:28 +02:00
|
|
|
spec:
|
|
|
|
replicas: 3
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: dashboard
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: dashboard
|
|
|
|
spec:
|
|
|
|
containers:
|
2024-09-29 15:13:11 +02:00
|
|
|
- image: git.ar21.de/yolokube/dashboard:90
|
2023-09-21 21:08:44 +02:00
|
|
|
imagePullPolicy: Always
|
2024-02-02 11:27:52 +01:00
|
|
|
livenessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /
|
|
|
|
port: 8080
|
2024-02-02 11:48:09 +01:00
|
|
|
initialDelaySeconds: 4
|
2024-02-02 11:27:52 +01:00
|
|
|
periodSeconds: 3
|
2023-09-21 23:19:32 +02:00
|
|
|
name: dashboard
|
2023-09-20 17:44:28 +02:00
|
|
|
ports:
|
|
|
|
- containerPort: 8080
|
2023-09-20 18:02:01 +02:00
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
2024-05-28 17:44:30 +02:00
|
|
|
annotations:
|
|
|
|
kubernetes.io/tls-acme: "true"
|
2023-09-20 18:02:01 +02:00
|
|
|
name: dashboard-ingress
|
|
|
|
namespace: dashboard
|
|
|
|
spec:
|
|
|
|
rules:
|
2023-09-21 23:19:32 +02:00
|
|
|
- host: dashboard.services.yolokube.de
|
2023-09-20 18:02:01 +02:00
|
|
|
http:
|
|
|
|
paths:
|
2023-09-21 23:19:32 +02:00
|
|
|
- backend:
|
2023-09-20 18:02:01 +02:00
|
|
|
service:
|
|
|
|
name: dashboard-service
|
|
|
|
port:
|
2023-09-20 20:36:53 +02:00
|
|
|
number: 80
|
2023-09-21 23:19:32 +02:00
|
|
|
path: /
|
|
|
|
pathType: Prefix
|
2024-05-28 17:44:30 +02:00
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- dashboard.services.yolokube.de
|
|
|
|
secretName: dashboard-tls-key
|