bcgov / von-network

A portable development level Indy Node network.
Apache License 2.0
157 stars 185 forks source link

Configure von-network in kubernetes cluster #190

Open mateokurti opened 2 years ago

mateokurti commented 2 years ago

I'm trying to find some guide on configuring the von-network on a k8s cluster. I'm finding it pretty hard to find something concrete, for a real deployment. This is probably not a technical problem, but more like a documentation problem. If someone can guide me at the right direction where can I get more details on how this can be possible.

For now, the quickstart describes the use of manage, which is more than 800 lines bash script. The most close approach is that of OpenShift here, but still I don't think that is what I need.

Any suggestion?

WadeBarnes commented 2 years ago

You should read this first; https://github.com/bcgov/von-network/tree/main/openshift#warning

mateokurti commented 2 years ago

You should read this first; https://github.com/bcgov/von-network/tree/main/openshift#warning

I'm not looking on using OpenShift anyway. Sorry if I wasn't clear. I want to deploy it in Kubernetes, but I can't see it mentioned anywhere.

WadeBarnes commented 2 years ago

It's the static vs dynamic IP:PORT addressing that could be the limiting factor. OpenShift uses Kubernetes under the hood so your limitations are going to be very similar. If you can get around that challenge (and people have, but not with von-network) then you should be somewhat ok. The other challenge is the generation and distribution of the initial genesis files which are used to connect the nodes together initially.

WadeBarnes commented 2 years ago

von-network was designed for ease of use and spinning up a provisional ledger on a single machine or vm.

Here are the typical recommendations:

If you are using the network for development and testing I'd recommend using:

If you're intent on building the network from scratch there are these resources: