Why now? Over the course of past few months we’ve seen accelerating interest in Workers, and we frequently field the question on what we are doing to combine our growing ecosystem around Workers, and…
The objective of this post is to implement fabric network on Kubernetes platform.The indent is to explore the architecture behind kubernetes deployment of fabric network using a basic network .
We will deploy one master node , two worker nodes and a NFS server to share network artifacts and chain code data across the nodes.
Keeping it simple we will be deploying the Hyperledger Fabric network consisting of one organization, maintaining one peer node, one orderer with ‘solo’ ordering service. We will create a channel , join peer to the channel , install chaincode on peer and instantiate chaincode on channel. Also invoke transactions against the deployed chaincode.
Installation
Generate the Network Artifacts
Generate the network artifacts using configtx.yaml, crypto-config.yaml.If you intent to modify the network topology, change the configuration files (.yaml files) appropriately.
Copy (or use bind) the files from network artifacts , crypto and chaincode directory to NFS share.
Deployment Model
NameSpace
Services
Deployments
Persistent Volume Claim
Persistent Volume ( NFS)
Start the network
Now lets start the network by running scripts one by one.
Install ChainCode
Instantiate ChainCode
Invoke ChainCode
You would see that the chain code container is getting started inside the docker-dind pod as a sidecar container.
References
The difference between AdWords and AdSense is simple. AdWords helps businesses get new customers by bidding on search queries. AdSense helps businesses monetize their websites. Let’s get look a…
Coming to understand your emotional baggage is the first step in healing it.
kebetulan gua lagi implement JWT menggunakan PassportJS di salah satu projek yang gua kerjakan, jadi daripada hasil researchnya sia — sia mending gua buat jadi tulisan. pertama silahkan buat projek…