mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

Description Currently we manually configure ports in deployment and service files for k8s deployment e.g here. Instead these ports should be constant since these are always the same for each deployment Issues This PR Fixes Fixes #2077
18 lines
356 B
YAML
18 lines
356 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
# Name of tendermint instance you are trying to connect to
|
|
# e.g. tm-instance-0
|
|
name: "<remote-tendermint-host>"
|
|
namespace: default
|
|
spec:
|
|
ports:
|
|
spec:
|
|
ports:
|
|
- port: 46656
|
|
name: p2p
|
|
- port: 46657
|
|
name: pubkey
|
|
# FQDN of remote cluster/NGINX instance
|
|
externalName: "<dns-name-remote-nginx>"
|