homek8s/apps/base/piedmont/deployment.yaml
lance d8f46972fb feat(piedmont): deploy PHS site + HTTPRoute for piedmonthomesvc.com
Serves the handyman site from the cluster instead of the Pi's dead
nginx/registry/Garage stack. The 78 /photos/ paths the site requests are
already baked into assets/portfolio/, so the image serves them via an
nginx alias and the Garage bucket is no longer a runtime dependency.

Image: forgejo.siriusdevops.com/sirius/phs-site:latest (public package).
2026-09-29 22:32:11 -04:00

46 lines
1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: piedmont-site
namespace: piedmont
spec:
replicas: 1
selector:
matchLabels:
app: piedmont-site
template:
metadata:
labels:
app: piedmont-site
spec:
tolerations:
- key: dedicated
operator: Exists
effect: PreferNoSchedule
nodeSelector:
kubernetes.io/hostname: linode
containers:
- name: nginx
image: forgejo.siriusdevops.com/sirius/phs-site:latest
imagePullPolicy: Always
ports:
- containerPort: 80
name: http
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 15
periodSeconds: 20
resources:
requests:
cpu: 25m
memory: 48Mi
limits:
memory: 192Mi