implement huly

This commit is contained in:
2025-03-21 20:26:53 +01:00
parent 86d9b89769
commit 406a470489
34 changed files with 1015 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: rekoni
name: rekoni
spec:
replicas: 1
selector:
matchLabels:
app: rekoni
template:
metadata:
labels:
app: rekoni
spec:
containers:
- image: hardcoreeng/rekoni-service:v0.6.471
name: rekoni
env:
- name: SECRET
valueFrom:
secretKeyRef:
name: huly-secret
key: SERVER_SECRET
ports:
- containerPort: 4004
hostPort: 4004
protocol: TCP
resources:
limits:
memory: "500M"
restartPolicy: Always

View File

@@ -0,0 +1,22 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: "letsencrypt-prod"
labels:
app: rekoni
name: rekoni
spec:
ingressClassName: nginx
rules:
- host: rekoni.huly.panic.haus
http:
paths:
- backend:
service:
name: rekoni
port:
number: 80
path: /
pathType: Prefix

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: rekoni
name: rekoni
spec:
ports:
- port: 80
targetPort: 4004
selector:
app: rekoni