Skip to content
Nicolas Ochem edited this page Dec 12, 2023 · 5 revisions

Welcome to the teztnets wiki!

Design

  • infrastructure as code with Pulumi: everything can be spun up with code only
  • two nested repos: one private repo to deploy the cluster, node, and infra charts, one open-soure repo to describe the infrastructure externally. See best practices
  • portable:
    • in-cluster nginx rather than Google Application Load Balancer
    • in-cluster management of the teztnets.xyz DNS zone
    • in-cluster cert-manager + letsencrypt rather than Google-provisioned certificates
    • in-cluster monitoring with prometheus operator
    • this allows for an easy move to another cloud provider when requested.
  • chart-centric: most of the infra is siloed in helm charts and defined in yaml files. These yaml files are committed in the repo
    • the most important charts are custom built in tezos-k8s

How to Deploy from Scratch

Runbooks

  • Deploy a new protocol testnet such as Oxfordnet
  • TODO: Stitch alpha to the most recent protocol
  • TODO: Fix Dailynet parameters on deployment failure
  • TODO: Upgrade Ghostnet permanent testnet to new protocol