mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 23:41:22 +00:00
81c2e4e94b
* first pass on pow faucet for testnet * delete unused thing * remove unneeded thing * remove other thing * https & remove a log * don't force redirect on https, its not working? * some renaming of stuff * lint * lint * some stablity config * move protos to proto directory, add generated pb file for go users * add health probe * add hpa and request cpu * handle err * some more config
72 lines
1.4 KiB
YAML
72 lines
1.4 KiB
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: public-rpc-nodes
|
|
namespace: pow
|
|
spec:
|
|
selector:
|
|
component: public-rpc-node
|
|
universe: geth
|
|
ports:
|
|
- port: 8545
|
|
targetPort: 8545
|
|
name: http-rpc
|
|
protocol: TCP
|
|
- port: 8546
|
|
targetPort: 8546
|
|
name: http-ws
|
|
protocol: TCP
|
|
- port: 8547
|
|
targetPort: 8547
|
|
name: http-graphql
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
kind: VirtualService
|
|
metadata:
|
|
name: goerli-prylabs-net
|
|
namespace: istio-system
|
|
spec:
|
|
hosts:
|
|
- goerli.prylabs.net
|
|
gateways:
|
|
- prylabs-wildcard-gateway
|
|
http:
|
|
- match:
|
|
- uri:
|
|
prefix: /websocket
|
|
route:
|
|
- destination:
|
|
port:
|
|
number: 8546
|
|
host: public-rpc-nodes.pow.svc.cluster.local
|
|
websocketUpgrade: true
|
|
- match:
|
|
- uri:
|
|
prefix: /graphql
|
|
route:
|
|
- destination:
|
|
port:
|
|
number: 8547
|
|
host: public-rpc-nodes.pow.svc.cluster.local
|
|
- match: # Must be last
|
|
- uri:
|
|
prefix: /
|
|
route:
|
|
- destination:
|
|
port:
|
|
number: 8545
|
|
host: public-rpc-nodes.pow.svc.cluster.local
|
|
---
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
kind: DestinationRule
|
|
metadata:
|
|
name: public-rpc-nodes
|
|
namespace: pow
|
|
spec:
|
|
host: public-rpc-nodes.pow.svc.cluster.local
|
|
trafficPolicy:
|
|
loadBalancer:
|
|
consistentHash:
|
|
useSourceIp: true
|