26 Commits

Author SHA1 Message Date
Shahbaz Nazir
0a8bf89bc6 Add workflow to retain Azure storage disks on PVC or PV delete (#1782) 2017-10-13 23:26:13 +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
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
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
Muawia Khan
b56f8a6213 Update guide to setup bdb+kubernetes+azure setup
-- Fixed typos in the guide
-- Fixed some syntax errors in commandline instructions
-- Fixed strucuture of sample jsons
-- Fixed bugs in nginx-https-dep file, it was trying to access
an invalid variable in the configmap.
-- Improved some docs to give more clarity for the user.
Atleast all the issues I faced. :)
2017-07-21 15:01:20 +02:00
Krish
4c8b0fc828 Healthchecks for NGINX in nginx-http-dep.yaml and dev-setup/nginx-http.yaml (#1679) 2017-07-17 18:59:11 +02:00
Krish
e0efc2286a Simpler MongoDB Instance Configuration in K8s (#1678)
* Simpler configuration of MongoDB instance in a node

* Update docs for MDB configuration
2017-07-17 17:57:13 +02:00
Krish
9116836e4c Simpler BigchainDB Instance Configuration in K8s (#1677)
* Simpler configuration of BigchainDB instance in a node

* Update docs for BDB configuration

* Changes as per @ttmc's comments
2017-07-17 17:29:51 +02:00
Krish
c640313003 Remove 3scale port number from configs (#1676)
* Remove 'threescale-api-port' from all configs in node setup

* Update docs - remove references to threescale-api-port

* Fix typo
2017-07-17 14:46:06 +02:00
Krish
b7e13fd087 Secure WebSocket Support (#1619)
* Remove support for whitelist

* Rename nginx to nginx-api

* Remove websocket support from nginx-api

* Change nginx to nginx-api service
The nginx-api service will proxy requests to the BigchainDB HTTP API.

* Rename ngx-instance-0 to ngx-api-instance-0 in nginx_3scale

* Update nginx-api service base docker image and README

* Add nginx-ws service to support Websocket

* Add config files for simple dev setup

* WS support with split NGINX

* NGINX module as single entrypoint into the cluster.

* Tested HTTP and WS with latest configs

* Openresty as separate service

* Remove upstream api port as configuration parameter

* Changes while testing

* Adding READMEs for nginx-http and nginx-https modules

* Documentation update

* Change 'Openresty' to 'OpenResty'.
2017-07-17 13:46:05 +02:00
Troy McConaghy
07b5e0e5da Formatted & copy-edited steps 16-17.2 2017-07-02 11:23:40 +02:00
Troy McConaghy
97acc4f216 Updated docs re BDB k8s deployment 2017-06-30 15:00:34 +02:00
Krish
dea77d32a5 Add documentation on exposed ports in k8s/nginx (#1610)
* Add documentation on exposed ports in k8s/nginx

* Clarity on port and targetPort parameters
2017-06-30 13:37:41 +02:00
Troy McConaghy
69cdfd56cf Added note about what to expect from MongoDB's db.auth() command 2017-06-29 17:02:23 +02:00
Troy McConaghy
6b6bfe1733 Explained how to log in to the MongoDB pod 2017-06-29 16:39:01 +02:00
Troy McConaghy
92ec8f613e Fixed spelling & grammar stuff in docs re MDB StatefulSet 2017-06-29 16:02:34 +02:00
Troy McConaghy
a72bf56089 copyedited docs re assigning DNS name to NGINX public IP 2017-06-29 15:09:27 +02:00
Troy McConaghy
d3924213ee edits in nginx-3scale service docs 2017-06-29 14:35:23 +02:00
Krish
9ceea89537 Enable Auth over TLS connections (#1552)
* Changes to support auth on the infrastructure
* Auth over TLS/SSL support in BigchainDB, MongoDB, Monitoring Agent, Backup Agent
* Update certificates: Different OUs specified now
* Code formatting
- Make flake happy!
* Raise proper authentication failed error
* Documentation changes for auth
* Support auth in k8s deployment
* Commit certs for monitoring and backup agents
* Configuration to allow Cloud Manager Backup Agent to backup data
* Update docs and remove authentication error
2017-06-22 16:32:04 +02:00
Troy McConaghy
945ed81038 Responses to review comments from @krish7919 on #1526 2017-06-09 14:32:39 +02:00
Troy McConaghy
1d4a6e470c Copy-edited some docs 2017-06-08 17:36:41 +02:00
Troy McConaghy
b6f7e6307a Redid PR #1493 2017-06-07 16:45:42 +02:00