renamed
This commit is contained in:
parent
95332fa179
commit
053befc19b
38
apps/dashy/base/deployment.yaml
Normal file
38
apps/dashy/base/deployment.yaml
Normal file
@ -0,0 +1,38 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: dashy
|
||||
name: dashy
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: dashy
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: dashy
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: NODE_ENV
|
||||
value: production
|
||||
image: ghcr.io/lissy93/dashy.:latest
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- node
|
||||
- /app/services/healthcheck
|
||||
failureThreshold: 3
|
||||
initialDelaySeconds: 40
|
||||
periodSeconds: 90
|
||||
timeoutSeconds: 10
|
||||
name: dashy
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
restartPolicy: Always
|
15
apps/dashy/base/ingress.yaml
Normal file
15
apps/dashy/base/ingress.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: dashy
|
||||
namespace: dashy
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure-local
|
||||
tls: {}
|
||||
routes:
|
||||
- match: Host(`dashy.steffenillium.de`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: dashy-service
|
||||
port: http
|
7
apps/dashy/base/kustomization.yaml
Normal file
7
apps/dashy/base/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- ingress.yaml
|
||||
- namespace.yaml
|
||||
- service.yaml
|
4
apps/dashy/base/namespace.yaml
Normal file
4
apps/dashy/base/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: dashy
|
13
apps/dashy/base/service.yaml
Normal file
13
apps/dashy/base/service.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: dashy
|
||||
name: dashy
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 4000
|
||||
targetPort: http
|
||||
selector:
|
||||
app: dashy
|
7
apps/dashy/kustomization.yaml
Normal file
7
apps/dashy/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: dashy
|
||||
|
||||
resources:
|
||||
- base
|
Loading…
x
Reference in New Issue
Block a user