Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Update README.md. (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
libby authored Jul 28, 2020
1 parent d892ba8 commit b8412be
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,16 +208,18 @@ root@4eb772b14086:/qubernetes# ls out/
[![docker-quberentes-boot-3](docs/resources/docker-quberentes-boot-3-play.png)](https://jpmorganchase.github.io/qubernetes/resources/docker-quberentes-boot-3.webm)
### Modifying The Qubernetes Config File
example [qubernetes.yaml](qubernetes.yaml)
example [qubernetes.yaml](qubernetes.yaml) is the simpliest config, and has many defaults set for you, which can be overridden see [More Qubernetes Config Options](#more-qubernetes-config-options)
![qubernetes-yaml-marked](docs/resources/qubernetes-yaml-marked.png)
The most natural thing to modify in your [`qubernetes.yaml`](qubernetes.yaml) is the number of nodes you wish to deploy:
```yaml
# number of nodes to deploy
nodes:
number: 8
number: 5
```
2. Run `./qube-init` to generate everything needed for the quorum deployment: quorum keys, genesis.json, istanbul-config.json, permissioned-nodes.json, etc.
These resources will be written and read from the directories specified in the `qubernetes.yaml` file.
Expand Down Expand Up @@ -295,6 +297,13 @@ $> kubectl apply -f out -f out/deployments
$> kubectl delete -f out -f out/deployments
```
## More Qubernetes Config Options
The directory [examples/config](examples/config) contains various qubernetes config examples, such as adding K8s Ingress, K8s security context, etc.
example [qubes-full.yaml](examples/config/qubes-full.yaml)
![qubes-full-yaml-marked](docs/resources/qubes-full-yaml-marked.png)
## Thanks! And Additional Resources
Thanks to [Maximilian Meister blog and code](https://medium.com/@cryptoctl) which provided an awesome starting point!
and is a good read to understand the different components.
Expand Down
Binary file modified docs/resources/qubernetes-yaml-marked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/resources/qubes-full-yaml-marked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions qubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ quorum:
quorum:
# supported: (raft | istanbul)
consensus: istanbul
Quorum_Version: 2.2.5
Quorum_Version: 2.6.0
tm:
# (tessera|constellation)
Name: tessera
Tm_Version: 0.10.4
Tm_Version: 0.10.4

0 comments on commit b8412be

Please sign in to comment.