Background
The current agent (src/agents/hyperledger-fabric) can only run Fabric nodes on Docker, and is tightly coupled to docker.sock and cello-net (see node/service.py, chaincode/service.py). Kubernetes only exists as documentation (docs/agents/fabric-operator.md) — there is no implementation.
Goal
Allow an organization's peer/orderer nodes to run in a Kubernetes cluster, so that when api-engine orchestrates them through the existing REST contract it does not need to be aware of whether the backend is Docker or K8s.
Acceptance
On kind / minikube, bring up a peer; api-engine queries its status as RUNNING through the same REST calls, and chaincode install/commit/invoke completes successfully.
Background
The current agent (
src/agents/hyperledger-fabric) can only run Fabric nodes on Docker, and is tightly coupled todocker.sockandcello-net(seenode/service.py,chaincode/service.py). Kubernetes only exists as documentation (docs/agents/fabric-operator.md) — there is no implementation.Goal
Allow an organization's peer/orderer nodes to run in a Kubernetes cluster, so that when
api-engineorchestrates them through the existing REST contract it does not need to be aware of whether the backend is Docker or K8s.Acceptance
On kind / minikube, bring up a peer;
api-enginequeries its status as RUNNING through the same REST calls, and chaincode install/commit/invoke completes successfully.