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]>
102 lines
2.8 KiB
YAML
102 lines
2.8 KiB
YAML
---
|
|
###############################################################################
|
|
# IngressRoutes: Lux Explorer (all networks)
|
|
# 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: *.lux.network wildcard A record -> 134.199.138.27 (lux-k8s hanzoai/ingress LB)
|
|
# Mainnet is DNS-only (not proxied).
|
|
# Cluster: lux-k8s (lux-k8s)
|
|
# Ingress: hanzo-ingress DaemonSet in lux-system namespace
|
|
###############################################################################
|
|
|
|
# Mainnet
|
|
# explore.lux.network -> lux-frontend-mainnet:3000
|
|
# api-explore.lux.network -> explorer-mainnet:4000
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: lux-explorer-mainnet
|
|
namespace: lux-explorer
|
|
labels:
|
|
app: lux-explorer
|
|
network: mainnet
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`explore.lux.network`)
|
|
services:
|
|
- name: lux-frontend-mainnet
|
|
port: 3000
|
|
- kind: Rule
|
|
match: Host(`api-explore.lux.network`)
|
|
services:
|
|
- name: explorer-mainnet
|
|
port: 4000
|
|
tls:
|
|
certResolver: letsencrypt
|
|
---
|
|
# Testnet
|
|
# explore-test.lux.network -> lux-frontend-testnet:3000
|
|
# api-explore-test.lux.network -> lux-indexer-testnet:4000
|
|
# NOTE: Old Blockscout backend (explorer-testnet) replaced by Go indexer.
|
|
# Service name updated to match indexer-testnet.yaml deployment.
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: lux-explorer-testnet
|
|
namespace: lux-explorer
|
|
labels:
|
|
app: lux-explorer
|
|
network: testnet
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`explore-test.lux.network`)
|
|
services:
|
|
- name: lux-frontend-testnet
|
|
port: 3000
|
|
- kind: Rule
|
|
match: Host(`api-explore-test.lux.network`)
|
|
services:
|
|
- name: lux-indexer-testnet
|
|
port: 4000
|
|
tls:
|
|
certResolver: letsencrypt
|
|
---
|
|
# Devnet
|
|
# explore-dev.lux.network -> lux-frontend-devnet:3000
|
|
# api-explore-dev.lux.network -> lux-indexer-devnet:4000
|
|
# NOTE: Old Blockscout backend (explorer-devnet) replaced by Go indexer.
|
|
# Service name updated to match indexer-devnet.yaml deployment.
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: lux-explorer-devnet
|
|
namespace: lux-explorer
|
|
labels:
|
|
app: lux-explorer
|
|
network: devnet
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`explore-dev.lux.network`)
|
|
services:
|
|
- name: lux-frontend-devnet
|
|
port: 3000
|
|
- kind: Rule
|
|
match: Host(`api-explore-dev.lux.network`)
|
|
services:
|
|
- name: lux-indexer-devnet
|
|
port: 4000
|
|
tls:
|
|
certResolver: letsencrypt
|