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
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: public-faucet
|
|
namespace: pow
|
|
spec:
|
|
selector:
|
|
component: public-faucet
|
|
ports:
|
|
- port: 8000
|
|
targetPort: 8000
|
|
name: grpc-web-port
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
kind: VirtualService
|
|
metadata:
|
|
name: api-prylabs-net
|
|
namespace: istio-system
|
|
spec:
|
|
hosts:
|
|
- api.prylabs.net
|
|
gateways:
|
|
- prylabs-wildcard-gateway
|
|
http:
|
|
- route:
|
|
- destination:
|
|
port:
|
|
number: 8000
|
|
host: public-faucet.pow.svc.cluster.local
|
|
corsPolicy:
|
|
allowOrigin:
|
|
- "*"
|
|
allowMethods:
|
|
- POST
|
|
- GET
|
|
- OPTIONS
|
|
- PUT
|
|
- DELETE
|
|
allowHeaders:
|
|
- grpc-timeout
|
|
- content-type
|
|
- keep-alive
|
|
- user-agent
|
|
- cache-control
|
|
- content-type
|
|
- content-transfer-encoding
|
|
- x-accept-content-transfer-encoding
|
|
- x-accept-response-streaming
|
|
- x-user-agent
|
|
- x-grpc-web
|
|
maxAge: 1728s
|
|
exposeHeaders:
|
|
- grpc-status
|
|
- grpc-message
|