Same shape as box2 (no proxy env — NL egress is clean) with node5 sizing: ssh req 2/16Gi lim 12/48Gi, dind req 2/2Gi lim 12/48Gi, PVC local-storage 150Gi (hostpath, non-expandable). authorized_keys = node1 devbox keys + developer@cursor-devbox-0. First TrinityIngress on node5.
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
# Traefik TCP SSH + TrinityIngress HTTP health on node5 (box3.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.
|
|
# First TrinityIngress on node5: the operator adopts the pre-seeded
|
|
# coredns-trinitysan-zone ConfigMap placeholder (110-core-dns.yaml).
|
|
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: box3.trinitysan.by
|
|
serviceRef:
|
|
namespace: cursor-devbox
|
|
name: cursor-devbox
|
|
port: 8080
|
|
certificateReclaimPolicy: Retain
|