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)
40 lines
946 B
YAML
40 lines
946 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: siriusdevops-site
|
|
namespace: siriusdevops
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: siriusdevops-site
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: siriusdevops-site
|
|
spec:
|
|
tolerations:
|
|
- key: dedicated
|
|
operator: Exists
|
|
effect: PreferNoSchedule
|
|
nodeSelector:
|
|
kubernetes.io/hostname: siriussec
|
|
containers:
|
|
- name: nginx
|
|
image: forgejo.siriusdevops.com/sirius/siriusdevops-site:latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
memory: 256Mi
|