Currently, the Fabric system consists of components running in multiple containers, which will be a challenge to maintain all those containers, thus I want to use some powerful containers management platform such as Kubernetes, to deploy Fabric.
Could anybody help ?
Properly configuring and deploying Hyperledger Fabric components to Kubernetes is not trivial. And also is only one part of the puzzle. Populating the Fabric network regarding channels
and chaincodes
is also as important as launching the Fabric network. In my opinion, this second part is highly overlooked.
This GitHub repository called Hyperledger Fabric meets Kubernetes contains a couple of Helm charts to:
Tested against Fabric versions 1.4.1 to 1.4.4 and just works fine.
PS: I'm the author of these Helm charts. As mentioned in our repo, we had implemented these Helm charts for our project's needs, and as the results looks very promising, decided to share the source code with the HL Fabric community. Hopefully it will fill a large gap!
I can confirm, we are using the very same Helm charts in all our environments and CI/CD pipelines since May 2019 without any issues, and will go to production in early 2020.
If you want to deploy Fabric on pure kubernetes environment, this could be help https://medium.com/@zhanghenry/how-to-deploy-hyperledger-fabric-on-kubernetes-1-a2ceb3ada078