ingress.yaml 408 B

123456789101112131415161718
  1. # deploy this ingress with kubectl:
  2. # kubectl apply -f ingress.yaml --namespace NAMESPACE_NAME
  3. apiVersion: networking.k8s.io/v1
  4. kind: Ingress
  5. metadata:
  6. name: ws-rpc-ingress
  7. spec:
  8. rules:
  9. - http:
  10. paths:
  11. # rpc node websocket endpoint
  12. - pathType: Prefix
  13. path: /ws-rpc
  14. backend:
  15. service:
  16. name: node-network
  17. port:
  18. name: port-1