Constellation-Labs / tessellation

Monadic execution contexts for topology organization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tessellation

build version

The Constellation Network Node Software, written in Scala, ready for Kubernetes Deployment.

Documentation

Thorough resources are available on the documentation site.

The Constellation Network Primer provides an overview of the Constellation Network.

Dev Setup / Contributing

Quick Start

Run node-clusters from source-code, using a local kubernetes.

Prerequisites

  1. sbt
  2. Docker Desktop with Kubernetes enabled
  3. Skaffold CLI

Starting clusters

# within tesselation root
skaffold dev --trigger=manual

This will start both L0 and L1 clusters on kubernetes using current kube-context.

Initial validators for L0 and L1 have their public ports mapped to local ports 9000 and 9010 respectively.

curl localhost:9000/cluster/info
curl localhost:9010/cluster/info

This will return a list of validators on L0 and L1. By default, both L0 and L1 clusters starts with 3 validators (1 initial and 2 regular).

Scaling a cluster

kubectl scale deployment/l0-validator-deployment --replicas=9

This scales the L0 cluster to 10 validators total: 1 initial and 9 regular.

Going Deeper

The full Validator Node Documentation

License

Apache License 2.0

About

Monadic execution contexts for topology organization

License:Apache License 2.0


Languages

Language:Scala 99.7%Language:Dockerfile 0.2%Language:Nix 0.1%Language:Shell 0.0%