mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge branch 'k8s-node' of github.com:bigchaindb/bigchaindb into local-k8s-node
This commit is contained in:
commit
b9e5bc84d9
@ -34,38 +34,34 @@ spec:
|
|||||||
name: bdb
|
name: bdb
|
||||||
labels:
|
labels:
|
||||||
app: bdb
|
app: bdb
|
||||||
annotations:
|
|
||||||
pod.beta.kubernetes.io/init-containers: '[
|
|
||||||
{
|
|
||||||
"name": "bdb-configure",
|
|
||||||
"image": "bigchaindb/bigchaindb:latest",
|
|
||||||
"command": ["bigchaindb", "-y", "configure", "rethinkdb"],
|
|
||||||
"volumeMounts": [
|
|
||||||
{
|
|
||||||
"name": "bigchaindb-data",
|
|
||||||
"mountPath": "/data"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]'
|
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 10
|
terminationGracePeriodSeconds: 10
|
||||||
containers:
|
containers:
|
||||||
- name: bdb-server
|
- name: bdb-server
|
||||||
image: bigchaindb/bigchaindb:latest
|
image: bigchaindb/bigchaindb:latest
|
||||||
args:
|
args:
|
||||||
- -c
|
|
||||||
- /data/.bigchaindb
|
|
||||||
- start
|
- start
|
||||||
|
env:
|
||||||
|
- name: BIGCHAINDB_KEYPAIR_PRIVATE
|
||||||
|
value: 56mEvwwVxcYsFQ3Y8UTFB8DVBv38yoUhxzDW3DAdLVd2
|
||||||
|
- name: BIGCHAINDB_KEYPAIR_PUBLIC
|
||||||
|
value: 9DsHwiEtvk51UHmNM2eV66czFha69j3CdtNrCj1RcZWR
|
||||||
|
- name: BIGCHAINDB_KEYRING
|
||||||
|
value: ""
|
||||||
|
- name: BIGCHAINDB_DATABASE_BACKEND
|
||||||
|
value: rethinkdb
|
||||||
|
- name: BIGCHAINDB_DATABASE_PORT
|
||||||
|
value: "28015"
|
||||||
|
- name: BIGCHAINDB_DATABASE_HOST
|
||||||
|
value: localhost
|
||||||
|
- name: BIGCHAINDB_SERVER_BIND
|
||||||
|
value: "0.0.0.0:9984"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9984
|
- containerPort: 9984
|
||||||
hostPort: 9984
|
hostPort: 9984
|
||||||
name: bdb-port
|
name: bdb-port
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
|
||||||
- name: bigchaindb-data
|
|
||||||
mountPath: /data
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
@ -115,9 +111,6 @@ spec:
|
|||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: bigchaindb-data
|
|
||||||
hostPath:
|
|
||||||
path: /disk/bigchaindb-data
|
|
||||||
- name: rdb-data
|
- name: rdb-data
|
||||||
hostPath:
|
persistentVolumeClaim:
|
||||||
path: /disk/rdb-data
|
claimName: mongoclaim
|
||||||
|
Loading…
x
Reference in New Issue
Block a user