Add phocas-lustrum demo site deployment

Deployment, service, and ingress for the AI-generated Phocas XVI
Lustrum demo site at phocaslustrum.rubenhensen.nl.
This commit is contained in:
Ruben Hensen
2026-03-01 13:51:09 +01:00
parent df0153114b
commit ed0561446d
4 changed files with 90 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: phocas-lustrum
name: phocas-lustrum
spec:
replicas: 1
selector:
matchLabels:
app: phocas-lustrum
strategy:
type: Recreate
template:
metadata:
labels:
app: phocas-lustrum
spec:
containers:
- image: ghcr.io/rubenhensen/phocas-lustrum-demo:latest
name: phocas-lustrum
ports:
- containerPort: 3000
protocol: TCP
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "256Mi"
cpu: "250m"
restartPolicy: Always
+24
View File
@@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: phocas-lustrum-ingress
annotations:
cert-manager.io/cluster-issuer: prod-cluster-issuer
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
spec:
ingressClassName: nginx
rules:
- host: phocaslustrum.rubenhensen.nl
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: phocas-lustrum
port:
number: 80
tls:
- secretName: letsencrypt-prod
hosts:
- phocaslustrum.rubenhensen.nl
+13
View File
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: phocas-lustrum
name: phocas-lustrum
spec:
ports:
- name: "http"
port: 80
targetPort: 3000
selector:
app: phocas-lustrum