Files
cursor-devbox/deploy/node4-k3s/030-ingress.yaml
T
Ubuntu c8a493cf25 feat(deploy): split node1 and node4 manifests and cap box2 home at 150Gi
Node4 drops the egress proxy. Its home volume is a 150Gi LVM logical volume so the filesystem size is a real quota.
2026-10-16 11:10:06 +00:00

36 lines
929 B
YAML

# Traefik TCP SSH + TrinityIngress HTTP health on node4 (box2.trinitysan.by).
---
# Traefik TCP :2222 → OpenSSH in the pod (plain SSH; HostSNI catch-all).
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: cursor-devbox-ssh
namespace: cursor-devbox
spec:
entryPoints:
- ssh
routes:
- match: HostSNI(`*`)
services:
- name: cursor-devbox
port: 22
---
# DNS A record + HTTPS front for the tiny HTTP health page; SSH uses Traefik TCP :2222.
apiVersion: ingress.trinitysan.by/v1
kind: TrinityIngress
metadata:
name: cursor-devbox
namespace: cursor-devbox
annotations:
# cert-manager HTTP-01 self-check must reach Traefik :80, not the SSH Service.
ingress.trinitysan.by/internal-route-to-traefik: "true"
spec:
hostname: box2.trinitysan.by
serviceRef:
namespace: cursor-devbox
name: cursor-devbox
port: 8080
certificateReclaimPolicy: Retain