planetmint/k8s/planetmint/planetmint-ext-conn-svc.yaml
2022-01-20 08:13:25 +00:00

28 lines
695 B
YAML

# Copyright © 2020 Interplanetary Database Association e.V.,
# Planetmint and IPDB software contributors.
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
# Code is Apache-2.0 and docs are CC-BY-4.0
apiVersion: v1
kind: Service
metadata:
# Name of Planetmint instance you are trying to connect to
# name: "bdb-instance-0"
name: "<remote-bdb-host>"
namespace: default
spec:
ports:
spec:
ports:
- port: 26656
name: p2p
- port: 26657
name: pubkey
- port: 9986
name: nginx
type: ExternalName
# FQDN of remote cluster/NGINX instance
#externalName: "nginx-instance-for-bdb-instance-0.westeurope.cloudapp.azure.com"
externalName: "<dns-name-remote-nginx>"