/tessellation

Monadic execution contexts for topology organization

Primary LanguageScala

tessellation

build version

Running L0 & L1 in Kubernetes

Prerequisites

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

Starting clusters

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.