mirror of
https://github.com/hanzoai/gateway.git
synced 2026-11-02 23:52:23 +00:00
ZAP binary protocol duplex RPC standardizes on :9999 across every service. Lux validator staking/RPC ports (9630/9631 mainnet, 9650/9651 devnet) are unchanged — those are luxd network protocol ports, not ZAP. One ZAP port everywhere (was a mix of 9651/9652/9653/9633/9900).
64 lines
1.3 KiB
YAML
64 lines
1.3 KiB
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: gateway
|
|
namespace: hanzo
|
|
spec:
|
|
selector:
|
|
app: gateway
|
|
ports:
|
|
- name: http
|
|
port: 8080
|
|
targetPort: 8080
|
|
- name: zap
|
|
port: 9999
|
|
targetPort: 9999
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: hanzo-ingress
|
|
namespace: hanzo
|
|
annotations:
|
|
service.beta.kubernetes.io/do-loadbalancer-disable-lets-encrypt-dns-records: "true"
|
|
service.beta.kubernetes.io/do-loadbalancer-name: hanzo-ingress
|
|
service.beta.kubernetes.io/do-loadbalancer-size-unit: "1"
|
|
labels:
|
|
app: hanzo-ingress
|
|
spec:
|
|
selector:
|
|
app: gateway
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
targetPort: 8080
|
|
protocol: TCP
|
|
- name: https
|
|
port: 443
|
|
targetPort: 8080
|
|
protocol: TCP
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
---
|
|
# Dedicated TCP LoadBalancer for ZAP binary protocol.
|
|
# DNS: zap.hanzo.ai → this LB's external IP.
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: zap-ingress
|
|
namespace: hanzo
|
|
annotations:
|
|
service.beta.kubernetes.io/do-loadbalancer-name: zap-ingress
|
|
service.beta.kubernetes.io/do-loadbalancer-size-unit: "1"
|
|
spec:
|
|
selector:
|
|
app: gateway
|
|
ports:
|
|
- name: zap
|
|
port: 9999
|
|
targetPort: 9999
|
|
protocol: TCP
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|