Is there an official operator or yaml to install Hyperledger Fabric on Kubernetes?
I have seen this: https://hyperledger-fabric.readthedocs.io/en/release-2.2/deployment_guide_overview.html#dg-create-a-peer
Related
I have configured my hyperledger fabric network using the ibm operator, at this moment I have my kubeternes cluster that is running in eks ready and I am trying to associate an identity, but when trying to do so it shows me the following message: the certificate could not be generated
Doing some validations and searching the pod logs I can't find any additional information. The version of hyperledger installed is 1.5.5-1
IBM Blockchain Platform V1 has(had) a nice API to interact with the blockchain itself. Here is the link to the swagger: https://ibp-sp.eu-gb.ibm-blockchain-5-prod.cloud.ibm.com/api-docs/
Among others, we could install and instantiate chaincodes (thus, we could have some kind of automation for chaincode deployment).
However, based on this documentation for IBM Blockchain Platform V2, there is not API to install/instantiate chaincode. We can only manage the network.
So my questions are:
Is it not possible to manage chaincodes via API with IBP2?
If it is possible, where is the documentation?
If it is not possible, why has it been removed and it it planed to be added in the future?
It is possible to manage chaincodes via API in IBP2.
According to the documentation that you posted above, there is a big yellow block that says Important: Also, you can use the Fabric Node SDK or peer CLI commands to install and instantiate smart contracts.
This means that you can use the Hyperledger Fabric APIs to install / instantiate your chaincode.
For example, one of my peers that is running in IBM Blockchain platform has the following URL, according to the connection profile:
grpcs://cd8945b468274f94b24b0dce0b0d6583-peer443d9f.horea-blockchainbean2-ap.sjc03.containers.appdomain.cloud:7051
Thus, to install a chaincode on this peer, we would do the following command:
CORE_PEER_ADDRESS=grpcs://cd8945b468274f94b24b0dce0b0d6583-peer443d9f.horea-blockchainbean2-ap.sjc03.containers.appdomain.cloud:7051 peer chaincode install -n mycc -p github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -v v0
Note that we have to do this command from inside the CLI container. So before we run this command we would have to do docker exec -it cli bash. You can see the documentation here
i have done a PoC of hyperledger fabric for KYC now it's time for deployment.I have been through several tutorial for the deployment of hlf project.What i found is to deploy on amazon using instances.Hyperledger being a decentralised app how can it be deployed to a centralised server in this case Amazon cloud.Where should i supposed to Deploy my project in order to make it fully decentralised.
I am trying to deploy a business network archive (.bna) file to an existing hyperledger fabric network. I have started the network using the fabric samples/first-network as a hyperledger network by following the guide http://hyperledger-fabric.readthedocs.io/en/release/build_network.html. But I dont have any clue to import the .bna into the hyperledger network.
Any help would be appreciated.
If you are using v1.0.x of fabric you will need Composer v0.16.x and you can go through this tutorial to understand the steps though your experience will be a little different as you have your own Fabric already running.
If you are using fabric v1.1.0-alpha then you will need Composer v0.17.6 and an updated tutorial.
You don't say if you have created the .bna file from the Playground or from the CLI. If you have created from the Playground then you will need to install the Composer CLI to follow the tutorial commands. The CLI install information can be found here for v0.16.x or here for v0.17.6.
Instead of having to introduce a container registry (Azure Container Registry or another), is it possible to use the Service Fabric image store to host container images and then reference them from the Service Fabric container project's ServiceManifest inside <ContainerHost><ImageName>...? Documentation on both Service Fabric containers and the image store is limited.
No, that is not possible. Container images are not similar to Application packages.