Compare commits
No commits in common. "6f183709afb0e8f9c28f3d8dfa265ca114f862ed" and "98440675e7a5924a97a69a3880364a5c7374e3b2" have entirely different histories.
6f183709af
...
98440675e7
3 changed files with 145 additions and 1 deletions
71
dashboard/prod/dashboard.yaml
Normal file
71
dashboard/prod/dashboard.yaml
Normal file
|
@ -0,0 +1,71 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: dashboard
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: dashboard-service
|
||||
namespace: dashboard
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: dashboard
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: dashboard
|
||||
name: dashboard-deployment
|
||||
namespace: dashboard
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: dashboard
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: dashboard
|
||||
spec:
|
||||
containers:
|
||||
- image: git.ar21.de/yolokube/dashboard:94
|
||||
imagePullPolicy: Always
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
initialDelaySeconds: 4
|
||||
periodSeconds: 3
|
||||
name: dashboard
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
kubernetes.io/tls-acme: "true"
|
||||
name: dashboard-ingress
|
||||
namespace: dashboard
|
||||
spec:
|
||||
rules:
|
||||
- host: dashboard.services.yolokube.de
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: dashboard-service
|
||||
port:
|
||||
number: 80
|
||||
path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- dashboard.services.yolokube.de
|
||||
secretName: dashboard-tls-key
|
71
dashboard/staging/dashboard.yaml
Normal file
71
dashboard/staging/dashboard.yaml
Normal file
|
@ -0,0 +1,71 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: dashboard-staging
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: dashboard-service
|
||||
namespace: dashboard-staging
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: dashboard
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: dashboard
|
||||
name: dashboard-deployment
|
||||
namespace: dashboard-staging
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: dashboard
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: dashboard
|
||||
spec:
|
||||
containers:
|
||||
- image: git.ar21.de/yolokube/dashboard:staging-93
|
||||
imagePullPolicy: Always
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
initialDelaySeconds: 4
|
||||
periodSeconds: 3
|
||||
name: dashboard
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
kubernetes.io/tls-acme: "true"
|
||||
name: dashboard-ingress
|
||||
namespace: dashboard-staging
|
||||
spec:
|
||||
rules:
|
||||
- host: dashboard-staging.services.yolokube.de
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: dashboard-service
|
||||
port:
|
||||
number: 80
|
||||
path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- dashboard-staging.services.yolokube.de
|
||||
secretName: dashboard-tls-key
|
|
@ -11,9 +11,11 @@ loki:
|
|||
index:
|
||||
prefix: index_
|
||||
period: 24h
|
||||
limits_config:
|
||||
retention_period: 24h
|
||||
compactor:
|
||||
compaction_interval: 15m
|
||||
retention_enabled: false
|
||||
retention_enabled: true
|
||||
retention_delete_delay: 1h
|
||||
retention_delete_worker_count: 150
|
||||
delete_request_store: s3
|
||||
|
|
Loading…
Add table
Reference in a new issue