Every provenance line and manifest still named a DigitalOcean context, and the ARC values described a pool that died with it. A cluster gets a name here; the address it answers on belongs to the private record. Co-authored-by: Hanzo Dev <[email protected]>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
---
|
|
###############################################################################
|
|
# IngressRoutes: MPC (lux-k8s)
|
|
# TLS via hanzoai/ingress ACME certResolver with Cloudflare DNS challenge.
|
|
#
|
|
# NOTE: Must use hanzo.ai/v1alpha1 IngressRoute CRD (NOT standard K8s Ingress).
|
|
# lux-k8s uses hanzo.ai CRD group.
|
|
#
|
|
# DNS: mpc.lux.network -> 134.199.138.27 (lux-k8s hanzoai/ingress LB)
|
|
# Cluster: lux-k8s (lux-k8s)
|
|
###############################################################################
|
|
|
|
# mpc.lux.network -> mpc-dashboard-svc:3000 (Next.js dashboard)
|
|
# mpc-api.lux.network -> mpc-api-svc:8081 (Go API server)
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: lux-mpc
|
|
namespace: lux-mpc
|
|
labels:
|
|
app: lux-mpc
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`mpc.lux.network`)
|
|
services:
|
|
- name: mpc-dashboard-svc
|
|
port: 3000
|
|
- kind: Rule
|
|
match: Host(`mpc-api.lux.network`)
|
|
services:
|
|
- name: mpc-api-svc
|
|
port: 8081
|
|
tls:
|
|
certResolver: letsencrypt
|
|
domains:
|
|
- main: mpc.lux.network
|
|
- main: mpc-api.lux.network
|