prysm-pulse/k8s/nginx/nginx-config.yaml
Preston Van Loon 740a9b76a7
Kubernetes - Part 3 of ?? (#981)
* Add nginx ingress for proof-of-work namespace

* connect beacon-chain to pow namespace geth-nodes for websocket connections

* Added relay to beacon-chain

* Route inbound TCP traffic on port 20000 to beacon-relay

* Add bootnode

* Add a basic pk

* checkpoint

* Added flag for p2p port

* Register flag with main

* Set P2P port specifically

* Add beacon chain config

* add deployvrc job

* Add deployvrc service account

* review

* gazelle

* a cluster is needed, i guess
2018-11-28 00:27:21 -05:00

25 lines
488 B
YAML

kind: ConfigMap
apiVersion: v1
metadata:
name: nginx-config
namespace: nginx-ingress
data:
stream-snippets: |
upstream beacon-chain-relay-tcp {
server relay.beacon-chain.svc.cluster.local:4000;
}
server {
listen 20000;
proxy_pass beacon-chain-relay-tcp;
}
upstream beacon-chain-bootnode-tcp {
server bootnode.beacon-chain.svc.cluster.local:4000;
}
server {
listen 20001;
proxy_pass beacon-chain-bootnode-tcp;
}