hyperledger-cacti / cacti

Hyperledger Cacti is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
345 stars 285 forks source link

docs(examples): supplychain microk8s deployment files #872

Open jagpreetsinghsasan opened 3 years ago

jagpreetsinghsasan commented 3 years ago

Description As a contributor/maintainer I want to be able to have an easy way of deploying the supplychain example to a microk8s Kubernetes cluster so that I can see a good example of how projects using Cactus can be operated in a data center environment.

We start with microk8s because that's the default Ubuntu k8s distro and our CI pipeline is built on top of Ubuntu already so this should eliminate a few extra complexities compared to focusing on other k8s distros instead since microk8s could be tested on a Windows computer as well via WSL 2

While working on this issue it is likely that other shortcomings will be unearthed in the code-base, things that could warrant their own user stories/bugs as well and therefore the classification of this issue is "400-expert" because there's no major change in the code, but you'll need to be an expert in a few different things to progress with this.

Acceptance Criteria There's either a Helm chart defined or a KNative file defined and a top level npm script that performs the deployment to a microk8s Kubernetes cluster The process of performing the deployment/testing it out is documented to the extent that it should be workable from the point where someone has an Ubuntu machine fresh out of the oven so to speak. For setting up the k8s cluster itself it's sufficient to reference the documentation of microk8s itself, but the specific addons we need have to be documented of course.

cc: @takeutak @sfuji822 @hartm @jonathan-m-hamilton @AzaharaC @jordigiam @kikoncuo @petermetz @arnab-roy

petermetz commented 2 years ago

Linking the spike issue with the same contents #911