homek8s/apps/base/piedmont/deployment.yaml
Lance 237722b581 ingress: move public apps off the retired linode node onto siriussec
Linode VPSs are shut down. The Gateway listener has to be co-located with the
backend pods (hostNetwork Envoy returns 503 for cross-node backends), so all
public workloads now schedule on siriussec and the tunnel origin points there.

- nodeSelector linode -> siriussec (piedmont, sirius-growth, siriusdevops)
- siriusdevops site/contact now pull rebuilt images from the Forgejo registry
  (the old :dev tags existed only on the dead VPS containerd)
2026-10-20 09:01:24 -04:00

46 lines
1.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: siriussec
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