Kubernetes chaincode builder
#
ArchitectureIn order to build the chaincode, you have to use an image that has a Kubernetes builder bundled with it.
The following picture illustrates how the Kubernetes builder bundled with the previous images works:
#
Creating peers with external builderTo use the Kubernetes builder, you have to create a peer with the following command:
If the peer is already created, you need to change the following properties:
Add the following item to the externalBuilders
property in the spec
section:
And finally, update the image and version to the following:
#
Install chaincodeInstall chaincode using the Kubernetes builder: