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

* Combining configs * Combining the persistent volume claims into a single file. * Combining the storage classes into a single file. * Updating documentation * Multiple changes * Support for ConfigMap * Custom MongoDB container for BigchainDB * Update documentation to run a single node on k8s * Additional documentation * Documentation to add a node to an existing BigchainDB cluster * Commit on rolling upgrades * Fixing minor documentation mistakes * Documentation updates as per @ttmc's comments * Block formatting error * Change in ConfigMap yaml config
36 lines
1015 B
YAML
36 lines
1015 B
YAML
###########################################################
|
|
# This section file desribes a k8s pvc for mongodb dbPath #
|
|
###########################################################
|
|
kind: PersistentVolumeClaim
|
|
apiVersion: v1
|
|
metadata:
|
|
name: mongo-db-claim
|
|
annotations:
|
|
volume.beta.kubernetes.io/storage-class: slow-db
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
# FIXME(Uncomment when ACS supports this!)
|
|
# persistentVolumeReclaimPolicy: Retain
|
|
resources:
|
|
requests:
|
|
storage: 20Gi
|
|
---
|
|
#############################################################
|
|
# This YAML section desribes a k8s pvc for mongodb configDB #
|
|
#############################################################
|
|
kind: PersistentVolumeClaim
|
|
apiVersion: v1
|
|
metadata:
|
|
name: mongo-configdb-claim
|
|
annotations:
|
|
volume.beta.kubernetes.io/storage-class: slow-configdb
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
# FIXME(Uncomment when ACS supports this!)
|
|
# persistentVolumeReclaimPolicy: Retain
|
|
resources:
|
|
requests:
|
|
storage: 1Gi
|