hyperledger on kubernetes - how can kubernetes be aware of chaincode container hyperledger on kubernetes - how can kubernetes be aware of chaincode container kubernetes kubernetes

hyperledger on kubernetes - how can kubernetes be aware of chaincode container


I have been investigating the same issue you are having. One alternative to using the docker daemon on your kubernetes node is spinning up a new container in your Pod using DnD (Docker in docker) technique. In this way you can successfully instantiate the chaincode container in a natural way (you will be able to use KubeDNS for example) as it will be sharing the same network space as the kubernetes Pod. I couldn't find any tutorial on the internet showing the implementation of this theory but if you find one (or do it yourself) please share it on this thread.

Thank you

Reference:https://medium.com/kokster/simpler-setup-for-hyperledger-fabric-on-kubernetes-using-docker-in-docker-8346f70fbe80