859 Commits

Author SHA1 Message Date
Rodolphe Marques
6f916d5781 Fixed documentation about transactions endpoint. (#1360)
* Fixed documentation about transactions endpoint.

* clarify how bigchaindb handles invalid transactions

* rephrase
2017-04-04 11:25:26 +02:00
Sylvain Bellemare
57d3770564 Add missing underline title characters 2017-04-03 11:21:32 +02:00
Lavina
e7b0b227f1 Rename bigchain.py command module to bigchaindb.py 2017-04-03 11:21:32 +02:00
Troy McConaghy
f5a32e35c5 docs: 1st draft of page about updating all s/w on a BDB node on k8s 2017-03-23 18:21:55 +01:00
Sylvain Bellemare
b42264e27e Add commands subpackage documentation 2017-03-22 16:35:24 +01:00
Rodolphe Marques
510e03ea80 Merge pull request #1322 from bigchaindb/feat/356/limit-cc-complexity
Clarify allowed maximum complexity of conditions
2017-03-22 15:50:55 +01:00
Rodolphe Marques
f98a634d65 clarify allowed maximum complexity of conditions 2017-03-22 14:37:37 +01:00
Krish
425397f644 NGINX frontend for MongoDB and BigchainDB (#1304)
- Added NGINX deployment to frontend both BDB and MDB.
- Nginx is configured with a whitelist (which is read from a ConfigMap)
to allow only other MDB nodes in the closter to communicate with it.
- Azure LB apparently does not support proxy protocol and hence
whitelisting fails as nginx always observer the LB IP instead of the
real IP in the TCP stream.
- Whitelisting source IPs for MongoDB
- Removing deprecated folder
- Better log format
- Intuitive port number usage
- README and examples
- Addressed a typo in PYTHON_STYLE_GUIDE.md
- Azure LB apparently does not support proxy protocol and hence
whitelisting fails as nginx always observer the LB IP instead of the
real IP in the TCP stream.
- Whitelisting source IPs for MongoDB
- Removing deprecated folder
- Multiple changes:
- Better log format
- Intuitive port number usage
- README and examples
- Addressed a typo in PYTHON_STYLE_GUIDE.md
- Documentation
- add the k8s directory to the ignore list in codecov.yml
2017-03-22 14:25:25 +01:00
Sylvain Bellemare
9987041ac0 Add note about case insensitivity of log levels 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
45ae58448f Correct wording 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
3a81270101 Add link to configuration file settings 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
4338637983 Add docs for allowed log levels for cmd line 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
d867983a89 Document cmd line option for the log level 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
05db44a636 Add documentation for log configuration 2017-03-21 16:17:32 +01:00
Troy McConaghy
9aa243c9f8 Merge pull request #1300 from bigchaindb/update-copyright-year-in-docs
Updated copyright year in docs footers
2017-03-20 09:38:24 +01:00
Troy McConaghy
3e0b4e7b90 Merge pull request #1301 from bigchaindb/rm-docs-load-testing-with-docker
Removed docs re: load testing with Docker
2017-03-18 22:24:04 +01:00
Troy McConaghy
da92d1e1c2 Merge branch 'master' into change-federation-to-consortium 2017-03-17 13:51:28 +01:00
Troy McConaghy
10365bae52 docs: removed docs re load testing w/ Docker 2017-03-17 13:40:06 +01:00
Troy McConaghy
ff132a9464 Updated copyright year in docs footers 2017-03-17 09:28:16 +01:00
Troy McConaghy
7aa94447cd docs: copyedited 2 pages re/ node on k8s 2017-03-16 14:42:32 +01:00
Krish
ea6ce5c1a1 Single node/cluster bootstrap and node addition workflow in k8s (#1278)
* 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
2017-03-15 16:22:49 +01:00
Troy McConaghy
a9f0f9de54 Merge pull request #1261 from bigchaindb/rm-bigchaindb-load-stuff-from-aws-scripts
Removed all stuff related to 'bigchaindb load' in AWS scripts
2017-03-15 16:19:13 +01:00
Troy McConaghy
4daeff28f8 Tip for az acs kubernetes get-credentials...
Added a tip for when `$ az acs kubernetes get-credentials...` command gives an error after you enter the correct password.
2017-03-14 20:23:46 +01:00
Troy McConaghy
270fed04c7 Merge pull request #1273 from bigchaindb/rm-bigchaindb-load-command
Remove 'bigchaindb load' command, tests & docs
2017-03-14 17:35:15 +01:00
Troy McConaghy
1de7ae1104 Merge pull request #1260 from bigchaindb/remove-old-topic-guides-section-from-server-docs
Removed the old 'Topic Guides' section from the BigchainDB Server docs
2017-03-13 14:18:07 +01:00
Troy McConaghy
042133faf8 removed docs about 'bigchaindb load' command 2017-03-11 14:00:01 +01:00
Troy McConaghy
646859f1d6 revised docs re/ SSHing to nodes in a k8s cluster 2017-03-10 11:47:58 +01:00
Krish
7dbd374838 Running a single node on k8s (#1269)
* Single node as a StatefulSet in k8s
- uses bigchaindb/bigchaindb:0.9.1

* Updating README

* rdb, mdb as stateful services

* [WIP] bdb as a statefulset

* [WIP] bdb w/ rdb and bdb w/ mdb backends
- does not work as of now

* Split mdb & bdb into separate pods + enhancements
*  discovery of the mongodb service by the bdb pod by using dns name.
*  using separate storage classes to map 2 different volumes exposed by the
mongo docker container; one for /data/db (dbPath) and the other for
 /data/configdb (configDB).
*  using the `persistentVolumeReclaimPolicy: Retain` in k8s pvc. However,
this seems to be unsupported in Azure and the disks still show a reclaim
policy of `delete`.
*  mongodb container runs the `mongod` process as user `mongodb` and group
`mongodb. The corresponding `uid` and `gid` for the `mongod` process is 999
and 999 respectively. When the constinaer runs on a host with a mounted disk,
the writes fail, when there is no user with uid 999. To avoid this, I use the
docker provided feature of --cap-add=FOWNER in k8s. This bypasses the uid and
gid permission checks during writes and allows writes.
Ref: https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities

* Delete redundant k8s files, add cluster deletion steps.

* Single node as a StatefulSet in k8s
- uses bigchaindb/bigchaindb:0.9.1

* Updating README

* rdb, mdb as stateful services

* [WIP] bdb as a statefulset

* [WIP] bdb w/ rdb and bdb w/ mdb backends
- does not work as of now

* Split mdb & bdb into separate pods + enhancements
*  discovery of the mongodb service by the bdb pod by using dns name.
*  using separate storage classes to map 2 different volumes exposed by the
mongo docker container; one for /data/db (dbPath) and the other for
 /data/configdb (configDB).
*  using the `persistentVolumeReclaimPolicy: Retain` in k8s pvc. However,
this seems to be unsupported in Azure and the disks still show a reclaim
policy of `delete`.
*  mongodb container runs the `mongod` process as user `mongodb` and group
`mongodb. The corresponding `uid` and `gid` for the `mongod` process is 999
and 999 respectively. When the constinaer runs on a host with a mounted disk,
the writes fail, when there is no user with uid 999. To avoid this, I use the
docker provided feature of --cap-add=FOWNER in k8s. This bypasses the uid and
gid permission checks during writes and allows writes.
Ref: https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities

* Delete redundant k8s files, add cluster deletion steps.

* Documentation: running a single node with distinct mongodb and bigchaindb
pods on k8s

* Updates as per @ttmc's comments
2017-03-09 16:53:00 +01:00
Troy McConaghy
421b5b03b3 Changed 'federation' to 'cluster' or 'consortium' in docs and some code 2017-03-07 17:41:25 +01:00
Troy McConaghy
ca21c7b321 Remove all stuff related to 'bigchaindb load' in AWS scripts 2017-03-07 16:14:39 +01:00
Troy McConaghy
d3bd9d0300 Server docs: Removed the old 'Topic Guides' section 2017-03-07 11:43:49 +01:00
Troy McConaghy
33deff8760 docs: add instructions to deploy MongoDB & BigchainDB on k8s cluster 2017-03-05 17:49:00 +01:00
Troy McConaghy
0ffa93cd44 docs: fixed typo; changed 2Gi to 20Gi in kubectl cmd output 2017-03-05 17:23:42 +01:00
Troy McConaghy
77fc3fbc4e Merge pull request #1226 from bigchaindb/docs-re-k8s-persistent-storage
Docs on BDB Node Storage Setup in an Existing Kubernetes Cluster
2017-03-03 10:29:49 +01:00
Krish
dc9f93dfbc Enhancements to run with docker locally (#1239) 2017-03-03 10:29:30 +01:00
Troy McConaghy
4e32a492b1 docs: changed PersistentVolumeClaim from 2Gi to 20Gi 2017-03-01 16:26:57 +01:00
Troy McConaghy
77c6b138a8 expanded docs re/ Azure storage accounts & ACS 2017-03-01 15:49:20 +01:00
Troy McConaghy
35ee6e5539 docs: add instructions to update az command 2017-03-01 13:35:31 +01:00
Troy McConaghy
cc8916d782 Merge remote-tracking branch 'origin/master' into docs-re-k8s-persistent-storage 2017-03-01 11:32:44 +01:00
Troy McConaghy
f2f1ee8ef1 docs: create k8s StorageClass & PVC 2017-02-28 19:08:13 +01:00
Troy McConaghy
6821170fcd docs: rm paren. sentence re/ deploying an ACS 2017-02-28 13:58:44 +01:00
Troy McConaghy
b3e697f05b docs: can SSH to k8s agent via master using private hostname 2017-02-28 11:25:57 +01:00
Troy McConaghy
ffb1d7a624 Docs on using special SSH keypair with ACS/Kubernetes 2017-02-27 15:29:49 +01:00
libscott
c9ba7e6243 Merge branch 'master' into master 2017-02-22 12:20:35 +01:00
Krish
306053af91 Adding a line to modify the configuration file (#1205)
* Adding a line to modify the configuration file

* Changing the access URL for rethinkdb

* Typo fix and with clarification

* Changes as per @ttmc's comments
2017-02-22 10:56:29 +01:00
Troy McConaghy
7a63771c2b Merge pull request #1201 from bigchaindb/fix-quickstart-link
Docs: Improvements to the Quickstart page
2017-02-21 18:19:31 +01:00
Troy McConaghy
39f66650ed Merge pull request #1195 from bigchaindb/expand-docs-re-block-signature
Docs: clarified how block id & signature are calculated
2017-02-21 18:18:16 +01:00
Troy McConaghy
87f677d76e docs: correction to explanation of block signature calc. 2017-02-21 14:20:14 +01:00
Troy McConaghy
34286467b7 docs: removed all RethinkDB stuff from Quickstart page 2017-02-20 18:04:47 +01:00
Troy McConaghy
5e8cec65cd docs: Simplified Quickstart page even more 2017-02-20 17:52:48 +01:00