HLF-k8s is a network of Hyperledger Fabric orderers and peers forming a permissioned blockchain.
It is part of the Substra project.
- kubernetes v1.16
- kubectl v1.18
- helm v3
Use skaffold v1.20+.
To start hlf-k8s, run:
skaffold run
This will deploy hlf-k8s with:
- 1 orderer
MyOrderer
- 2 organizations:
MyOrg1
andMyOrg2
To deploy locally a specific version of hlf-k8s, the recommended way is the following:
SUBSTRA_HLF_VERSION=0.0.16
git checkout $SUBSTRA_HLF_VERSION
skaffold deploy --images substrafoundation/fabric-tools:$SUBSTRA_HLF_VERSION --images substrafoundation/fabric-peer:$SUBSTRA_HLF_VERSION
By default, the skaffold run
command will start a network using the default substra-chaincode image.
To use a custom chaincode locally, you need to build and replace the chaincodes.image
fields to use your local image of substra-chaincode.
You can check how to do it in the helm chart documentation in the Test hlf-k8s with your own chaincode
section
Please refer to the helm chart documentation.
This project is developed under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file.