mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
minor changes to 2 yml files + added RDB intracluster port
This commit is contained in:
parent
93d06b4e2a
commit
880729cac2
@ -1,6 +1,8 @@
|
|||||||
##################################################################
|
#################################################################
|
||||||
# This config file uses bdb:latest with a spearate mongodb:3.4.1 #
|
# This YAML file desribes a StatefulSet with two containers: #
|
||||||
##################################################################
|
# bigchaindb/bigchaindb:latest and mongo:3.4.1 #
|
||||||
|
# It also describes a Service to expose BigchainDB and MongoDB. #
|
||||||
|
#################################################################
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
@ -18,7 +20,7 @@ spec:
|
|||||||
name: bdb-http-api
|
name: bdb-http-api
|
||||||
- port: 27017
|
- port: 27017
|
||||||
targetPort: 27017
|
targetPort: 27017
|
||||||
name: bdb-mdb-port
|
name: mongodb-port
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1beta1
|
apiVersion: apps/v1beta1
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
##################################################################
|
##############################################################
|
||||||
# This config file uses bdb:latest with a spearate rethinkdb:2.3 #
|
# This YAML file desribes a StatefulSet with two containers: #
|
||||||
##################################################################
|
# bigchaindb/bigchaindb:latest and rethinkdb:2.3 #
|
||||||
|
# It also describes a Service to expose BigchainDB, #
|
||||||
|
# the RethinkDB intracluster communications port, and #
|
||||||
|
# the RethinkDB web interface port. #
|
||||||
|
##############################################################
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
@ -16,9 +20,12 @@ spec:
|
|||||||
- port: 9984
|
- port: 9984
|
||||||
targetPort: 9984
|
targetPort: 9984
|
||||||
name: bdb-http-api
|
name: bdb-http-api
|
||||||
|
- port: 29015
|
||||||
|
targetPort: 29015
|
||||||
|
name: rdb-intracluster-comm-port
|
||||||
- port: 8080
|
- port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
name: bdb-rethinkdb-api
|
name: rdb-web-interface-port
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1beta1
|
apiVersion: apps/v1beta1
|
||||||
@ -56,6 +63,10 @@ spec:
|
|||||||
value: "28015"
|
value: "28015"
|
||||||
- name: BIGCHAINDB_SERVER_BIND
|
- name: BIGCHAINDB_SERVER_BIND
|
||||||
value: "0.0.0.0:9984"
|
value: "0.0.0.0:9984"
|
||||||
|
- name: BIGCHAINDB_DATABASE_NAME
|
||||||
|
value: bigchain
|
||||||
|
- name: BIGCHAINDB_BACKLOG_REASSIGN_DELAY
|
||||||
|
value: "120"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9984
|
- containerPort: 9984
|
||||||
@ -84,7 +95,11 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
hostPort: 8080
|
hostPort: 8080
|
||||||
name: rdb-http-port
|
name: rdb-web-interface-port
|
||||||
|
protocol: TCP
|
||||||
|
- containerPort: 29015
|
||||||
|
hostPort: 29015
|
||||||
|
name: rdb-intra-port
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- containerPort: 28015
|
- containerPort: 28015
|
||||||
hostPort: 28015
|
hostPort: 28015
|
||||||
|
Loading…
x
Reference in New Issue
Block a user