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

* Problem: Source files contain no license info Solution: Add comments with SPDX license info to source files * Python 3 files don't need # -*- coding: utf-8 -*-
33 lines
955 B
YAML
33 lines
955 B
YAML
# Copyright BigchainDB GmbH and BigchainDB 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: ngx-instance-0
|
|
namespace: default
|
|
labels:
|
|
name: ngx-instance-0
|
|
annotations:
|
|
# NOTE: the following annotation is a beta feature and
|
|
# only available in GCE/GKE and Azure as of now
|
|
service.beta.kubernetes.io/external-traffic: OnlyLocal
|
|
spec:
|
|
selector:
|
|
app: ngx-instance-0-dep
|
|
ports:
|
|
- port: "<node-frontend-port from ConfigMap>"
|
|
targetPort: "<node-frontend-port from ConfigMap>"
|
|
name: public-node-port
|
|
protocol: TCP
|
|
- port: "<tm-pub-key-access from ConfigMap>"
|
|
targetPort: "<tm-pub-key-access from ConfigMap>"
|
|
name: tm-pub-key-access
|
|
protocol: TCP
|
|
- port: "<tm-p2p-port from ConfigMap>"
|
|
targetPort: "<tm-p2p-port from ConfigMap>"
|
|
protocol: TCP
|
|
name: tm-p2p-port
|
|
type: LoadBalancer
|