88 Commits

Author SHA1 Message Date
Ahmed Muawia Khan
fd48abebae
Problem: Tendermint 0.19.0 missing crucial fixes (#2253) 2018-05-02 14:39:41 +02:00
Ahmed Muawia Khan
5ce0538c61 Problem: Old --p2p.seeds is now --p2p.persistent_peers (#2249)
Solution
As per Tendermint 0.16.0 , --p2p.seeds is now --p2p.persistent_peers. Update bigchaindb/tendermint container to use that configuration. Also disable --p2p.pex, we currently don't want the peer exchange.
2018-04-30 17:42:14 +02:00
Ahmed Muawia Khan
dbabe94887 Problem: BigchainDB and Tendermint inconsistencies because disjoint services (#2242)
Solution
Since BigchainDB and Tendermint are so tightly coupled we need to introduce a process supervisor to make them act like a single microservice, so that if BigchainDB crashes, Tendermint does as well and both are restarted and Tendermint requests a connection towards the proxy app.

In Kubernetes, they can be exposed as part of a one POD.
For BigchainDB as a system service/process, we need to introduce a process supervisor such as systemd.
This PR only solves the former.

Changes
Upgrade deployment from Tendermint v0.12.0 to v0.19.0
Update some documentation
Fix nginx-http entrypoint issues.
Update generate-configs.sh script to handle config generation without https-certificates.
Update Dockerfile to process dependency links introduced by abci
Integrate BigchainDB and Tendermint as a single microservice.
This required making BigchainDB to be exposed as a statefulset.
Introduce new liveness probe checks.
Issues Resolved
Partially fixes #2232
2018-04-27 15:54:47 +02:00
Ahmed Muawia Khan
8c1ee8329e Problem: Typo with get kube-dns IP (#2181) 2018-04-05 17:56:30 +02:00
Ahmed Muawia Khan
5162a0a163 Problem: Invalid command to get kube-dns IP 2018-03-27 19:44:00 +02:00
Ahmed Muawia Khan
a8e68c3706 Replace clusters Web UI to k8s cluster web ui 2018-03-26 16:00:25 +02:00
Ahmed Muawia Khan
339078ae68 Address comments
- remove confusion between NODE-IP<->CLUSTER-IP just replace with IP
- remove confusion between node<->cluster just replace with Kubernetes
  cluster
2018-03-26 15:37:05 +02:00
Ahmed Muawia Khan
cf543d8f41 Problem: docs build failing
Solution: Fix docs build
2018-03-21 11:15:25 +01:00
Ahmed Muawia Khan
757b4fc14c Remove cluster-dns 2018-03-20 19:34:01 +01:00
Troy McConaghy
c2fd9e7b7b
Merge pull request #2113 from bigchaindb/rm-stand-alone
Problem: The node-on-kubernetes docs aren't just for a "stand-alone" node
2018-03-05 12:28:34 +01:00
Troy McConaghy
6ee8224491
Merge pull request #2112 from bigchaindb/revise-azure-acs-page
Problem: User gets error about "Service Principal" when they try to deploy a k8s cluster on Azure
2018-03-05 12:27:44 +01:00
Troy McConaghy
7acdb1a565
Problem: The docs aren't just for a "stand-alone" node
Solution: Remove "stand-alone"
2018-03-04 19:34:18 +01:00
Troy McConaghy
5f206acc63 Revised docs re az acs create 2018-03-04 14:36:55 +01:00
Troy McConaghy
95b4647a22 Added instructions for including secret token header in POST requests 2018-03-03 19:15:01 +01:00
Troy McConaghy
74d86cc83e Add example secret token 2018-03-03 15:02:45 +01:00
Troy McConaghy
2304f8cd10 Revisions to Overview page in prod dep. template 2018-03-03 14:55:31 +01:00
Ahmed Muawia Khan
4c6ac6bd19 Update production deployment template after v1 automation 2018-02-27 13:26:51 +01:00
Troy McConaghy
3d0720ce42 Revised intro of Overview page in prod dep template docs 2018-02-27 00:37:59 +01:00
Ahmed Muawia Khan
7cea7298f0 Update mongodb user configuration
- Update docs for azure cluster deployment template
- Update entrypoint for MongoDB to handle user configuration
  more efficiently
- remove `use admin` in js file, that is an invalid format
2018-02-26 14:45:21 +01:00
muawiakh
a4ac9cf308 Address comments
- Update docs for better readability
2018-02-12 14:35:02 +01:00
muawiakh
320e09dee3 Resolved merge conflicts again 2018-02-08 15:57:37 +01:00
muawiakh
b68c0ccbc0 Addressing comments and removing *-tm* or *-tmt* references 2018-02-08 15:48:45 +01:00
Troy McConaghy
1ba9233310 tendermint-instance-? --> tm-instance-? 2018-02-08 14:52:45 +01:00
Troy McConaghy
8945dd2332 Re-org headings in Prod. Dep. Template - Overview page 2018-02-08 14:20:50 +01:00
muawiakh
6052043a03 Remove unwanted references 2018-02-08 12:17:40 +01:00
muawiakh
03219a9371 Remove references from BigchainDB 1.x deployment strategy
- Remove references from existing deployment model
- Address comments, fix typos, minor structure changes.
2018-02-08 11:54:57 +01:00
muawiakh
14892fc839 Template for BigchainDB + Tendermint Kubernetes Deployment
- Template doc for BigchainDB + Tendermint single node
- Template doc for BigchainDB + Tendermint network
- Remove autosectionlabel extension from docs/server/source/conf.py
  - Removed this extension because this does not allow two different
    documents to have same headings, because it auto-indexes
- Fix and explicitly label headings and references.
2018-01-10 14:20:32 +01:00
muawiakh
1eb8764e4a Update deployment with tectonic documentation
- Add details about CA configuration
- Update storage class template
2017-11-16 12:44:21 +01:00
Shahbaz Nazir
0a8bf89bc6 Add workflow to retain Azure storage disks on PVC or PV delete (#1782) 2017-10-13 23:26:13 +02:00
Krish
44b6376f05 Add Preferred Hostname Troubleshooting steps (#1773) 2017-09-29 11:01:45 +02:00
Shahbaz Nazir
1b9dcb9ffa Change Group ID to Project ID for cloud manager config (#1772)
MongoDB cloud manager UI has been updated and they have changed Group ID to Project ID and merged Settings -> Group Settings into one consolidated panel Settings

This PR updates the k8s docs accordingly
2017-09-29 09:56:58 +02:00
krish7919 (Krish)
c211ef156a Address comments 2017-09-28 16:47:50 +02:00
krish7919 (Krish)
cba933a592 Elaborate on 502 gateway error 2017-09-28 16:47:50 +02:00
krish7919 (Krish)
df2bd10430 Add troubleshooting doc 2017-09-28 16:47:50 +02:00
krish7919 (Krish)
751da63e38 Address comments 2017-09-28 15:14:16 +02:00
krish7919 (Krish)
cebea3e1b8 Update image and address comments 2017-09-28 15:14:16 +02:00
krish7919 (Krish)
1761e94840 Adding high level arch description 2017-09-28 15:14:16 +02:00
muawiakh
1e53f13be3 Use config map for storage engine cache size 2017-09-27 14:40:12 +02:00
muawiakh
7abdca205a Adjust resource for MongoDB Stateful Set
- Currently, MongoDB container crashed because of resource constaints i.e.
out of memory exception. This change updates the resources and provides
data on how the configure/calculate them(if not following the guide).
- Also, add the ability to specify the storage engine(WiredTiger) cache
size for MongoDB, this configuration also helps with keeping the resources
constrained for MongoDB containers.
- Minor changes in some other documents as well.
2017-09-27 14:19:31 +02:00
krish7919 (Krish)
a72f971ed2 Documenting the use of ConfigMap and Secret in deployment 2017-09-22 09:59:30 +02:00
krish7919 (Krish)
42b1233834 Doc fixes as per comments 2017-09-13 15:54:09 +02:00
krish7919 (Krish)
197a18e0bb Use Tectonic for Kubernetes 2017-09-13 15:54:09 +02:00
krish7919 (Krish)
5fbc3f4a6c Steps to restore from backup 2017-09-07 11:00:03 +02:00
Krish
2e40ad96f2 Minor fixes to k8s setup (#1735)
* Fix typo in docs

* Minor documentation fixes.

* Update mongodb monitoring agent to latest version.

* Update mongodb backup agent to latest version.

* Bugfix in mongodb backup agent.
2017-08-31 16:57:41 +02:00
Muawia Khan
e446c31a41 More changes to multi-node deployment guide
- Integrating changes suggested by Krish.
- Addressing comments on initial commit.
2017-08-16 13:22:09 +02:00
Muawia Khan
0cf46b331f Verify and fix BDB multi node deployment guide
- Documentation support to add a new BDB node to an existing
  replica set, using x.509 certificates and SSL/TSL connections, across
  geographically dispersed clusters.
- Fix some documentation issues and add more references i.e.
  specifically about signing of MongoDB member certificates.
- Minor fixes for nginx-https-dep.yaml(invalid configMap var)
- Reconfigure nginx keep_alive between MongoDB front and backend ports.
- Editor removed whitespaces
2017-08-16 10:27:17 +02:00
Krish
3ce4a3d0c3 User service token instead of provider key in threescale-credentials kubernetes secret (#1717) 2017-08-09 10:41:51 +02:00
Krish
c2d726d584 Support proper Websocket host and port settings in root API endpoint (#1715)
* Support proper Websocket host and port settings in root API endpoint

* Documentation change
2017-08-09 09:40:41 +02:00
Muawia Khan
64a81b3a2b Fix and invalid command in k8s production deployment guide
- The guide is incorrect and expects and error message in the
nginx with https+3scale integration section:
$ curl -X GET https://<cluster-fqdn>
The above command should not return an error since this workflow is supported.
Updating this to the relevant command that will return the expected response
for sanity checking.
$ curl -X GET http://<cluster-fqdn>:27017
2017-07-25 17:08:55 +02:00
Troy McConaghy
0f0900102b Merge pull request #1671 from bigchaindb/docs/log-analytics-setup-via-gui
Added docs about OMS logging setup via web browser
2017-07-21 17:18:29 +02:00