Context
- Challenges about deploying a blockchain network
- Components to be deployed
Getting started
Requirements
- Fabric CA client
- YQ binary to replace values in YAML (for the getting started)
- KubeCTL
- Kubernetes 1.15+
- Istio
Download the repository
Install Istio
Installing the operator
Installing the Kubectl HLF Plugin
Deploy a Peer Organization
Deploying a Certificate Authority
Deploying a peer
Deploying an Ordering Service
Deploying a certificate authority
Deploying the Ordering service
Preparing a connection string for the ordering service
Create a channel
Preparing a connection string for the peer
Join channel
Inspect the channel
Add anchor peer
See ledger height
In case of error, you may need to add the following to the org1.yaml configuration file:
You should see something like this:
Install a chaincode
Query chaincodes installed
Approve chaincode
Commit chaincode
Invoke a transaction in the ledger
Query the ledger
At this point, you should have:
- Ordering service with 1 node and a CA
- Peer organization with a peer and a CA
- A channel demo
- A chaincode install in peer0
- A chaincode approved and committed
If something went wrong or didn't work, please, open an issue in the Github repo
Cleanup the environment
Congratulations for completing the tutorial!