-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathingress.yaml
34 lines (34 loc) · 903 Bytes
/
ingress.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: testnet-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-read-timeout: "6000"
nginx.ingress.kubernetes.io/proxy-send-timeout: "6000"
nginx.ingress.kubernetes.io/websocket-services: "rpc-node-rpc-ws"
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
tls:
- hosts:
- wsstestnet2.opticonomy.com
secretName: rpc-tls
rules:
- host: wsstestnet2.opticonomy.com
http:
paths:
- path: /rpc
pathType: Prefix
backend:
service:
name: rpc-node-rpc-ws
port:
number: 9953
- path: /ws
pathType: Prefix
backend:
service:
name: rpc-node-rpc-ws
port:
number: 9964