Files
gateway/k8s/hanzo/service.yaml
zeekay aa12877d71 infra: standardize ZAP duplex port to 9999
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).
2026-04-25 15:35:02 -07:00

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