Deployer for Hyperledger Fabric networks onto Kubernetes
Project description
nephos
Library to deploy Hyperledger Fabric projects to a Kubernetes cloud
Prerequisites
This library requires an existing Kubernetes cluster.
For best results, use a real cluster (e.g. on a cloud like AWS, GCP, Azure, IBM Cloud, etc.). However, you may also use Minikube.
Either way, you will need to have the following tools installed:
- python 3.7.0 or above
- kubectl
- helm
Installation
Virtual environment
This library currently only supports Python 3:
python3 -m venv ./venv
source ./venv/bin/activate
Requirements
All requirments are held in the requirements.txt file
pip install -r requirements.txt
Testing
Unit tests
Once you have all requirments installed, all the unit tests should pass:
PYTHONPATH=. pytest --cov=. --cov-report term-missing
Usage
To use nephos, run the deploy.py
executable CLI script.
For instance, you can see available commands/options by running:
./nephos/deploy.py --help
To install a full end-to-end fabric network, you can run:
./nephos/deploy.py -f ./PATH_TO_YOUR_SETTINGS/file.yaml fabric
You can also upgrade a network:
./nephos/deploy.py --upgrade -f ./PATH_TO_YOUR_SETTINGS/file.yaml fabric
Example of development/production networks will be provided in future
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nephos-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7900d9cf14c1ef903927e1ed30d5330969fdcaf6cb11e96d890cc756e311f43a |
|
MD5 | ce15d0cccc0606e102eb1891c4299ee9 |
|
BLAKE2b-256 | ae830c402240752bb1da4518158c0d250f3aa298e0cfe5d8b24768faada70b5f |