Open DazWilkin opened 6 years ago
Here's my fork-not-fork of your repo to tweak the Helm Chart: https://github.com/DazWilkin/ibm-blockchain-network
Blogged about it too: https://medium.com/google-cloud/fabric-on-google-cloud-platform-97525323457c
thanks @DazWilkin.. would you be interested in making a PR to the repository?
Also, we did have the chaincode install/instantiate etc. as part of the helm chart, but it gets difficult to wait until all the components are running before running the install/instantiate. So we had to remove it and only use the helm chart to bring up the network.
Thanks for the prompt and helpful reply @mrshah-at-ibm and thanks for building this Chart!
Yes, I'd be happy to submit a PR.
IBM Container Service appears to include a ReadWriteMany storage class but Kubernetes Engine currently does not. I will check with Kubernetes Engineering on their recommendation. I've used an NFS Service on Kubernetes backed by Google's SSD Persistent Disk and this works well but I'll confirm whether that's the definitive recommendation.
The only other change I made is to the volume
for compose-credentials
. Kubernetes Engine defaults to Container-Optimized OS and this does not permit read-write mounts on "/". I changed this from /compose
to /tmp/composer
(which should work elsewhere).
I'll spent time today|tomorrow working through your broader deployment to see if I can get chaincode deployed too. It's unfortunate that we must use multiple tools to achieve this; a tool to:
@DazWilkin thanks for willing to submit a PR.
You might not want to use /tmp
as it will be removed on the container restart. A lot of users complained about it and hence we moved it to /compose
. You might want to use $HOME
folder instead.
Folks --
Thanks for all the work on this excellent Helm chart to deploy Fabric to Kubernetes.
I was given a link to your site and have been able to provision a Fabric cluster on Kubernetes Engine.
When it completes, the Chart suggests but I assume Composer provides the HTTP/8080 endpoint (!?) and there isn't one for me to hit:
However, the Helm chart deploys only Fabric while this site's documentation references the companion Composer integration.
I would value some pointers on how to deploy Composer too such that it integrates with Fabric.
and: